mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
NSectionEditor: improved translation support
This commit is contained in:
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "WLAN",
|
||||
"max-widgets-reached": "Maximale Anzahl an Widgets erreicht",
|
||||
"microphone-volume-at": "Mikrofonlautstärke: {volume}%",
|
||||
"move-to-center-section": "Mittlere Sektion",
|
||||
"move-to-left-section": "Linke Sektion",
|
||||
"move-to-right-section": "Rechte Sektion",
|
||||
"move-to-section": "Gehe zu {section}",
|
||||
"mute": "Stummschalten",
|
||||
"next-media": "Nächster Titel",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Maximum widgets reached",
|
||||
"microphone-volume-at": "Microphone volume: {volume}%",
|
||||
"move-to-center-section": "Center section",
|
||||
"move-to-left-section": "Left section",
|
||||
"move-to-right-section": "Right section",
|
||||
"move-to-section": "Move to {section}",
|
||||
"mute": "Mute",
|
||||
"next-media": "Next track",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Se ha alcanzado el número máximo de widgets",
|
||||
"microphone-volume-at": "Volumen del micrófono: {volume}%",
|
||||
"move-to-center-section": "Sección central",
|
||||
"move-to-left-section": "Sección izquierda",
|
||||
"move-to-right-section": "Sección derecha",
|
||||
"move-to-section": "Mover a {section}",
|
||||
"mute": "Silenciar",
|
||||
"next-media": "Siguiente pista",
|
||||
|
||||
@@ -1392,7 +1392,7 @@
|
||||
"bottom-center": "En bas au centre",
|
||||
"bottom-left": "En bas à gauche",
|
||||
"bottom-right": "En bas à droite",
|
||||
"center": "Centré",
|
||||
"center": "Centre",
|
||||
"center-left": "Gauche centre",
|
||||
"center-right": "Droite centre",
|
||||
"close-to-bar": "Près du bouton de la barre",
|
||||
@@ -1569,10 +1569,7 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Nombre maximal de widgets atteint",
|
||||
"microphone-volume-at": "Volume du microphone : {volume}%",
|
||||
"move-to-center-section": "Section centrale",
|
||||
"move-to-left-section": "Section de gauche",
|
||||
"move-to-right-section": "Section de droite",
|
||||
"move-to-section": "Aller à {section}",
|
||||
"move-to-section": "Déplacer : {section}",
|
||||
"mute": "Muet / Couper le son",
|
||||
"next-media": "Piste suivante",
|
||||
"next-month": "Mois suivant",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Elérte a maximális widgetszámot",
|
||||
"microphone-volume-at": "Mikrofon hangereje: {volume}%",
|
||||
"move-to-center-section": "Középső szakasz",
|
||||
"move-to-left-section": "Bal oldali szakasz",
|
||||
"move-to-right-section": "Jobb oldali szakasz",
|
||||
"move-to-section": "Ugrás a(z) {section} szakaszhoz",
|
||||
"mute": "Némítás",
|
||||
"next-media": "Következő zene",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "ウィジェットの最大数に達しました",
|
||||
"microphone-volume-at": "マイク音量: {volume}%",
|
||||
"move-to-center-section": "中央セクション",
|
||||
"move-to-left-section": "左セクション",
|
||||
"move-to-right-section": "右セクション",
|
||||
"move-to-section": "{section} に移動",
|
||||
"mute": "ミュート",
|
||||
"next-media": "次のトラック",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Hejmara herî zêde ya widgetan hate bidestxistin",
|
||||
"microphone-volume-at": "Hêjmara mîkrofonê: {volume}%",
|
||||
"move-to-center-section": "Navenda beşê",
|
||||
"move-to-left-section": "Beşa çepê",
|
||||
"move-to-right-section": "Beşa rastê",
|
||||
"move-to-section": "Here'ke {section} here",
|
||||
"mute": "Bêdeng bike",
|
||||
"next-media": "Strana pêş",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Maximum aantal widgets bereikt",
|
||||
"microphone-volume-at": "Microfoonvolume: {volume}%",
|
||||
"move-to-center-section": "Middelste sectie",
|
||||
"move-to-left-section": "Linker sectie",
|
||||
"move-to-right-section": "Rechter sectie",
|
||||
"move-to-section": "Ga naar {section}",
|
||||
"mute": "Dempen",
|
||||
"next-media": "Volgende track",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Osiągnięto maksymalną liczbę widżetów",
|
||||
"microphone-volume-at": "Głośność mikrofonu: {volume}%",
|
||||
"move-to-center-section": "Sekcja środkowa",
|
||||
"move-to-left-section": "Sekcja lewa",
|
||||
"move-to-right-section": "Sekcja prawa",
|
||||
"move-to-section": "Przejdź do {sekcja}",
|
||||
"mute": "Wycisz",
|
||||
"next-media": "Następny utwór",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Número máximo de widgets atingido",
|
||||
"microphone-volume-at": "Volume do microfone: {volume}%",
|
||||
"move-to-center-section": "Seção central",
|
||||
"move-to-left-section": "Seção esquerda",
|
||||
"move-to-right-section": "Seção direita",
|
||||
"move-to-section": "Mover para {section}",
|
||||
"mute": "Silenciar",
|
||||
"next-media": "Próxima faixa",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Достигнуто максимальное количество виджетов",
|
||||
"microphone-volume-at": "Громкость микрофона: {volume}%",
|
||||
"move-to-center-section": "Центральная секция",
|
||||
"move-to-left-section": "Левая секция",
|
||||
"move-to-right-section": "Правая секция",
|
||||
"move-to-section": "Перейти к {section}",
|
||||
"mute": "Отключить звук",
|
||||
"next-media": "Следующий трек",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Kablosuz bağlantı",
|
||||
"max-widgets-reached": "Maksimum araç sayısına ulaşıldı",
|
||||
"microphone-volume-at": "Mikrofon sesi: %{volume}",
|
||||
"move-to-center-section": "Orta bölüm",
|
||||
"move-to-left-section": "Sol bölüm",
|
||||
"move-to-right-section": "Sağ bölüm",
|
||||
"move-to-section": "{section} bölümüne git",
|
||||
"mute": "Sessiz",
|
||||
"next-media": "Sonraki parça",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "Досягнуто максимальної кількості віджетів",
|
||||
"microphone-volume-at": "Гучність мікрофона: {volume}%",
|
||||
"move-to-center-section": "Центральна секція",
|
||||
"move-to-left-section": "Ліва секція",
|
||||
"move-to-right-section": "Права секція",
|
||||
"move-to-section": "Перейти до {section}",
|
||||
"mute": "Вимкнути звук",
|
||||
"next-media": "Наступний трек",
|
||||
|
||||
@@ -1569,9 +1569,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "已达到最大小部件数量",
|
||||
"microphone-volume-at": "麦克风音量:{volume}%",
|
||||
"move-to-center-section": "中央部分",
|
||||
"move-to-left-section": "左侧部分",
|
||||
"move-to-right-section": "右侧部分",
|
||||
"move-to-section": "移至{section}",
|
||||
"mute": "静音",
|
||||
"next-media": "下一首",
|
||||
|
||||
@@ -1531,9 +1531,6 @@
|
||||
"manage-wifi": "Wi-Fi",
|
||||
"max-widgets-reached": "已達到小工具數量上限",
|
||||
"microphone-volume-at": "麥克風音量: {volume}%",
|
||||
"move-to-center-section": "正中間",
|
||||
"move-to-left-section": "左半部",
|
||||
"move-to-right-section": "右半部",
|
||||
"move-to-section": "移至{section}",
|
||||
"mute": "靜音",
|
||||
"next-media": "下一首",
|
||||
|
||||
@@ -307,10 +307,10 @@ NBox {
|
||||
var section = root.availableSections[i];
|
||||
if (section !== root.sectionId) {
|
||||
var label = root.getSectionLabel(section);
|
||||
var displayLabel = I18n.tr("positions." + section);
|
||||
|
||||
// If translation missing (returns key), fallback to capitalized label
|
||||
if (displayLabel === "positions." + section) {
|
||||
var displayLabel = '';
|
||||
if (I18n.hasTranslation("positions." + section)) {
|
||||
displayLabel = I18n.tr("positions." + section);
|
||||
} else {
|
||||
displayLabel = label.charAt(0).toUpperCase() + label.slice(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user