refactor: move translation to independent directory

This commit is contained in:
2026-09-10 09:58:53 +08:00
parent f9991998ed
commit f946247d1d
22 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ set (PPIC_RC_FILES
set (EXE_NAME ppic)
# Translation
file (GLOB PPIC_TS_FILES app/translations/*.ts)
file (GLOB PPIC_TS_FILES locales/app/*.ts)
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
if (WIN32)
+1 -1
View File
@@ -21,7 +21,7 @@ SPDX-FileCopyrightText = "2025 Gary Wang"
SPDX-License-Identifier = "MIT"
[[annotations]]
path = ["app/translations/**.ts", "assets/plain/translators.html"]
path = ["locales/app/**.ts", "assets/plain/translators.html"]
precedence = "aggregate"
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
SPDX-License-Identifier = "MIT"