aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Settings/Categories/Display.svelte5
-rw-r--r--src/lib/Styles/input.css8
-rw-r--r--src/lib/locale/en.json13
-rw-r--r--src/lib/locale/ja.json13
4 files changed, 39 insertions, 0 deletions
diff --git a/src/lib/Settings/Categories/Display.svelte b/src/lib/Settings/Categories/Display.svelte
index 553204ce..ee53dd9e 100644
--- a/src/lib/Settings/Categories/Display.svelte
+++ b/src/lib/Settings/Categories/Display.svelte
@@ -72,6 +72,11 @@
/>
<SettingCheckboxToggle setting="displayDisableNotifications" text="Disable notifications" />
<SettingCheckboxToggle setting="displayLimitListHeight" text="Limit panel area to screen height" />
+<select bind:value={$settings.displayLanguage}>
+ <option value="en">English</option>
+ <option value="ja">Japanese</option>
+</select>
+Interface language <button class="unclickable-button button-badge badge-info">Beta</button>
<p />
diff --git a/src/lib/Styles/input.css b/src/lib/Styles/input.css
index 0f2b810f..381f2ebe 100644
--- a/src/lib/Styles/input.css
+++ b/src/lib/Styles/input.css
@@ -113,6 +113,14 @@ button:disabled:active {
transform: scale(0.75);
}
+.unclickable-button {
+ transform: scale(1);
+}
+
+.unclickable-button:active {
+ transform: scale(1) !important;
+}
+
.smaller-button {
background-color: var(--base0C);
transform: scale(0.75);
diff --git a/src/lib/locale/en.json b/src/lib/locale/en.json
new file mode 100644
index 00000000..f968a7d6
--- /dev/null
+++ b/src/lib/locale/en.json
@@ -0,0 +1,13 @@
+{
+ "navigation": {
+ "home": "Home",
+ "completed": "Completed",
+ "subtitle_schedule": "Subtitle Schedule",
+ "new_releases": "New Releases",
+ "tools": "Tools",
+ "settings": "Settings",
+ "profile": "Profile",
+ "log_in": "Log in with AniList",
+ "log_out": "Log out"
+ }
+}
diff --git a/src/lib/locale/ja.json b/src/lib/locale/ja.json
new file mode 100644
index 00000000..6c6afb38
--- /dev/null
+++ b/src/lib/locale/ja.json
@@ -0,0 +1,13 @@
+{
+ "navigation": {
+ "home": "ホーム",
+ "completed": "完成メディア",
+ "subtitle_schedule": "字幕スケジュール",
+ "new_releases": "新発売",
+ "tools": "ツール",
+ "settings": "設定",
+ "profile": "プロフィール",
+ "log_in": "AniListでログイン",
+ "log_out": "ログアウト"
+ }
+}