Skip to content

Commit

Permalink
unify translation keys & translations for saving changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemoehre committed Oct 16, 2024
1 parent 2564902 commit 111f837
Show file tree
Hide file tree
Showing 85 changed files with 85 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,6 @@ <h2 class="sectionTitle">
</div>

<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ <h2 class="sectionTitle">${HeaderLibraryFolders}</h2>
</div>

<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
3 changes: 1 addition & 2 deletions src/components/metadataEditor/metadataEditor.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3 class="formDialogHeaderTitle">
<div class="dialogHeader flex align-items-center justify-content-center">
<button is="emby-button" type="button" class="btnHeaderSave button-accent-flat button-flat hide" tabindex="-1">
<span class="material-icons check" aria-hidden="true"></span>
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
<button is="paper-icon-button-light" class="btnMore autoSize" tabindex="-1" title="${ButtonMore}">
<span class="material-icons more_vert" aria-hidden="true"></span>
Expand Down Expand Up @@ -275,4 +275,3 @@ <h2>${HeaderMetadataSettings}</h2>
</div>
</form>
</div>

2 changes: 1 addition & 1 deletion src/components/metadataEditor/personEditor.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3 class="formDialogHeaderTitle">

<div class="formDialogFooter">
<button is="emby-button" type="submit" class="raised button-submit block formDialogFooterItem">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,6 @@ <h2 class="sectionTitle">
</div>

<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h3 class="formDialogHeaderTitle">

<div class="formDialogFooter">
<button is="emby-button" type="submit" class="raised btnSubmit block formDialogFooterItem button-submit hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
<button is="emby-button" type="button" class="raised btnCancelRecording block formDialogFooterItem button-cancel" style="white-space:nowrap;">
<span>${HeaderCancelRecording}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ <h3 class="formDialogHeaderTitle">

<div class="formDialogFooter">
<button is="emby-button" type="submit" class="raised btnSubmit block formDialogFooterItem button-submit hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
<button is="emby-button" type="button" class="raised btnCancelRecording block formDialogFooterItem button-cancel" style="white-space: nowrap;">
<span>${HeaderCancelRecording}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ <h2 class="sectionTitle">
</div>

<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
4 changes: 2 additions & 2 deletions src/components/tvproviders/schedulesdirect.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3 style="margin:0 0 0 .5em;">
<input is="emby-input" class="txtPass" label="${LabelPassword}" required="required" autocomplete="off" type="password" />
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${SaveChanges}</span></button>
</div>
</div>
</form>
Expand Down Expand Up @@ -65,7 +65,7 @@ <h3 class="checkboxListLabel">${HeaderTuners}</h3>
</div>
<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block btnSubmitListingsContainer btnSubmitListings hide"><span>${Save}</span></button>
<button is="emby-button" type="submit" class="raised button-submit block btnSubmitListingsContainer btnSubmitListings hide"><span>${SaveChanges}</span></button>
<button is="emby-button" type="button" class="raised button-cancel block btnCancel hide" onclick="history.back();"><span>${ButtonCancel}</span></button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/tvproviders/xmltv.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h3 class="checkboxListLabel">${HeaderTuners}</h3>
</div>
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block btnSubmitListings hide"><span>${Save}</span></button>
<button is="emby-button" type="submit" class="raised button-submit block btnSubmitListings hide"><span>${SaveChanges}</span></button>
<button is="emby-button" type="button" class="raised button-cancel block btnCancel hide" onclick="history.back();"><span>${ButtonCancel}</span></button>
</div>
</form>
2 changes: 1 addition & 1 deletion src/controllers/dashboard/devices/device.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2 class="sectionTitle reportedName"></h2>
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/encodingsettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ <h3 class="checkboxListLabel">${LabelEncodingFormatOptions}</h3>

<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/general.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h2>${HeaderPerformance}</h2>
<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/librarydisplay.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<br/>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 class="sectionTitle">${TabLogs}</h2>
<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/metadataimages.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2>${HeaderDummyChapter}</h2>

