Skip to content

Commit 57ebde8

Browse files
Reshape nested i18n keys across locales and call sites (#266)
Nest flat camelCase locale clusters in lockstep across all locale files and rewrite matching data-i18n / key string call sites so CI locale sync stays consistent. --------- Co-authored-by: Taromati2 <taromati2@outlook.com>
1 parent 5d65472 commit 57ebde8

210 files changed

Lines changed: 36285 additions & 30602 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/pages/wait/install/error/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
<img src="https://api.iconify.design/line-md/alert.svg" class="flex-shrink-0 w-6 h-6" />
106106
<div>
107107
<h3 class="font-bold" data-i18n="installer_wait_screen.error.connection_failed"></h3>
108-
<div class="text-xs" data-i18n="installer_wait_screen.error.description1"></div>
109-
<div class="text-xs" data-i18n="installer_wait_screen.error.description2"></div>
108+
<div class="text-xs" data-i18n="installer_wait_screen.error.summary"></div>
109+
<div class="text-xs" data-i18n="installer_wait_screen.error.retryHint"></div>
110110
</div>
111111
<button class="btn btn-sm btn-primary" onclick="window.close()" data-i18n="installer_wait_screen.error.close_page"></button>
112112
</div>

.github/pages/wait/install/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ <h1 class="mb-5 text-5xl font-bold" data-i18n="installer_wait_screen.hero.title"
7373
<!-- Feature 1: Seamless Conversations -->
7474
<div class="feature-section flex flex-col md:flex-row items-center gap-12 mb-24">
7575
<div class="md:w-1/2">
76-
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature1.title"></h2>
77-
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.feature1.description"></p>
76+
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.features.seamlessChat.title"></h2>
77+
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.features.seamlessChat.description"></p>
7878
</div>
7979
<div class="md:w-1/2">
8080
<img src="https://github.com/user-attachments/assets/05a5ad16-cc9a-49be-8c55-0c11353cb0d2" alt="Homepage Screenshot" class="rounded-lg shadow-2xl w-full">
@@ -84,8 +84,8 @@ <h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature1.ti
8484
<!-- Feature 2: Customization -->
8585
<div class="feature-section flex flex-col md:flex-row-reverse items-center gap-12 mb-24">
8686
<div class="md:w-1/2">
87-
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature2.title"></h2>
88-
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.feature2.description"></p>
87+
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.features.customUi.title"></h2>
88+
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.features.customUi.description"></p>
8989
</div>
9090
<div class="md:w-1/2">
9191
<img src="https://github.com/user-attachments/assets/0d327a06-6446-4bf3-8a05-f941aa5f4ed9" alt="Theme Selection" class="rounded-lg shadow-2xl w-full">
@@ -95,8 +95,8 @@ <h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature2.ti
9595
<!-- Feature 3: Expressive Chats -->
9696
<div class="feature-section flex flex-col md:flex-row items-center gap-12 mb-24">
9797
<div class="md:w-1/2">
98-
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature3.title"></h2>
99-
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.feature3.description"></p>
98+
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.features.expressiveChat.title"></h2>
99+
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.features.expressiveChat.description"></p>
100100
</div>
101101
<div class="md:w-1/2">
102102
<img src="https://github.com/user-attachments/assets/eea1cc7c-d258-4a2d-b16f-12815a88811d" alt="Chat Screenshot" class="rounded-lg shadow-2xl w-full">
@@ -106,8 +106,8 @@ <h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature3.ti
106106
<!-- Feature 4: Unshackled AI Integration -->
107107
<div class="feature-section flex flex-col md:flex-row-reverse items-center gap-12">
108108
<div class="md:w-1/2">
109-
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.feature4.title"></h2>
110-
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.feature4.description" data-atlas-cloud-link="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=fount" data-evolink-link="https://evolink.ai/?utm_source=github&utm_medium=link&utm_campaign=fount"></p>
109+
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.features.aiSources.title"></h2>
110+
<p class="text-lg text-base-content text-opacity-80" data-i18n="installer_wait_screen.features.aiSources.description" data-atlas-cloud-link="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=fount" data-evolink-link="https://evolink.ai/?utm_source=github&utm_medium=link&utm_campaign=fount"></p>
111111
</div>
112112
<div class="md:w-1/2">
113113
<img src="https://github.com/user-attachments/assets/f283d1de-c531-4b7a-bf43-3cbe0c48b7b9" alt="AI source integration" class="rounded-lg shadow-2xl w-full">
@@ -241,8 +241,8 @@ <h2 class="text-2xl font-bold text-center">Preview</h2>
241241
<!-- Section Header -->
242242
<div class="text-center mb-12">
243243
<h2 class="text-4xl font-bold mb-4" data-i18n="installer_wait_screen.mini_game.title"></h2>
244-
<p class="text-lg text-base-content text-opacity-80 max-w-3xl mx-auto" data-i18n="installer_wait_screen.mini_game.description1"></p>
245-
<p class="text-lg text-base-content text-opacity-80 max-w-3xl mx-auto mt-2" data-i18n="installer_wait_screen.mini_game.description2"></p>
244+
<p class="text-lg text-base-content text-opacity-80 max-w-3xl mx-auto" data-i18n="installer_wait_screen.mini_game.slowInstallHint"></p>
245+
<p class="text-lg text-base-content text-opacity-80 max-w-3xl mx-auto mt-2" data-i18n="installer_wait_screen.mini_game.playWhileWaiting"></p>
246246
</div>
247247

248248
<!-- Game Iframe -->

path/fount.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1472,8 +1472,8 @@ function run {
14721472
Get-Process tray_windows_release -ErrorAction Ignore | Where-Object { $_.CPU -gt 0.5 } | Stop-Process
14731473
}
14741474
if (isRoot) {
1475-
Write-Warning (Get-I18n -key 'install.rootWarning1')
1476-
Write-Warning (Get-I18n -key 'install.rootWarning2')
1475+
Write-Warning (Get-I18n -key 'install.rootWarningAsRoot')
1476+
Write-Warning (Get-I18n -key 'install.rootWarningPreferUser')
14771477
}
14781478
Write-TaskbarProgress -Percent 5
14791479
$originalTitle = Get-Title

0 commit comments

Comments
 (0)