mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
i18n: Fix a smattering of strings that weren't getting translated.
These are some strings I spotted in English when playing around a bit with the UI set to German, where our translations are near complete. It'd be great to have a more systematic way of spotting this kind of omission. Probably a fairly simple linter could catch a lot of cases.
This commit is contained in:
@@ -665,8 +665,8 @@ $(function () {
|
||||
var settings_toggle = components.toggle({
|
||||
name: "settings-toggle",
|
||||
values: [
|
||||
{ label: "Settings", key: "settings" },
|
||||
{ label: "Organization", key: "organization" },
|
||||
{ label: i18n.t("Settings"), key: "settings" },
|
||||
{ label: i18n.t("Organization"), key: "organization" },
|
||||
],
|
||||
callback: function (name, key) {
|
||||
$(".sidebar li").hide();
|
||||
|
||||
@@ -7,7 +7,7 @@ var exports = {};
|
||||
name: String toggle_name,
|
||||
selected: Integer selected_index,
|
||||
values: Array<Object> [
|
||||
{ label: String title }
|
||||
{ label: i18n.t(String title) }
|
||||
],
|
||||
callback: function () {
|
||||
// .. on value change.
|
||||
|
||||
@@ -123,9 +123,9 @@ $(document).ready(function () {
|
||||
name: "info-overlay-toggle",
|
||||
selected: 0,
|
||||
values: [
|
||||
{ label: "Keyboard shortcuts", key: "keyboard-shortcuts" },
|
||||
{ label: "Message formatting", key: "markdown-help" },
|
||||
{ label: "Search operators", key: "search-operators" },
|
||||
{ label: i18n.t("Keyboard shortcuts"), key: "keyboard-shortcuts" },
|
||||
{ label: i18n.t("Message formatting"), key: "markdown-help" },
|
||||
{ label: i18n.t("Search operators"), key: "search-operators" },
|
||||
],
|
||||
callback: function (name, key) {
|
||||
$(".overlay-modal").hide();
|
||||
|
||||
@@ -241,6 +241,6 @@
|
||||
</table>
|
||||
</div>
|
||||
<hr/>
|
||||
<a href="/help/keyboard-shortcuts" target="_blank">Detailed keyboard shortcuts documentation</a>
|
||||
<a href="/help/keyboard-shortcuts" target="_blank">{% trans %}Detailed keyboard shortcuts documentation{% endtrans %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user