1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-30 00:12:50 -05:00

i18n: update loading + add zh_CN

This commit is contained in:
bbedward
2025-10-09 09:01:20 -04:00
parent 36e1a5d379
commit a6ce26ee87
3 changed files with 1595 additions and 157 deletions

View File

@@ -1,4 +1,5 @@
import QtQuick import QtQuick
import Qt.labs.folderlistmodel
import Quickshell import Quickshell
import Quickshell.Io import Quickshell.Io
pragma Singleton pragma Singleton
@@ -7,60 +8,106 @@ pragma ComponentBehavior: Bound
Singleton { Singleton {
id: root id: root
property string currentLocale: Qt.locale().name.substring(0, 2) readonly property string _rawLocale: Qt.locale().name
property var translations: ({}) readonly property string _lang: _rawLocale.split(/[_-]/)[0]
property bool translationsLoaded: false readonly property var _candidates: {
const fullUnderscore = _rawLocale;
const fullHyphen = _rawLocale.replace("_", "-");
return [fullUnderscore, fullHyphen, _lang].filter(c => c && c !== "en");
}
readonly property url translationsFolder: Qt.resolvedUrl("../translations/poexports")
property string currentLocale: "en"
property var translations: ({})
property bool translationsLoaded: false
property url _selectedPath: ""
FolderListModel {
id: dir
folder: root.translationsFolder
nameFilters: ["*.json"]
showDirs: false
showDotAndDotDot: false
onStatusChanged: if (status === FolderListModel.Ready) root._pickTranslation()
}
FileView { FileView {
id: translationLoader id: translationLoader
path: root.currentLocale === "en" ? "" : Qt.resolvedUrl(`../translations/${root.currentLocale}.json`) path: root._selectedPath
onLoaded: { onLoaded: {
try { try {
root.translations = JSON.parse(text()) root.translations = JSON.parse(text())
root.translationsLoaded = true root.translationsLoaded = true
console.log(`I18n: Loaded translations for locale '${root.currentLocale}' (${Object.keys(root.translations).length} contexts)`) console.log(`I18n: Loaded translations for '${root.currentLocale}' ` +
`(${Object.keys(root.translations).length} contexts)`)
} catch (e) { } catch (e) {
console.warn(`I18n: Error parsing translations for locale '${root.currentLocale}':`, e, "- falling back to English") console.warn(`I18n: Error parsing '${root.currentLocale}':`, e,
root.translationsLoaded = false "- falling back to English")
root._fallbackToEnglish()
} }
} }
onLoadFailed: (error) => { onLoadFailed: (error) => {
console.warn(`I18n: Failed to load translations for locale '${root.currentLocale}' (${error}), falling back to English`) console.warn(`I18n: Failed to load '${root.currentLocale}' (${error}), ` +
root.translationsLoaded = false "falling back to English")
root._fallbackToEnglish()
} }
} }
function tr(term, context) { function _pickTranslation() {
if (!translationsLoaded || !translations) { const present = new Set()
return term for (let i = 0; i < dir.count; i++) {
} const name = dir.get(i, "fileName") // e.g. "zh_CN.json"
if (name && name.endsWith(".json")) {
const actualContext = context || term present.add(name.slice(0, -5))
if (translations[actualContext] && translations[actualContext][term]) {
return translations[actualContext][term]
}
for (const ctx in translations) {
if (translations[ctx][term]) {
return translations[ctx][term]
} }
} }
for (let i = 0; i < _candidates.length; i++) {
const cand = _candidates[i]
if (present.has(cand)) {
_useLocale(cand, dir.folder + "/" + cand + ".json")
return
}
}
_fallbackToEnglish()
}
function _useLocale(localeTag, fileUrl) {
currentLocale = localeTag
_selectedPath = fileUrl
translationsLoaded = false
translations = ({})
console.log(`I18n: Using locale '${localeTag}' from ${fileUrl}`)
}
function _fallbackToEnglish() {
currentLocale = "en"
_selectedPath = ""
translationsLoaded = false
translations = ({})
console.warn("I18n: Falling back to built-in English strings")
}
function tr(term, context) {
if (!translationsLoaded || !translations) return term
const ctx = context || term
if (translations[ctx] && translations[ctx][term]) return translations[ctx][term]
for (const c in translations) {
if (translations[c] && translations[c][term]) return translations[c][term]
}
return term return term
} }
function trContext(context, term) { function trContext(context, term) {
if (!translationsLoaded || !translations) { if (!translationsLoaded || !translations) return term
return term if (translations[context] && translations[context][term]) return translations[context][term]
}
if (translations[context] && translations[context][term]) {
return translations[context][term]
}
return term return term
} }
} }

View File

