-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): add support for localization
closes: #267 Signed-off-by: Jordan Shatford <[email protected]>
- Loading branch information
1 parent
f01ed6a
commit 4489bf1
Showing
27 changed files
with
1,125 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cq/web": minor | ||
--- | ||
|
||
feat: add support for localization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/paraglide |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
import vue from '@cq/config/eslint/vue' | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default vue | ||
export default [ | ||
{ | ||
ignores: ['src/paraglide/*'] | ||
}, | ||
...vue | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/inlang-message-format", | ||
"allowed_commands": "Allowed Commands:", | ||
"allowed_commands_description": "Commands allowed to be used in chat.", | ||
"allowed_providers": "Allowed Providers:", | ||
"allowed_providers_description": "Clips from these providers will be allowed in the queue.", | ||
"application_version": "Application version: v{version}", | ||
"auto_mod": "Auto Moderation:", | ||
"auto_mod_description": "When a user has their chat message deleted, is timed out, or banned, the clips they submitted will be removed.", | ||
"cancel": "Cancel", | ||
"chat_settings_saved": "Chat settings saved.", | ||
"clear": "Clear", | ||
"clips": "{length} clip(s)", | ||
"clip_cache_purged": "Clip cache purged.", | ||
"clip_history_purged": "Clip history purged.", | ||
"close": "Close", | ||
"confirm": "Confirm", | ||
"command_prefix": "Command Prefix:", | ||
"command_prefix_description": "Commands in chat must be prefixed by this value.", | ||
"command_open": "Open the queue.", | ||
"command_close": "Close the queue.", | ||
"command_clear": "Remove all clips in the queue.", | ||
"command_set_limit": "Set queue size limit.", | ||
"command_remove_limit": "Remove the queue size limit.", | ||
"command_previous": "Switch to the previous clip.", | ||
"command_next": "Switch to the next clip.", | ||
"command_remove_by_submitter": "Remove clips sent by the submitter.", | ||
"command_remove_by_provider": "Remove clips from the provider.", | ||
"command_enable_provider": "Enable the specified provider.", | ||
"command_disable_provider": "Disable the specified provider.", | ||
"command_enable_auto_mod": "Enable auto moderation.", | ||
"command_disable_auto_mod": "Disable auto moderation.", | ||
"command_purge_cache": "Purge all cached clips.", | ||
"command_purge_history": "Purge all historically watched clips.", | ||
"connected_chat_colon": "Connected Chat:", | ||
"delete_history": "Delete History", | ||
"delete_history_confirm": "Are you sure you want to delete {length} clip(s) from the history?", | ||
"delete_label": "Delete", | ||
"experimental_providers_selected": "Experimental providers selected: {names}", | ||
"feature_connect_title": "Connect to Chat", | ||
"feature_connect_description": "Log in to automatically connect to your Twitch chat. Clips submitted by users in chat will be queued.", | ||
"feature_duplicate_prevent_title": "Duplicate Prevention", | ||
"feature_duplicate_prevent_description": "Duplicate clips will not make it into the queue. This includes clips watched during previous sessions.", | ||
"feature_popularity_title": "Popular Clips Rise Up", | ||
"feature_popularity_description": "Clips being repeately submitted by many users will rise up in the queue allowing it to be viewed sooner.", | ||
"feature_commands_title": "Chat Commands", | ||
"feature_commands_description": "Moderators of the channel can use chat commands to interact directly with the queue.", | ||
"feature_moderation_title": "Automatic Moderation", | ||
"feature_moderation_description": "Moderation performed in chat will effect the clips submitted by those users.", | ||
"feature_settings_title": "Settings Customization", | ||
"feature_settings_description": "Personalize your experience through the vast choices of customizable settings.", | ||
"history": "History", | ||
"info": "Info", | ||
"message_no_clip_providers_enabled": "No clip providers enabled. Please enable one in the settings.", | ||
"next": "Next", | ||
"none": "None", | ||
"no_clips_previously_watched": "No clips previously watched.", | ||
"open": "Open", | ||
"play": "Play", | ||
"preferences_saved": "Preferences saved.", | ||
"previous": "Previous", | ||
"primary_color": "Primary Color:", | ||
"primary_color_description": "Primary color used throughout the UI.", | ||
"provider": "Provider", | ||
"provider_colon": "Provider:", | ||
"purge_cache": "Purge Cache", | ||
"purge_cache_description": "Clips submitted may be cached for future use. Purge all cached clips.", | ||
"purge_cache_confirm": "Are you sure you want to purge all clips cached locally?", | ||
"purge_history": "Purge History", | ||
"purge_history_description": "Purge all clips previously viewed allowing them to be resubmitted.", | ||
"purge_history_confirm": "Are you sure you want to purge all clips from the history?", | ||
"queue": "Queue", | ||
"queue_settings_saved": "Queue settings saved.", | ||
"remove": "Remove", | ||
"reset_settings": "Reset Settings", | ||
"reset_settings_description": "Reset settings back to their initial values.", | ||
"reset_settings_confirm": "Are you sure you want to reset all settings to the default values?", | ||
"save": "Save", | ||
"search": "Search", | ||
"settings": "Settings", | ||
"settings_chat": "Chat Settings", | ||
"settings_other": "Other Settings", | ||
"settings_preferences": "Preferences", | ||
"settings_queue": "Queue Settings", | ||
"settings_reset": "Settings reset to default.", | ||
"size_limit": "Size Limit:", | ||
"size_limit_description": "The number of clips allowed in the queue. Leave empty for no limit.", | ||
"success": "Success", | ||
"submitter": "Submitter", | ||
"submitter_name": "Submitter: {name}", | ||
"surface_color": "Surface Color:", | ||
"surface_color_description": "Surface color used throughout the UI.", | ||
"tagline": "An enhanced clip viewing experience.", | ||
"title": "Clip Queue", | ||
"upcoming_clips": "Upcoming Clips" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e3ad4c3195c1fe93ba0732d0c48e8836c18c751af29938bdd03543ceadddb43b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "https://inlang.com/schema/project-settings", | ||
"sourceLanguageTag": "en", | ||
"languageTags": ["en"], | ||
"modules": [ | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-identical-pattern@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-valid-js-identifier@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-snake-case-id@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", | ||
"https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" | ||
], | ||
"plugin.inlang.messageFormat": { | ||
"pathPattern": "./messages/{languageTag}.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.