Fall back to untranslated string rather than showing missing translation error (#8609)

This commit is contained in:
James Salter 2022-05-16 13:28:24 +01:00 committed by GitHub
parent fb30b67b14
commit fcc4d62ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 10 deletions

View file

@ -32,7 +32,7 @@ exports[`KeyboardShortcut doesn't render same modifier twice 1`] = `
>
<kbd>
missing translation: en|Ctrl
Ctrl
</kbd>
+
@ -70,7 +70,7 @@ exports[`KeyboardShortcut doesn't render same modifier twice 2`] = `
>
<kbd>
missing translation: en|Ctrl
Ctrl
</kbd>
+
@ -95,7 +95,7 @@ exports[`KeyboardShortcut renders alternative key name 1`] = `
>
<kbd>
missing translation: en|Page Down
Page Down
</kbd>
+

View file

@ -8,7 +8,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
<div
className="mx_SettingsTab_heading"
>
missing translation: en|Keyboard
Keyboard
</div>
<KeyboardShortcutSection
category={
@ -30,7 +30,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
<div
className="mx_SettingsTab_subheading"
>
missing translation: en|Composer
Composer
</div>
<div>
@ -59,7 +59,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
>
<kbd>
missing translation: en|Ctrl
Ctrl
</kbd>
+
@ -103,7 +103,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
>
<kbd>
missing translation: en|Ctrl
Ctrl
</kbd>
+
@ -145,7 +145,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
<div
className="mx_SettingsTab_subheading"
>
missing translation: en|Navigation
Navigation
</div>
<div>
@ -173,7 +173,7 @@ exports[`KeyboardUserSettingsTab renders list of keyboard shortcuts 1`] = `
>
<kbd>
missing translation: en|Enter
Enter
</kbd>
</KeyboardKey>