mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +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({
|
var settings_toggle = components.toggle({
|
||||||
name: "settings-toggle",
|
name: "settings-toggle",
|
||||||
values: [
|
values: [
|
||||||
{ label: "Settings", key: "settings" },
|
{ label: i18n.t("Settings"), key: "settings" },
|
||||||
{ label: "Organization", key: "organization" },
|
{ label: i18n.t("Organization"), key: "organization" },
|
||||||
],
|
],
|
||||||
callback: function (name, key) {
|
callback: function (name, key) {
|
||||||
$(".sidebar li").hide();
|
$(".sidebar li").hide();
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ var exports = {};
|
|||||||
name: String toggle_name,
|
name: String toggle_name,
|
||||||
selected: Integer selected_index,
|
selected: Integer selected_index,
|
||||||
values: Array<Object> [
|
values: Array<Object> [
|
||||||
{ label: String title }
|
{ label: i18n.t(String title) }
|
||||||
],
|
],
|
||||||
callback: function () {
|
callback: function () {
|
||||||
// .. on value change.
|
// .. on value change.
|
||||||
|
|||||||
@@ -123,9 +123,9 @@ $(document).ready(function () {
|
|||||||
name: "info-overlay-toggle",
|
name: "info-overlay-toggle",
|
||||||
selected: 0,
|
selected: 0,
|
||||||
values: [
|
values: [
|
||||||
{ label: "Keyboard shortcuts", key: "keyboard-shortcuts" },
|
{ label: i18n.t("Keyboard shortcuts"), key: "keyboard-shortcuts" },
|
||||||
{ label: "Message formatting", key: "markdown-help" },
|
{ label: i18n.t("Message formatting"), key: "markdown-help" },
|
||||||
{ label: "Search operators", key: "search-operators" },
|
{ label: i18n.t("Search operators"), key: "search-operators" },
|
||||||
],
|
],
|
||||||
callback: function (name, key) {
|
callback: function (name, key) {
|
||||||
$(".overlay-modal").hide();
|
$(".overlay-modal").hide();
|
||||||
|
|||||||
@@ -241,6 +241,6 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user