We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfff9b7 commit 0e621aeCopy full SHA for 0e621ae
javascript/localization.js
@@ -81,9 +81,12 @@ function refresh_style_localization() {
81
}
82
83
function refresh_aspect_ratios_label(value) {
84
- label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]')
85
- translation = getTranslation("Aspect Ratios")
86
- label.textContent = translation + " " + htmlDecode(value)
+ label = document.querySelector('#aspect_ratios_accordion div span[data-original-text="Aspect Ratios"]');
+ translation = getTranslation("Aspect Ratios");
+ if (typeof translation == "undefined") {
87
+ translation = "Aspect Ratios";
88
+ }
89
+ label.textContent = translation + " " + htmlDecode(value);
90
91
92
function localizeWholePage() {
0 commit comments