<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${SaveChanges}</span></button>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/metadatanfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</label>
<div class="fieldDescription checkboxFieldDescription">${LabelKodiMetadataEnableExtraThumbsHelp}</div>
</div>
<div><button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button></div>
<div><button is="emby-button" type="submit" class="raised button-submit block"><span>${SaveChanges}</span></button></div>
</form>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/networking.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ <h2 class="sectionTitle">${TabNetworking}</h2>
</div>
<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/playback.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h2 class="sectionTitle">${ButtonResume}</h2>
${LabelMinResumeDurationHelp}
</div>
</div>
<div><button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button></div>
<div><button is="emby-button" type="submit" class="raised button-submit block"><span>${SaveChanges}</span></button></div>
</form>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/dashboard/streaming.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="sectionTitle">${TabStreaming}</h2>
</div>
</div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/livetvsettings.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2 class="sectionTitle">${HeaderRecordingMetadataSaving}</h2>
</div>
<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${Save}</span></button>
<button is="emby-button" type="submit" class="raised button-submit block"><span>${SaveChanges}</span></button>
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/livetvtuner.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="sectionTitle">${HeaderLiveTvTunerSetup}</h1>
<input type="hidden" class="fldDeviceId" />
<div>
<button is="emby-button" type="submit" class="raised button-submit block">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
<button is="emby-button" type="button" class="raised button-cancel block btnCancel" onclick="history.back();">
<span>${ButtonCancel}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/playback/queue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ <h2 class="nowPlayingPageTitle"></h2>
<button id="togglePlaylist" is="paper-icon-button-light" class="btnTogglePlaylist hide" title="${ButtonTogglePlaylist}">
<span class="material-icons queue_music" aria-hidden="true"></span>
</button>
<button is="paper-icon-button-light" class="btnSavePlaylist hide" title="${Save}">
<button is="paper-icon-button-light" class="btnSavePlaylist hide" title="${SaveChanges}">
<span class="material-icons save" aria-hidden="true"></span>
</button>
<button id="toggleContextMenu" is="paper-icon-button-light" class="btnToggleContextMenu" title="${ButtonMore}">
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/user/controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2 class="sectionTitle">
</div>

<button is="emby-button" type="submit" class="raised button-submit block btnSave hide">
<span>${Save}</span>
<span>${SaveChanges}</span>
</button>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/syncPlay/ui/settings/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h2 class="sectionTitle">${HeaderSyncPlayTimeSyncSettings}</h2>