@@ -30,16 +30,16 @@
"A file with this name already exists. Do you want to overwrite it?": "この名前のファイルは既に存在します。上書きしてもよろしいですか?" "A file with this name already exists. Do you want to overwrite it?": "この名前のファイルは既に存在します。上書きしてもよろしいですか?"
}, },
"About": { "About": {
"About": "" "About": "詳細"
}, },
"Access clipboard history": { "Access clipboard history": {
"Access clipboard history": "" "Access clipboard history": "クリップボードの履歴へのアクセス"
}, },
"Access to notifications and do not disturb": { "Access to notifications and do not disturb": {
"Access to notifications and do not disturb": "" "Access to notifications and do not disturb": "通知へのアクセスおよびサイレントモード"
}, },
"Access to system controls and settings": { "Access to system controls and settings": {
"Access to system controls and settings": "" "Access to system controls and settings": "システム制御へのアクセスおよび設定"
}, },
"Actions": { "Actions": {
"Actions": "アクション" "Actions": "アクション"
@@ -63,7 +63,7 @@
"All displays": "すべてのディスプレイ" "All displays": "すべてのディスプレイ"
}, },
"Alt+←/Backspace: Back • F1/I: File Info • F10: Help • Esc: Close": { "Alt+←/Backspace: Back • F1/I: File Info • F10: Help • Esc: Close": {
"Alt+←/Backspace: Back • F1/I: File Info • F10: Help • Esc: Close": "" "Alt+←/Backspace: Back • F1/I: File Info • F10: Help • Esc: Close": "Alt+←/Backspace: 戻る • F1/I: ファイル情報 • F10: ヘルプ • Esc: 閉じる"
}, },
"Always Show OSD Percentage": { "Always Show OSD Percentage": {
"Always Show OSD Percentage": "常に OSD パーセンテージを表示" "Always Show OSD Percentage": "常に OSD パーセンテージを表示"
@@ -75,10 +75,10 @@
"Animations": "アニメーション" "Animations": "アニメーション"
}, },
"App Launcher": { "App Launcher": {
"App Launcher": "" "App Launcher": "アプリランチャー"
}, },
"Applications": { "Applications": {
"Applications": "" "Applications": "アプリ"
}, },
"Apply": { "Apply": {
"Apply": "適用" "Apply": "適用"
@@ -93,7 +93,7 @@
"Apps Icon": "アプリアイコン" "Apps Icon": "アプリアイコン"
}, },
"Apps are ordered by usage frequency, then last used, then alphabetically.": { "Apps are ordered by usage frequency, then last used, then alphabetically.": {
"Apps are ordered by usage frequency, then last used, then alphabetically.": "" "Apps are ordered by usage frequency, then last used, then alphabetically.": "アプリは使用頻度、最終使用日、アルファベット順の優先順位で並べられています。"
}, },
"Are you sure you want to hibernate the system?": { "Are you sure you want to hibernate the system?": {
"Are you sure you want to hibernate the system?": "システムを休止状態にしますか?" "Are you sure you want to hibernate the system?": "システムを休止状態にしますか?"
@@ -171,13 +171,13 @@
"Available Screens (": "利用可能なスクリーン(" "Available Screens (": "利用可能なスクリーン("
}, },
"Back": { "Back": {
"Back": "" "Back": "戻る"
}, },
"Battery": { "Battery": {
"Battery": "" "Battery": "バッテリー"
}, },
"Battery level and power management": { "Battery level and power management": {
"Battery level and power management": "" "Battery level and power management": "バッテリーレベルおよび電源管理"
}, },
"Battery not detected - only AC power settings available": { "Battery not detected - only AC power settings available": {
"Battery not detected - only AC power settings available": "バッテリーが検出されません - AC電源設定のみ利用可能です" "Battery not detected - only AC power settings available": "バッテリーが検出されません - AC電源設定のみ利用可能です"
@@ -192,7 +192,7 @@
"Border": "ボーダー" "Border": "ボーダー"
}, },
"Brightness": { "Brightness": {
"Brightness": "" "Brightness": "明るさ"
}, },
"Browse": { "Browse": {
"Browse": "ブラウズ" "Browse": "ブラウズ"
@@ -204,16 +204,16 @@
"CPU": "CPU" "CPU": "CPU"
}, },
"CPU Temperature": { "CPU Temperature": {
"CPU Temperature": "" "CPU Temperature": "CPU温度"
}, },
"CPU Usage": { "CPU Usage": {
"CPU Usage": "" "CPU Usage": "CPU使用率"
}, },
"CPU temperature display": { "CPU temperature display": {
"CPU temperature display": "" "CPU temperature display": "CPU温度表示"
}, },
"CPU usage indicator": { "CPU usage indicator": {
"CPU usage indicator": "" "CPU usage indicator": "CPU使用率インジケーター"
}, },
"Cancel": { "Cancel": {
"Cancel": "キャンセル" "Cancel": "キャンセル"
@@ -225,37 +225,37 @@
"Center Section": "センターセクション" "Center Section": "センターセクション"
}, },
"Check for system updates": { "Check for system updates": {
"Check for system updates": "" "Check for system updates": "システムアップデートを検査"
}, },
"Choose Launcher Logo Color": { "Choose Launcher Logo Color": {
"Choose Launcher Logo Color": "" "Choose Launcher Logo Color": "ランチャーロゴの色を選ぶ"
}, },
"Choose icon": { "Choose icon": {
"Choose icon": "アイコンを選" "Choose icon": "アイコンを選"
}, },
"Choose the logo displayed on the launcher button in DankBar": { "Choose the logo displayed on the launcher button in DankBar": {
"Choose the logo displayed on the launcher button in DankBar": "Dank Barのランチャーボタンに表示されるロゴを選" "Choose the logo displayed on the launcher button in DankBar": "Dank Barのランチャーボタンに表示されるロゴを選"
}, },
"Choose where notification popups appear on screen": { "Choose where notification popups appear on screen": {
"Choose where notification popups appear on screen": "" "Choose where notification popups appear on screen": "通知ポップアップが画面に表示される場所を選ぶ"
}, },
"Clear": { "Clear": {
"Clear": "クリア" "Clear": "クリア"
}, },
"Clear All": { "Clear All": {
"Clear All": "" "Clear All": "すべてクリア"
}, },
"Clear All History?": { "Clear All History?": {
"Clear All History?": "" "Clear All History?": "すべての履歴をクリアしますか?"
}, },
"Clipboard History": { "Clipboard History": {
"Clipboard History": "" "Clipboard History": "クリップボード履歴"
}, },
"Clipboard Manager": { "Clipboard Manager": {
"Clipboard Manager": "" "Clipboard Manager": "クリップボード管理"
}, },
"Clock": { "Clock": {
"Clock": "" "Clock": "時計"
}, },
"Close": { "Close": {
"Close": "閉じる" "Close": "閉じる"
@@ -264,10 +264,10 @@
"Color Override": "色のオーバーライド" "Color Override": "色のオーバーライド"
}, },
"Color Picker": { "Color Picker": {
"Color Picker": "" "Color Picker": "カラーピッカー"
}, },
"Color temperature for night mode": { "Color temperature for night mode": {
"Color temperature for night mode": "" "Color temperature for night mode": "ナイトモードの色温度"
}, },
"Communication": { "Communication": {
"Communication": "コミュニケーション" "Communication": "コミュニケーション"
@@ -294,19 +294,19 @@
"Connected Displays": "接続されたディスプレイ" "Connected Displays": "接続されたディスプレイ"
}, },
"Contrast": { "Contrast": {
"Contrast": "" "Contrast": "コントラスト"
}, },
"Control Center": { "Control Center": {
"Control Center": "" "Control Center": "コントロールセンター"
}, },
"Control currently playing media": { "Control currently playing media": {
"Control currently playing media": "" "Control currently playing media": "現在再生中のメディアを制御"
}, },
"Control the speed of animations throughout the interface": { "Control the speed of animations throughout the interface": {
"Control the speed of animations throughout the interface": "インターフェース全体のアニメーションの速度を制御する" "Control the speed of animations throughout the interface": "インターフェース全体のアニメーションの速度を制御"
}, },
"Copied to clipboard": { "Copied to clipboard": {
"Copied to clipboard": "" "Copied to clipboard": "クリップボードにコピーしました"
}, },
"Copied!": { "Copied!": {
"Copied!": "コピーしました!" "Copied!": "コピーしました!"
@@ -321,7 +321,7 @@
"Copy Process Name": "プロセス名をコピー" "Copy Process Name": "プロセス名をコピー"
}, },
"Corner Radius (0 = square corners)": { "Corner Radius (0 = square corners)": {
"Corner Radius (0 = square corners)": "" "Corner Radius (0 = square corners)": "コーナー半径0 = 角丸なし)"
}, },
"Create Dir": { "Create Dir": {
"Create Dir": "ディレクトリを作成" "Create Dir": "ディレクトリを作成"
@@ -333,10 +333,10 @@
"Current Items": "現在のアイテム" "Current Items": "現在のアイテム"
}, },
"Current time and date display": { "Current time and date display": {
"Current time and date display": "" "Current time and date display": "現在の日時を表示"
}, },
"Current weather conditions and temperature": { "Current weather conditions and temperature": {
"Current weather conditions and temperature": "" "Current weather conditions and temperature": "現在の天気状況と気温"
}, },
"Custom": { "Custom": {
"Custom": "カスタム" "Custom": "カスタム"
@@ -351,7 +351,7 @@
"Custom: ": "カスタム: " "Custom: ": "カスタム: "
}, },
"Customizable empty space": { "Customizable empty space": {
"Customizable empty space": "" "Customizable empty space": "カスタマイズ可能な空きスペース"
}, },
"DEMO MODE - Click anywhere to exit": { "DEMO MODE - Click anywhere to exit": {
"DEMO MODE - Click anywhere to exit": "デモモード -任意の場所をクリックして 終了" "DEMO MODE - Click anywhere to exit": "デモモード -任意の場所をクリックして 終了"
@@ -360,13 +360,13 @@
"DMS Plugin Manager Unavailable": "DMS プラグイン マネージャーが利用できません" "DMS Plugin Manager Unavailable": "DMS プラグイン マネージャーが利用できません"
}, },
"DMS_SOCKET not available": { "DMS_SOCKET not available": {
"DMS_SOCKET not available": "" "DMS_SOCKET not available": "DMS_SOCKETが利用できません"
}, },
"Daily at:": { "Daily at:": {
"Daily at:": "毎日:" "Daily at:": "毎日:"
}, },
"Dank Bar": { "Dank Bar": {
"Dank Bar": "" "Dank Bar": "Dank Bar"
}, },
"Dank Bar Transparency": { "Dank Bar Transparency": {
"Dank Bar Transparency": "Dank Barの透明性" "Dank Bar Transparency": "Dank Barの透明性"
@@ -384,7 +384,7 @@
"Date Format": "日付形式" "Date Format": "日付形式"
}, },
"Default": { "Default": {
"Default": "" "Default": "デフォルト"
}, },
"Defaults": { "Defaults": {
"Defaults": "デフォルト" "Defaults": "デフォルト"
@@ -405,7 +405,7 @@
"Disk": "ディスク" "Disk": "ディスク"
}, },
"Disk Usage": { "Disk Usage": {
"Disk Usage": "" "Disk Usage": "ディスク使用率"
}, },
"Display Settings": { "Display Settings": {
"Display Settings": "表示設定" "Display Settings": "表示設定"
@@ -417,22 +417,22 @@
"Display all priorities over fullscreen apps": "フルスクリーンアプリよりもすべての優先度を表示する" "Display all priorities over fullscreen apps": "フルスクリーンアプリよりもすべての優先度を表示する"
}, },
"Display currently focused application title": { "Display currently focused application title": {
"Display currently focused application title": "" "Display currently focused application title": "現在フォーカスされているアプリケーションのタイトルを表示"
}, },
"Display volume and brightness percentage values by default in OSD popups": { "Display volume and brightness percentage values by default in OSD popups": {
"Display volume and brightness percentage values by default in OSD popups": "" "Display volume and brightness percentage values by default in OSD popups": "OSDポップアップに音量と輝度のパーセンテージ値をデフォルトで表示"
}, },
"Displays": { "Displays": {
"Displays": "" "Displays": "表示"
}, },
"Displays the active keyboard layout and allows switching": { "Displays the active keyboard layout and allows switching": {
"Displays the active keyboard layout and allows switching": "" "Displays the active keyboard layout and allows switching": "アクティブなキーボードレイアウトを表示、切り替えを可能に"
}, },
"Do Not Disturb": { "Do Not Disturb": {
"Do Not Disturb": "サイレントモード" "Do Not Disturb": "サイレントモード"
}, },
"Dock": { "Dock": {
"Dock": "" "Dock": "ドック"
}, },
"Dock Position": { "Dock Position": {
"Dock Position": "ドック位置" "Dock Position": "ドック位置"
@@ -441,13 +441,13 @@
"Dock Transparency": "ドックの透明度" "Dock Transparency": "ドックの透明度"
}, },
"Drag widgets to reorder within sections. Use the eye icon to hide/show widgets (maintains spacing), or X to remove them completely.": { "Drag widgets to reorder within sections. Use the eye icon to hide/show widgets (maintains spacing), or X to remove them completely.": {
"Drag widgets to reorder within sections. Use the eye icon to hide/show widgets (maintains spacing), or X to remove them completely.": "" "Drag widgets to reorder within sections. Use the eye icon to hide/show widgets (maintains spacing), or X to remove them completely.": "ウィジェットをドラッグしてセクション内で順序を変更できます。目のアイコンでウィジェットを表示/非表示にスペースは維持、Xで完全に削除できます。"
}, },
"Dynamic Theming": { "Dynamic Theming": {
"Dynamic Theming": "ダイナミックテーマ" "Dynamic Theming": "ダイナミックテーマ"
}, },
"Edge Spacing (0 = edge-to-edge)": { "Edge Spacing (0 = edge-to-edge)": {
"Edge Spacing (0 = edge-to-edge)": "" "Edge Spacing (0 = edge-to-edge)": "エッジ間隔0 = エッジ・トゥ・エッジ)"
}, },
"Education": { "Education": {
"Education": "教育" "Education": "教育"
@@ -480,7 +480,7 @@
"Exclusive Zone Offset": "排他ゾーンオフセット" "Exclusive Zone Offset": "排他ゾーンオフセット"
}, },
"F1/I: Toggle • F10: Help": { "F1/I: Toggle • F10: Help": {
"F1/I: Toggle • F10: Help": "" "F1/I: Toggle • F10: Help": "F1/I: 切り替え • F10: ヘルプ"
}, },
"Feels Like": { "Feels Like": {
"Feels Like": "どうやら" "Feels Like": "どうやら"
@@ -498,7 +498,7 @@
"Find in note...": "メモで検索..." "Find in note...": "メモで検索..."
}, },
"Focused Window": { "Focused Window": {
"Focused Window": "" "Focused Window": "フォーカスされたウィンドウ"
}, },
"Font Family": { "Font Family": {
"Font Family": "フォントファミリー" "Font Family": "フォントファミリー"
@@ -534,13 +534,13 @@
"Fun": "娯楽" "Fun": "娯楽"
}, },
"GPU": { "GPU": {
"GPU": "グラフィックプロセッサ" "GPU": "GPU"
}, },
"GPU Temperature": { "GPU Temperature": {
"GPU Temperature": "" "GPU Temperature": "GPU温度"
}, },
"GPU temperature display": { "GPU temperature display": {
"GPU temperature display": "" "GPU temperature display": "GPU温度表示"
}, },
"Games": { "Games": {
"Games": "ゲーム" "Games": "ゲーム"
@@ -585,7 +585,7 @@
"Hour": "時間" "Hour": "時間"
}, },
"How often to change wallpaper": { "How often to change wallpaper": {
"How often to change wallpaper": "" "How often to change wallpaper": "壁紙を切り替える間隔"
}, },
"Humidity": { "Humidity": {
"Humidity": "湿度" "Humidity": "湿度"
@@ -597,7 +597,7 @@
"Icon Theme": "アイコンテーマ" "Icon Theme": "アイコンテーマ"
}, },
"Idle Inhibitor": { "Idle Inhibitor": {
"Idle Inhibitor": "" "Idle Inhibitor": "アイドルインヒビター"
}, },
"Idle Settings": { "Idle Settings": {
"Idle Settings": "アイドル設定" "Idle Settings": "アイドル設定"
@@ -606,7 +606,7 @@
"Idle monitoring not supported - requires newer Quickshell version": "アイドル監視はサポートされていません - 新しい Quickshell バージョンが必要です" "Idle monitoring not supported - requires newer Quickshell version": "アイドル監視はサポートされていません - 新しい Quickshell バージョンが必要です"
}, },
"Image": { "Image": {
"Image": "" "Image": "画像"
}, },
"Include Transitions": { "Include Transitions": {
"Include Transitions": "トランジションを含める" "Include Transitions": "トランジションを含める"
@@ -624,10 +624,10 @@
"Interval": "間隔" "Interval": "間隔"
}, },
"Invert on mode change": { "Invert on mode change": {
"Invert on mode change": "" "Invert on mode change": "モード変更時に反転"
}, },
"Keyboard Layout Name": { "Keyboard Layout Name": {
"Keyboard Layout Name": "" "Keyboard Layout Name": "キーボードレイアウト名"
}, },
"Kill Process": { "Kill Process": {
"Kill Process": "プロセスを強制終了" "Kill Process": "プロセスを強制終了"
@@ -642,13 +642,13 @@
"Launch": "起動" "Launch": "起動"
}, },
"Launch Prefix": { "Launch Prefix": {
"Launch Prefix": "" "Launch Prefix": "起動プリフィックス"
}, },
"Launch on dGPU": { "Launch on dGPU": {
"Launch on dGPU": "dGPUで起動" "Launch on dGPU": "dGPUで起動"
}, },
"Launcher": { "Launcher": {
"Launcher": "" "Launcher": "ランチャー"
}, },
"Launcher Button Logo": { "Launcher Button Logo": {
"Launcher Button Logo": "ランチャーのボタンロゴ" "Launcher Button Logo": "ランチャーのボタンロゴ"
@@ -678,7 +678,7 @@
"Log Out": "ログアウト" "Log Out": "ログアウト"
}, },
"Long Text": { "Long Text": {
"Long Text": "" "Long Text": "長文"
}, },
"Longitude": { "Longitude": {
"Longitude": "経度" "Longitude": "経度"
@@ -693,7 +693,7 @@
"Manual Coordinates": "手動座標" "Manual Coordinates": "手動座標"
}, },
"Manual Show/Hide": { "Manual Show/Hide": {
"Manual Show/Hide": "" "Manual Show/Hide": "手動で表示/非表示"
}, },
"Material Colors": { "Material Colors": {
"Material Colors": "Material Colors" "Material Colors": "Material Colors"
@@ -708,7 +708,7 @@
"Media": "メディア" "Media": "メディア"
}, },
"Media Controls": { "Media Controls": {
"Media Controls": "" "Media Controls": "メディアコントロール"
}, },
"Media Player Settings": { "Media Player Settings": {
"Media Player Settings": "メディアプレーヤーの設定" "Media Player Settings": "メディアプレーヤーの設定"
@@ -720,10 +720,10 @@
"Memory": "メモリ" "Memory": "メモリ"
}, },
"Memory Usage": { "Memory Usage": {
"Memory Usage": "" "Memory Usage": "メモリ使用率"
}, },
"Memory usage indicator": { "Memory usage indicator": {
"Memory usage indicator": "" "Memory usage indicator": "メモリ使用率インジケーター"
}, },
"Minute": { "Minute": {
"Minute": "分" "Minute": "分"
@@ -744,7 +744,7 @@
"Mount": "マウント" "Mount": "マウント"
}, },
"NM not supported": { "NM not supported": {
"NM not supported": "" "NM not supported": "NMが利用できません"
}, },
"Named Workspace Icons": { "Named Workspace Icons": {
"Named Workspace Icons": "名前付きワークスペースアイコン" "Named Workspace Icons": "名前付きワークスペースアイコン"
@@ -768,10 +768,10 @@
"Network Settings": "ネットワーク設定" "Network Settings": "ネットワーク設定"
}, },
"Network Speed Monitor": { "Network Speed Monitor": {
"Network Speed Monitor": "" "Network Speed Monitor": "ネットワーク速度モニター"
}, },
"Network download and upload speed display": { "Network download and upload speed display": {
"Network download and upload speed display": "" "Network download and upload speed display": "ネットワークのダウンロードおよびアップロード速度を表示"
}, },
"New": { "New": {
"New": "新しい" "New": "新しい"
@@ -813,7 +813,7 @@
"No plugins found": "プラグインが見つかりませんでした" "No plugins found": "プラグインが見つかりませんでした"
}, },
"No plugins found.": { "No plugins found.": {
"No plugins found.": "" "No plugins found.": "プラグインが見つかりませんでした。"
}, },
"Normal Priority": { "Normal Priority": {
"Normal Priority": "通常の優先度" "Normal Priority": "通常の優先度"
@@ -828,7 +828,7 @@
"Nothing to see here": "ここには何もありません" "Nothing to see here": "ここには何もありません"
}, },
"Notification Center": { "Notification Center": {
"Notification Center": "" "Notification Center": "通知センター"
}, },
"Notification Overlay": { "Notification Overlay": {
"Notification Overlay": "通知オーバーレイ" "Notification Overlay": "通知オーバーレイ"
@@ -885,19 +885,19 @@
"Per-Monitor Workspaces": "モニターごとのワークスペース" "Per-Monitor Workspaces": "モニターごとのワークスペース"
}, },
"Percentage": { "Percentage": {
"Percentage": "" "Percentage": "百分率"
}, },
"Personalization": { "Personalization": {
"Personalization": "" "Personalization": "パーソナライゼーション"
}, },
"Pin to Dock": { "Pin to Dock": {
"Pin to Dock": "" "Pin to Dock": "ドックにピン留め"
}, },
"Place plugin directories here. Each plugin should have a plugin.json manifest file.": { "Place plugin directories here. Each plugin should have a plugin.json manifest file.": {
"Place plugin directories here. Each plugin should have a plugin.json manifest file.": "プラグインディレクトリをここに配置します。各プラグインには plugin.json マニフェストファイルが必要です。" "Place plugin directories here. Each plugin should have a plugin.json manifest file.": "プラグインディレクトリをここに配置します。各プラグインには plugin.json マニフェストファイルが必要です。"
}, },
"Place plugins in": { "Place plugins in": {
"Place plugins in": "" "Place plugins in": "プラグインを配置する場所"
}, },
"Plugin Directory": { "Plugin Directory": {
"Plugin Directory": "プラグインディレクトリ" "Plugin Directory": "プラグインディレクトリ"
@@ -906,10 +906,10 @@
"Plugin Management": "プラグイン管理" "Plugin Management": "プラグイン管理"
}, },
"Plugin is disabled - enable in Plugins settings to use": { "Plugin is disabled - enable in Plugins settings to use": {
"Plugin is disabled - enable in Plugins settings to use": "" "Plugin is disabled - enable in Plugins settings to use": "プラグインは無効です - 使用するにはプラグイン設定で有効にしてください"
}, },
"Plugins": { "Plugins": {
"Plugins": "" "Plugins": "プラグイン"
}, },
"Popup Position": { "Popup Position": {
"Popup Position": "ポップアップの位置" "Popup Position": "ポップアップの位置"
@@ -921,7 +921,7 @@
"Position": "位置" "Position": "位置"
}, },
"Power": { "Power": {
"Power": "" "Power": "電源"
}, },
"Power Off": { "Power Off": {
"Power Off": "電源オフ" "Power Off": "電源オフ"
@@ -936,13 +936,13 @@
"Pressure": "プレッシャー" "Pressure": "プレッシャー"
}, },
"Prevent screen timeout": { "Prevent screen timeout": {
"Prevent screen timeout": "" "Prevent screen timeout": "画面のタイムアウトを防止"
}, },
"Primary": { "Primary": {
"Primary": "" "Primary": "プライマリー"
}, },
"Privacy Indicator": { "Privacy Indicator": {
"Privacy Indicator": "" "Privacy Indicator": "プライバシーインジケーター"
}, },
"Process": { "Process": {
"Process": "プロセス" "Process": "プロセス"
@@ -951,13 +951,13 @@
"QML (Qt Modeling Language)": "QML (Qt モデリング言語)" "QML (Qt Modeling Language)": "QML (Qt モデリング言語)"
}, },
"Quick access to application launcher": { "Quick access to application launcher": {
"Quick access to application launcher": "" "Quick access to application launcher": "アプリケーションランチャーへのクイックアクセス"
}, },
"Quick access to color picker": { "Quick access to color picker": {
"Quick access to color picker": "" "Quick access to color picker": "カラーピッカーへのクイックアクセス"
}, },
"Quick access to notepad": { "Quick access to notepad": {
"Quick access to notepad": "" "Quick access to notepad": "メモ帳へのクイックアクセス"
}, },
"Rain Chance": { "Rain Chance": {
"Rain Chance": "降水確率" "Rain Chance": "降水確率"
@@ -969,7 +969,7 @@
"Recent Colors": "最近の色" "Recent Colors": "最近の色"
}, },
"Recently Used Apps": { "Recently Used Apps": {
"Recently Used Apps": "" "Recently Used Apps": "最近使用したアプリ"
}, },
"Refresh": { "Refresh": {
"Refresh": "リフレッシュ" "Refresh": "リフレッシュ"
@@ -981,7 +981,7 @@
"Reset": "リセット" "Reset": "リセット"
}, },
"Running Apps": { "Running Apps": {
"Running Apps": "" "Running Apps": "実行中のアプリ"
}, },
"Running Apps Only In Current Workspace": { "Running Apps Only In Current Workspace": {
"Running Apps Only In Current Workspace": "現在のワークスペースでのみアプリを実行する" "Running Apps Only In Current Workspace": "現在のワークスペースでのみアプリを実行する"
@@ -1020,34 +1020,34 @@
"Search...": "検索..." "Search...": "検索..."
}, },
"Select Launcher Logo": { "Select Launcher Logo": {
"Select Launcher Logo": "ランチャーロゴを選" "Select Launcher Logo": "ランチャーロゴを選"
}, },
"Select a color from the palette or use custom sliders": { "Select a color from the palette or use custom sliders": {
"Select a color from the palette or use custom sliders": "パレットから色を選択するか、カスタムスライダーを使用します" "Select a color from the palette or use custom sliders": "パレットから色を選か、カスタムスライダーを使用します"
}, },
"Select a widget to add to the ": { "Select a widget to add to the ": {
"Select a widget to add to the ": "追加するウィジェットを選択してください " "Select a widget to add to the ": "追加するウィジェットを選 "
}, },
"Select an image file...": { "Select an image file...": {
"Select an image file...": "画像ファイルを選..." "Select an image file...": "画像ファイルを選..."
}, },
"Select font weight": { "Select font weight": {
"Select font weight": "" "Select font weight": "フォントの太さを選ぶ"
}, },
"Select monitor to configure wallpaper": { "Select monitor to configure wallpaper": {
"Select monitor to configure wallpaper": "" "Select monitor to configure wallpaper": "壁紙を設定するモニターを選ぶ"
}, },
"Select monospace font for process list and technical displays": { "Select monospace font for process list and technical displays": {
"Select monospace font for process list and technical displays": "" "Select monospace font for process list and technical displays": "プロセスリストと技術表示用の等幅フォントを選ぶ"
}, },
"Select system font family": { "Select system font family": {
"Select system font family": "" "Select system font family": "システムフォントファミリーを選ぶ"
}, },
"Select which transitions to include in randomization": { "Select which transitions to include in randomization": {
"Select which transitions to include in randomization": "含めたいトランジションをランダム化に選択" "Select which transitions to include in randomization": "含めたいトランジションをランダム化に選択"
}, },
"Separator": { "Separator": {
"Separator": "" "Separator": "区切り"
}, },
"Set different wallpapers for each connected monitor": { "Set different wallpapers for each connected monitor": {
"Set different wallpapers for each connected monitor": "接続されているモニターごとに異なる壁紙を設定する" "Set different wallpapers for each connected monitor": "接続されているモニターごとに異なる壁紙を設定する"
@@ -1077,7 +1077,7 @@
"Show on Overview": "概要に表示" "Show on Overview": "概要に表示"
}, },
"Show on all connected displays": { "Show on all connected displays": {
"Show on all connected displays": "" "Show on all connected displays": "すべての接続されたディスプレイに表示"
}, },
"Show on screens:": { "Show on screens:": {
"Show on screens:": "画面に表示:" "Show on screens:": "画面に表示:"
@@ -1089,28 +1089,28 @@
"Show weather information in top bar and control center": "トップバーとコントロールセンターに天気情報を表示" "Show weather information in top bar and control center": "トップバーとコントロールセンターに天気情報を表示"
}, },
"Shows all running applications with focus indication": { "Shows all running applications with focus indication": {
"Shows all running applications with focus indication": "" "Shows all running applications with focus indication": "実行中のすべてのアプリケーションをフォーカス状態で表示"
}, },
"Shows current workspace and allows switching": { "Shows current workspace and allows switching": {
"Shows current workspace and allows switching": "" "Shows current workspace and allows switching": "現在のワークスペースを表示、切り替えを可能に"
}, },
"Shows when microphone, camera, or screen sharing is active": { "Shows when microphone, camera, or screen sharing is active": {
"Shows when microphone, camera, or screen sharing is active": "" "Shows when microphone, camera, or screen sharing is active": "マイク、カメラ、または画面共有がアクティブなときに表示"
}, },
"Size": { "Size": {
"Size": "サイズ" "Size": "サイズ"
}, },
"Size Offset": { "Size Offset": {
"Size Offset": "" "Size Offset": "サイズオフセット"
}, },
"Spacer": { "Spacer": {
"Spacer": "" "Spacer": "間隔"
}, },
"Spacing": { "Spacing": {
"Spacing": "間隔" "Spacing": "間隔"
}, },
"Square Corners": { "Square Corners": {
"Square Corners": "コーナーを四角くする" "Square Corners": "四角コーナー"
}, },
"Start": { "Start": {
"Start": "始める" "Start": "始める"
@@ -1125,7 +1125,7 @@
"Storage & Disks": "ストレージとディスク" "Storage & Disks": "ストレージとディスク"
}, },
"Surface": { "Surface": {
"Surface": "" "Surface": "表面"
}, },
"Suspend": { "Suspend": {
"Suspend": "一時停止" "Suspend": "一時停止"
@@ -1155,19 +1155,19 @@
"System Monitoring:": "システム監視:" "System Monitoring:": "システム監視:"
}, },
"System Tray": { "System Tray": {
"System Tray": "" "System Tray": "システムトレイ"
}, },
"System Update": { "System Update": {
"System Update": "" "System Update": "システムアップデート"
}, },
"System Updates": { "System Updates": {
"System Updates": "システムアップデート" "System Updates": "システムアップデート"
}, },
"System notification area icons": { "System notification area icons": {
"System notification area icons": "" "System notification area icons": "システム通知エリアアイコン"
}, },
"Tab/Shift+Tab: Nav • ←→↑↓: Grid Nav • Enter/Space: Select": { "Tab/Shift+Tab: Nav • ←→↑↓: Grid Nav • Enter/Space: Select": {
"Tab/Shift+Tab: Nav • ←→↑↓: Grid Nav • Enter/Space: Select": "" "Tab/Shift+Tab: Nav • ←→↑↓: Grid Nav • Enter/Space: Select": "Tab/Shift+Tab: ナビゲーション • ←→↑↓: グリッドナビゲーション • Enter/Space: 選択"
}, },
"Technical Details": { "Technical Details": {
"Technical Details": "技術的な詳細" "Technical Details": "技術的な詳細"
@@ -1176,16 +1176,16 @@
"Temperature": "温度" "Temperature": "温度"
}, },
"Text": { "Text": {
"Text": "" "Text": "テキスト"
}, },
"The DMS_SOCKET environment variable is not set or the socket is unavailable. Automated plugin management requires the DMS_SOCKET.": { "The DMS_SOCKET environment variable is not set or the socket is unavailable. Automated plugin management requires the DMS_SOCKET.": {
"The DMS_SOCKET environment variable is not set or the socket is unavailable. Automated plugin management requires the DMS_SOCKET.": "DMS_SOCKET環境変数が設定されていないか、ソケットが利用できません。自動プラグイン管理にはDMS_SOCKETが必要です。" "The DMS_SOCKET environment variable is not set or the socket is unavailable. Automated plugin management requires the DMS_SOCKET.": "DMS_SOCKET環境変数が設定されていないか、ソケットが利用できません。自動プラグイン管理にはDMS_SOCKETが必要です。"
}, },
"The below settings will modify your GTK and Qt settings. If you wish to preserve your current configurations, please back them up (qt5ct.conf|qt6ct.conf and ~/.config/gtk-3.0|gtk-4.0).": { "The below settings will modify your GTK and Qt settings. If you wish to preserve your current configurations, please back them up (qt5ct.conf|qt6ct.conf and ~/.config/gtk-3.0|gtk-4.0).": {
"The below settings will modify your GTK and Qt settings. If you wish to preserve your current configurations, please back them up (qt5ct.conf|qt6ct.conf and ~/.config/gtk-3.0|gtk-4.0).": "" "The below settings will modify your GTK and Qt settings. If you wish to preserve your current configurations, please back them up (qt5ct.conf|qt6ct.conf and ~/.config/gtk-3.0|gtk-4.0).": "以下の設定は、GTKとQtの設定を変更します。現在の設定を維持したい場合は、バックアップを作成してくださいqt5ct.conf|qt6ct.conf および ~/.config/gtk-3.0|gtk-4.0)。"
}, },
"Theme & Colors": { "Theme & Colors": {
"Theme & Colors": "" "Theme & Colors": "テーマおよびカラー"
}, },
"Theme Color": { "Theme Color": {
"Theme Color": "テーマカラー" "Theme Color": "テーマカラー"
@@ -1194,16 +1194,16 @@
"Third-Party Plugin Warning": "サードパーティ製プラグインの警告" "Third-Party Plugin Warning": "サードパーティ製プラグインの警告"
}, },
"Third-party plugins are created by the community and are not officially supported by DankMaterialShell.\\n\\nThese plugins may pose security and privacy risks - install at your own risk.": { "Third-party plugins are created by the community and are not officially supported by DankMaterialShell.\\n\\nThese plugins may pose security and privacy risks - install at your own risk.": {
"Third-party plugins are created by the community and are not officially supported by DankMaterialShell.\\n\\nThese plugins may pose security and privacy risks - install at your own risk.": "" "Third-party plugins are created by the community and are not officially supported by DankMaterialShell.\\n\\nThese plugins may pose security and privacy risks - install at your own risk.": "サードパーティプラグインはコミュニティによって作成されており、DankMaterialShellによる公式サポートはありません。\\n\\nこれらのプラグインはセキュリティやプライバシーのリスクをもたらす可能性があります - 自己責任でインストールしてください。"
}, },
"This widget prevents GPU power off states, which can significantly impact battery life on laptops. It is not recommended to use this on laptops with hybrid graphics.": { "This widget prevents GPU power off states, which can significantly impact battery life on laptops. It is not recommended to use this on laptops with hybrid graphics.": {
"This widget prevents GPU power off states, which can significantly impact battery life on laptops. It is not recommended to use this on laptops with hybrid graphics.": "" "This widget prevents GPU power off states, which can significantly impact battery life on laptops. It is not recommended to use this on laptops with hybrid graphics.": "このウィジェットはGPUの省電力状態を防ぎ、ートパソコンのバッテリー寿命に大きな影響を与える可能性があります。ハイブリッドグラフィックス搭載のートパソコンでの使用は推奨されません。"
}, },
"This will permanently delete all clipboard history.": { "This will permanently delete all clipboard history.": {
"This will permanently delete all clipboard history.": "" "This will permanently delete all clipboard history.": "これはすべてのクリップボード履歴を完全に削除します。"
}, },
"Time & Date": { "Time & Date": {
"Time & Date": "" "Time & Date": "時間と日付"
}, },
"Today": { "Today": {
"Today": "今日" "Today": "今日"
@@ -1224,7 +1224,7 @@
"Turn off monitors after": "後にモニターの電源を切る" "Turn off monitors after": "後にモニターの電源を切る"
}, },
"Unpin from Dock": { "Unpin from Dock": {
"Unpin from Dock": "" "Unpin from Dock": "ドックから固定を解除"
}, },
"Unsaved Changes": { "Unsaved Changes": {
"Unsaved Changes": "保存されていない変更" "Unsaved Changes": "保存されていない変更"
@@ -1242,7 +1242,7 @@
"Update All": "すべて更新" "Update All": "すべて更新"
}, },
"Use 24-hour time format instead of 12-hour AM/PM": { "Use 24-hour time format instead of 12-hour AM/PM": {
"Use 24-hour time format instead of 12-hour AM/PM": "" "Use 24-hour time format instead of 12-hour AM/PM": "12時間制のAM/PMではなく、24時間表記を使用"
}, },
"Use Fahrenheit": { "Use Fahrenheit": {
"Use Fahrenheit": "華氏を使用する" "Use Fahrenheit": "華氏を使用する"
@@ -1254,7 +1254,7 @@
"Use Monospace Font": "等幅フォントを使用" "Use Monospace Font": "等幅フォントを使用"
}, },
"Use light theme instead of dark theme": { "Use light theme instead of dark theme": {
"Use light theme instead of dark theme": "" "Use light theme instead of dark theme": "ダークテーマではなく、ライトテーマを使用"
}, },
"Use%": { "Use%": {
"Use%": "使用%" "Use%": "使用%"
@@ -1263,28 +1263,28 @@
"Used": "使用済み" "Used": "使用済み"
}, },
"Uses sunrise/sunset times to automatically adjust night mode based on your location.": { "Uses sunrise/sunset times to automatically adjust night mode based on your location.": {
"Uses sunrise/sunset times to automatically adjust night mode based on your location.": "" "Uses sunrise/sunset times to automatically adjust night mode based on your location.": "あなたの位置情報に基づいて、日の出と日の入りの時間を使ってナイトモードを自動調整します。"
}, },
"Utilities": { "Utilities": {
"Utilities": "ユーティリティ" "Utilities": "ユーティリティ"
}, },
"VPN": { "VPN": {
"VPN": "" "VPN": "VPN"
}, },
"VPN Connections": { "VPN Connections": {
"VPN Connections": "VPN接続" "VPN Connections": "VPN接続"
}, },
"VPN status and quick connect": { "VPN status and quick connect": {
"VPN status and quick connect": "" "VPN status and quick connect": "VPNステータスとクイック接続"
}, },
"Visibility": { "Visibility": {
"Visibility": "可視性" "Visibility": "可視性"
}, },
"Visual divider between widgets": { "Visual divider between widgets": {
"Visual divider between widgets": "" "Visual divider between widgets": "ウィジェット間の視覚的分離"
}, },
"Visual effect used when wallpaper changes": { "Visual effect used when wallpaper changes": {
"Visual effect used when wallpaper changes": "" "Visual effect used when wallpaper changes": "壁紙が変更される時に使用されるビジュアルエフェクト"
}, },
"Wallpaper": { "Wallpaper": {
"Wallpaper": "壁紙" "Wallpaper": "壁紙"
@@ -1293,10 +1293,10 @@
"Wave Progress Bars": "ウェーブプログレスバー" "Wave Progress Bars": "ウェーブプログレスバー"
}, },
"Weather": { "Weather": {
"Weather": "" "Weather": "天気"
}, },
"Weather Widget": { "Weather Widget": {
"Weather Widget": "" "Weather Widget": "天気ウィジェット"
}, },
"WiFi is off": { "WiFi is off": {
"WiFi is off": "Wi-Fiはオフ中" "WiFi is off": "Wi-Fiはオフ中"
@@ -1308,7 +1308,7 @@
"Widget Styling": "ウィジェットのスタイル" "Widget Styling": "ウィジェットのスタイル"
}, },
"Widgets": { "Widgets": {
"Widgets": "" "Widgets": "ウィジェット"
}, },
"Wind": { "Wind": {
"Wind": "風" "Wind": "風"
@@ -1326,7 +1326,7 @@
"Workspace Settings": "ワークスペース設定" "Workspace Settings": "ワークスペース設定"
}, },
"Workspace Switcher": { "Workspace Switcher": {
"Workspace Switcher": "" "Workspace Switcher": "ワークスペーススイッチャー"
}, },
"You have unsaved changes. Save before closing this tab?": { "You have unsaved changes. Save before closing this tab?": {
"You have unsaved changes. Save before closing this tab?": "保存されていない変更があります。このタブを閉じる前に保存しますか?" "You have unsaved changes. Save before closing this tab?": "保存されていない変更があります。このタブを閉じる前に保存しますか?"
@@ -1347,7 +1347,7 @@
"official": "公式" "official": "公式"
}, },
"update dms for NM integration.": { "update dms for NM integration.": {
"update dms for NM integration.": "" "update dms for NM integration.": "NM統合のためにDMSを更新します。"
}, },
"• Install only from trusted sources": { "• Install only from trusted sources": {
"• Install only from trusted sources": "• 信頼できるソースからのみインストールする" "• Install only from trusted sources": "• 信頼できるソースからのみインストールする"

File diff suppressed because it is too large Load Diff