mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Add missing strings form public room dialog to translation files
This commit is contained in:
parent
efec6eaa1a
commit
5625bf6f93
6 changed files with 18 additions and 10 deletions
|
@ -267,13 +267,13 @@
|
||||||
<input type="text" class="textarea center" aria-label="room-id-char-4" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
<input type="text" class="textarea center" aria-label="room-id-char-4" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
||||||
<input type="text" class="textarea center" aria-label="room-id-char-5" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
<input type="text" class="textarea center" aria-label="room-id-char-5" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
||||||
</div>
|
</div>
|
||||||
<p class="font-subheading center text-center">Enter room id from another device to join.</p>
|
<p class="font-subheading center text-center" data-i18n-key="dialogs.enter-room-id-from-another-device" data-i18n-attrs="text">Enter room id from another device to join room.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="center row-reverse button-row">
|
<div class="center row-reverse button-row">
|
||||||
<button class="button" type="submit" disabled>Join</button>
|
<button class="button" type="submit" data-i18n-key="dialogs.join" data-i18n-attrs="text" disabled>Join</button>
|
||||||
<button class="button" type="button" close>Close</button>
|
<button class="button" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close>Close</button>
|
||||||
<button class="button leave-room" type="button">Leave</button>
|
<button class="button leave-room" type="button" data-i18n-key="dialogs.leave" data-i18n-attrs="text">Leave</button>
|
||||||
</div>
|
</div>
|
||||||
</x-paper>
|
</x-paper>
|
||||||
</x-background>
|
</x-background>
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
"scan-qr-code": "or scan the QR-code.",
|
"scan-qr-code": "or scan the QR-code.",
|
||||||
"enter-key-from-another-device": "Enter key from another device here.",
|
"enter-key-from-another-device": "Enter key from another device here.",
|
||||||
"input-room-id-on-another-device": "Input this room id on another device",
|
"input-room-id-on-another-device": "Input this room id on another device",
|
||||||
|
"enter-room-id-from-another-device": "Enter room id from another device to join room.",
|
||||||
"hr-or": "OR",
|
"hr-or": "OR",
|
||||||
"pair": "Pair",
|
"pair": "Pair",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
|
@ -58,6 +59,8 @@
|
||||||
"auto-accept": "auto-accept",
|
"auto-accept": "auto-accept",
|
||||||
"auto-accept-instructions-2": "to automatically accept all files sent from that device.",
|
"auto-accept-instructions-2": "to automatically accept all files sent from that device.",
|
||||||
"close": "Close",
|
"close": "Close",
|
||||||
|
"join": "Join",
|
||||||
|
"leave": "Leave",
|
||||||
"would-like-to-share": "would like to share",
|
"would-like-to-share": "would like to share",
|
||||||
"accept": "Accept",
|
"accept": "Accept",
|
||||||
"decline": "Decline",
|
"decline": "Decline",
|
||||||
|
|
|
@ -127,7 +127,8 @@ class Localization {
|
||||||
if (!useDefault) {
|
if (!useDefault) {
|
||||||
translation = this.getTranslation(key, attr, data, true);
|
translation = this.getTranslation(key, attr, data, true);
|
||||||
console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr);
|
console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr);
|
||||||
console.warn("Help translating PairDrop: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/");
|
console.warn(`Translate this string here: https://hosted.weblate.org/browse/pairdrop/pairdrop-spa/${Localization.locale.toLowerCase()}/?q=${key}`)
|
||||||
|
console.log("Help translating PairDrop: https://hosted.weblate.org/engage/pairdrop/");
|
||||||
} else {
|
} else {
|
||||||
console.warn("Missing translation in default language:", key, attr);
|
console.warn("Missing translation in default language:", key, attr);
|
||||||
}
|
}
|
||||||
|
|
|
@ -272,13 +272,13 @@
|
||||||
<input type="text" class="textarea center" aria-label="room-id-char-4" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
<input type="text" class="textarea center" aria-label="room-id-char-4" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
||||||
<input type="text" class="textarea center" aria-label="room-id-char-5" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
<input type="text" class="textarea center" aria-label="room-id-char-5" maxlength="1" autocorrect="off" autocomplete="off" autocapitalize="none" spellcheck="false" contenteditable placeholder="" disabled>
|
||||||
</div>
|
</div>
|
||||||
<p class="font-subheading center text-center">Enter room id from another device to join.</p>
|
<p class="font-subheading center text-center" data-i18n-key="dialogs.enter-room-id-from-another-device" data-i18n-attrs="text">Enter room id from another device to join room.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="center row-reverse button-row">
|
<div class="center row-reverse button-row">
|
||||||
<button class="button" type="submit" disabled>Join</button>
|
<button class="button" type="submit" data-i18n-key="dialogs.join" data-i18n-attrs="text" disabled>Join</button>
|
||||||
<button class="button" type="button" close>Close</button>
|
<button class="button" type="button" data-i18n-key="dialogs.close" data-i18n-attrs="text" close>Close</button>
|
||||||
<button class="button leave-room" type="button">Leave</button>
|
<button class="button leave-room" type="button" data-i18n-key="dialogs.leave" data-i18n-attrs="text">Leave</button>
|
||||||
</div>
|
</div>
|
||||||
</x-paper>
|
</x-paper>
|
||||||
</x-background>
|
</x-background>
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
"scan-qr-code": "or scan the QR-code.",
|
"scan-qr-code": "or scan the QR-code.",
|
||||||
"enter-key-from-another-device": "Enter key from another device here.",
|
"enter-key-from-another-device": "Enter key from another device here.",
|
||||||
"input-room-id-on-another-device": "Input this room id on another device",
|
"input-room-id-on-another-device": "Input this room id on another device",
|
||||||
|
"enter-room-id-from-another-device": "Enter room id from another device to join room.",
|
||||||
"hr-or": "OR",
|
"hr-or": "OR",
|
||||||
"pair": "Pair",
|
"pair": "Pair",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
|
@ -58,6 +59,8 @@
|
||||||
"auto-accept": "auto-accept",
|
"auto-accept": "auto-accept",
|
||||||
"auto-accept-instructions-2": "to automatically accept all files sent from that device.",
|
"auto-accept-instructions-2": "to automatically accept all files sent from that device.",
|
||||||
"close": "Close",
|
"close": "Close",
|
||||||
|
"join": "Join",
|
||||||
|
"leave": "Leave",
|
||||||
"would-like-to-share": "would like to share",
|
"would-like-to-share": "would like to share",
|
||||||
"accept": "Accept",
|
"accept": "Accept",
|
||||||
"decline": "Decline",
|
"decline": "Decline",
|
||||||
|
|
|
@ -127,7 +127,8 @@ class Localization {
|
||||||
if (!useDefault) {
|
if (!useDefault) {
|
||||||
translation = this.getTranslation(key, attr, data, true);
|
translation = this.getTranslation(key, attr, data, true);
|
||||||
console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr);
|
console.warn(`Missing translation entry for your language ${Localization.locale.toUpperCase()}. Using ${Localization.defaultLocale.toUpperCase()} instead.`, key, attr);
|
||||||
console.warn("Help translating PairDrop: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/");
|
console.warn(`Translate this string here: https://hosted.weblate.org/browse/pairdrop/pairdrop-spa/${Localization.locale.toLowerCase()}/?q=${key}`)
|
||||||
|
console.log("Help translating PairDrop: https://hosted.weblate.org/engage/pairdrop/");
|
||||||
} else {
|
} else {
|
||||||
console.warn("Missing translation in default language:", key, attr);
|
console.warn("Missing translation in default language:", key, attr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue