Skip to content

Commit

Permalink
not using Builtins.sformat
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Mar 6, 2020
1 parent e6bcc3e commit c921b99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/clients/ntp-client_proposal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ def ui_init(rp, first_time)
text << "\n"
end
if NtpClient.GetUsedNtpServers.size > 3
# TRANSLATOR %1 number of additional servers
text << Builtins.sformat(_("... (%1 more servers)"),
NtpClient.GetUsedNtpServers.size - counter)
# TRANSLATOR %{count} number of additional servers
text << format(_("... (%{count} more servers)"),
count: (NtpClient.GetUsedNtpServers.size - counter))
end
ntp_server_widget = Label(text)
end
Expand Down

0 comments on commit c921b99

Please sign in to comment.