Skip to content

Commit

Permalink
reconfigured translation services
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolcha committed Sep 10, 2024
1 parent fe29596 commit 2507fd3
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ find_package(Qt6 6.5 REQUIRED COMPONENTS Widgets Network Svg
OPTIONAL_COMPONENTS Multimedia)
find_package(Qt6 6.7 REQUIRED COMPONENTS LinguistTools)

qt_standard_project_setup(I18N_TRANSLATED_LANGUAGES en ru_RU zh_CN)
qt_standard_project_setup(I18N_TRANSLATED_LANGUAGES en ru zh_CN)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
include(clock_utils)
Expand Down
File renamed without changes.
53 changes: 10 additions & 43 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"project_id": "712223"
"project_id": "715677"
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
"base_path": "."
"base_url": "https://api.crowdin.com"
Expand All @@ -7,47 +7,14 @@

files: [
{
"source": "app/i18n/digital_clock_en.ts",
"translation": "app/i18n/digital_clock_%locale_with_underscore%.ts",
},
{
"source": "plugin_core/i18n/plugin_core_en.ts",
"translation": "plugin_core/i18n/plugin_core_%locale_with_underscore%.ts",
},
{
"source": "plugins/any_zoom/i18n/any_zoom_en.ts",
"translation": "plugins/any_zoom/i18n/any_zoom_%locale_with_underscore%.ts",
},
{
"source": "plugins/chime/i18n/chime_en.ts",
"translation": "plugins/chime/i18n/chime_%locale_with_underscore%.ts",
},
{
"source": "plugins/countdown_timer/i18n/countdown_timer_en.ts",
"translation": "plugins/countdown_timer/i18n/countdown_timer_%locale_with_underscore%.ts",
},
{
"source": "plugins/date/i18n/date_en.ts",
"translation": "plugins/date/i18n/date_%locale_with_underscore%.ts",
},
{
"source": "plugins/quick_note/i18n/quick_note_en.ts",
"translation": "plugins/quick_note/i18n/quick_note_%locale_with_underscore%.ts",
},
{
"source": "plugins/random_position/i18n/random_position_en.ts",
"translation": "plugins/random_position/i18n/random_position_%locale_with_underscore%.ts",
},
{
"source": "plugins/spectrum_clock/i18n/spectrum_clock_en.ts",
"translation": "plugins/spectrum_clock/i18n/spectrum_clock_%locale_with_underscore%.ts",
},
{
"source": "plugins/stopwatch/i18n/stopwatch_en.ts",
"translation": "plugins/stopwatch/i18n/stopwatch_%locale_with_underscore%.ts",
},
{
"source": "plugins/var_translucency/i18n/var_translucency_en.ts",
"translation": "plugins/var_translucency/i18n/var_translucency_%locale_with_underscore%.ts",
"source": "**/*_en.ts",
"translation": "%original_path%/%file_name%_%two_letters_code%.ts",
"translation_replace": {
"_en": "",
},
"ignore": [
"build/**",
"plugins/sample/**",
],
},
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2507fd3

Please sign in to comment.