Skip to content

Commit 9264811

Browse files
authored
Remove translation to issue add time because the format is fixed should not be translated (#32850)
The input content should always be `1h 2m 3s` and will be the same on different UI languages. So the translation is wrong.
1 parent d1c1e3c commit 9264811

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

options/locale/locale_en-US.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,6 @@ issues.timetracker_timer_stop = Stop timer
16801680
issues.timetracker_timer_discard = Discard timer
16811681
issues.timetracker_timer_manually_add = Add Time
16821682
1683-
issues.time_estimate_placeholder = 1h 2m
16841683
issues.time_estimate_set = Set estimated time
16851684
issues.time_estimate_display = Estimate: %s
16861685
issues.change_time_estimate_at = changed time estimate to <b>%s</b> %s

templates/repo/issue/sidebar/stopwatch_timetracker.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<form method="post" class="ui form form-fetch-action" action="{{.Issue.Link}}/time_estimate">
4545
<div class="content">
4646
{{$.CsrfTokenHtml}}
47-
<input name="time_estimate" placeholder="{{ctx.Locale.Tr "repo.issues.time_estimate_placeholder"}}" value="{{TimeEstimateString .Issue.TimeEstimate}}">
47+
<input name="time_estimate" placeholder="1h 2m" value="{{TimeEstimateString .Issue.TimeEstimate}}">
4848
<div class="actions">
4949
<button class="ui cancel button">{{ctx.Locale.Tr "cancel"}}</button>
5050
<button class="ui primary button">{{ctx.Locale.Tr "repo.issues.save"}}</button>

0 commit comments

Comments
 (0)