<div class="formDialogFooter" id="footer">
<button is="emby-button" type="submit" class="raised button-submit block btnSave formDialogFooterItem">
<span id="saveButtonText">${Save}</span>
<span id="saveButtonText">${SaveChanges}</span>
</button>
</div>
</div>
Expand Down
3 changes: 1 addition & 2 deletions src/strings/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@
"RememberMe": "تذكرنى",
"Rewind": "الترجيع",
"Saturday": "السبت",
"Save": "حفظ",
"SaveChanges": "حفظ",
"SendMessage": "إرسال رسالة",
"Series": "المسلسل",
"ServerUpdateNeeded": "خادم Jellyfin بحاجة إلى التحديث. لإنزال أحدث إصدار Jellyfin، الرجاء زيارة {0}",
Expand Down Expand Up @@ -1400,7 +1400,6 @@
"ScanForNewAndUpdatedFiles": "ابحث عن الملفات الجديدة والمحدثة",
"SaveSubtitlesIntoMediaFoldersHelp": "سيسمح تخزين الترجمات بجوار ملفات الفيديو بإدارتها بسهولة أكثر.",
"SaveSubtitlesIntoMediaFolders": "حفظ الترجمة في مجلدات الوسائط",
"SaveChanges": "احفظ التغييرات",
"Runtime": "مدة العرض",
"Restart": "أعاد التشغيل",
"ResetPassword": "إعادة تعيين كلمة المرور",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/be-by.json
Original file line number Diff line number Diff line change
Expand Up @@ -1258,8 +1258,7 @@
"ReplaceAllMetadata": "Замяніць усе метададзеныя",
"PleaseRestartServerName": "Перазапусціце Jellyfin на {0}.",
"ResetPassword": "Скінуць пароль",
"Save": "Захаваць",
"SaveChanges": "Захавайце змены",
"SaveChanges": "Захаваць",
"PreferEmbeddedEpisodeInfosOverFileNamesHelp": "Выкарыстоўвайце інфармацыю аб серыі з убудаваных метаданых, калі яны ёсць.",
"SaveSubtitlesIntoMediaFolders": "Захаваць субтытры ў папках мультымедыя",
"AllowEmbeddedSubtitlesAllowAllOption": "Дазволіць усе",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/bg-bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@
"Rewind": "Превъртане назад",
"Runtime": "Времетраене",
"Saturday": "Събота",
"Save": "Запазване",
"SaveChanges": "Запазване",
"ScanLibrary": "Сканиране на библиотеката",
"Schedule": "Разписание",
"Screenshot": "Снимка на екрана",
Expand Down Expand Up @@ -1205,7 +1205,6 @@
"ScanForNewAndUpdatedFiles": "Сканирай за нови и актуализирани файлове",
"SaveSubtitlesIntoMediaFoldersHelp": "Съхраняването на субтитрите при видео файлове ще позволи по-лесното им управление.",
"SaveSubtitlesIntoMediaFolders": "Запазване на субтитрите в папките с медията",
"SaveChanges": "Запазете промените",
"RepeatOne": "Повтори един път",
"RepeatMode": "Режим на повторение",
"RepeatEpisodes": "Повтори епизодите",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
"ReplaceExistingImages": "Reemplaça imatges existents",
"ResumeAt": "Reprodueix des de {0}",
"Saturday": "Dissabte",
"Save": "Desa",
"SaveChanges": "Desar",
"Screenshots": "Captures de pantalla",
"Search": "Cerca",
"SearchForCollectionInternetMetadata": "Cerca a internet artwork i metadades",
Expand Down Expand Up @@ -1372,7 +1372,6 @@
"HeaderSyncPlayEnabled": "SyncPlay habilitat",
"HeaderSubtitleProfilesHelp": "Els perfils de subtítols descriuen els formats de subtítols suportats pel dispositiu.",
"HeaderSubtitleProfiles": "Perfils dels subtítols",
"SaveChanges": "Guardar canvis",
"Runtime": "Temps d'execució",
"Rewind": "Rebobinar",
"Restart": "Reinicia",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@
"Rewind": "Přetočit zpět",
"Runtime": "Délka",
"Saturday": "Sobota",
"Save": "Uložit",
"SaveChanges": "Uložit",
"ScanForNewAndUpdatedFiles": "Vyhledat nové a aktualizované soubory",
"Schedule": "Plánované nahrávání",
"Screenshot": "Snímek obrazovky",
Expand Down Expand Up @@ -1287,7 +1287,6 @@
"LabelRequireHttpsHelp": "Server automaticky přesměruje všechny požadavky z HTTP na HTTPS. Pokud server nenaslouchá na portu HTTPS, tato funkce nemá žádný účinek.",
"LabelRequireHttps": "Vyžadovat HTTPS",
"HeaderDVR": "Nahrávání",
"SaveChanges": "Uložit změny",
"LabelSyncPlayPlaybackDiff": "Rozdíl v době přehrávání",
"SyncPlayAccessHelp": "Funkce SyncPlay umožňuje synchronizovat přehrávání s dalšími zařízeními. Vyberte úroveň přístupu k funkci SyncPlay, kterou tento uživatel bude mít.",
"MessageSyncPlayErrorMedia": "Zapnutí synchronizace přehrávání se nezdařilo. Chyba média.",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
"Screenshots": "Sgrinluniau",
"Screenshot": "Sgrinlun",
"Schedule": "Trefnlen",
"Save": "Arbed",
"SaveChanges": "Arbed",
"Saturday": "Dydd Sadwrn",
"Runtime": "Amser rhedeg",
"Rewind": "Dirwyn yn ôl",
Expand Down Expand Up @@ -530,7 +530,6 @@
"ConfirmDeleteItem": "Bydd dileu'r eitem hon yn ei dileu o'r system ffeiliau a'ch llyfrgell gyfryngau. Ydych chi'n siŵr eich bod eisiau parhau?",
"LabelDisplayLanguage": "Iaith arddangos",
"OptionEstimateContentLength": "Amcangyfrif hyd cyfrwng pan yn trawsgodio",
"SaveChanges": "Arbed newidiadau",
"MarkUnplayed": "Heb ei wylio",
"EnableQuickConnect": "Actifadu Cyswllt Cyflym ar y gweinydd hwn",
"QuickConnectInvalidCode": "Côd Cyswllt Cyflym annilys",
Expand Down
4 changes: 1 addition & 3 deletions src/strings/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@
"Rewind": "Spol tilbage",
"Runtime": "Afspilningstid",
"Saturday": "Lørdag",
"Save": "Gem",
"SaveChanges": "Gem",
"SaveSubtitlesIntoMediaFolders": "Gem understekster i medie mapperne",
"SaveSubtitlesIntoMediaFoldersHelp": "At gemme undertekster ved siden af video filerne gør det nemmere at håndtere dem.",
"ScanLibrary": "Skan bibliotek",
Expand Down Expand Up @@ -1357,8 +1357,6 @@
"ShowMore": "Vis mere",
"ShowLess": "Vis mindre",
"SelectServer": "Vælg server",
"SaveChanges": "Gem ændringer",
"Restart": "Genstart",
"ResetPassword": "Nulstil adgangskode",
"QuickConnectNotAvailable": "Bed din server administrator om at aktivere Quick Connect",
"QuickConnectNotActive": "Quick Connect er ikke aktiveret på denne server",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@
"Rewind": "Zurückspulen",
"Runtime": "Laufzeit",
"Saturday": "Samstag",
"Save": "Speichern",
"SaveChanges": "Speichern",
"SaveSubtitlesIntoMediaFolders": "Untertitel in den Medienverzeichnissen speichern",
"SaveSubtitlesIntoMediaFoldersHelp": "Das Speichern der Untertitel neben den Videodateien macht die Verwaltung deutlich leichter.",
"ScanForNewAndUpdatedFiles": "Nach neuen und aktualisierten Dateien scannen",
Expand Down Expand Up @@ -1280,7 +1280,6 @@
"LabelStable": "Stabil",
"LabelChromecastVersion": "Google Cast Version",
"HeaderDVR": "Digitaler Rekorder",
"SaveChanges": "Änderungen speichern",
"LabelRequireHttpsHelp": "Wenn dies ausgewählt ist, leitet der Server alle Anfragen über HTTP an HTTPS weiter. Dies hat keinen Effekt, falls der Server nicht auf HTTPS hört.",
"LabelRequireHttps": "HTTPS erforderlich",
"LabelEnableHttpsHelp": "Beobachtet den konfigurierten HTTPS-Port. Damit dies geschehen kann, muss ein gültiges Zertifikat bereitgestellt werden.",
Expand Down
3 changes: 1 addition & 2 deletions src/strings/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@
"Rewind": "Αναπαραγωγή προς τα πίσω",
"Runtime": "Χρόνος εκτέλεσης",
"Saturday": "Σάββατο",
"Save": "Αποθήκευση",
"SaveChanges": "Αποθήκευση",
"ScanForNewAndUpdatedFiles": "Σάρωση για νέα και ενημερωμένα αρχεία",
"ScanLibrary": "Σάρωση βιβλιοθήκης",
"Schedule": "Πρόγραμμα",
Expand Down Expand Up @@ -1617,7 +1617,6 @@
"RememberAudioSelections": "Ορισμός κομματιού ήχου με βάση το προηγούμενο στοιχείο",
"RememberAudioSelectionsHelp": "Προσπαθήστε να ρυθμίσετε το κομμάτι ήχου στην πλησιέστερη αντιστοίχιση με το τελευταίο βίντεο.",
"ResetPassword": "Επαναφέρετε τον κωδικό πρόσβασης",
"SaveChanges": "Αποθήκευσε τις αλλαγές",
"SaveSubtitlesIntoMediaFoldersHelp": "Η αποθήκευση υποτίτλων δίπλα σε αρχεία βίντεο θα επιτρέψει την ευκολότερη διαχείρισή τους.",
"QuickConnectAuthorizeFail": "Άγνωστος κωδικός γρήγορης σύνδεσης",
"QuickConnectDeactivated": "Το Quick Connect απενεργοποιήθηκε πριν εγκριθεί το αίτημα σύνδεσης",
Expand Down
Loading

0 comments on commit 111f837

Please sign in to comment.