refactor: move translation to independent directory
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ set (PPIC_RC_FILES
|
|||||||
set (EXE_NAME ppic)
|
set (EXE_NAME ppic)
|
||||||
|
|
||||||
# Translation
|
# 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})
|
set (PPIC_CPP_FILES_FOR_I18N ${PPIC_CPP_FILES})
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
|||||||
+1
-1
@@ -21,7 +21,7 @@ SPDX-FileCopyrightText = "2025 Gary Wang"
|
|||||||
SPDX-License-Identifier = "MIT"
|
SPDX-License-Identifier = "MIT"
|
||||||
|
|
||||||
[[annotations]]
|
[[annotations]]
|
||||||
path = ["app/translations/**.ts", "assets/plain/translators.html"]
|
path = ["locales/app/**.ts", "assets/plain/translators.html"]
|
||||||
precedence = "aggregate"
|
precedence = "aggregate"
|
||||||
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
|
SPDX-FileCopyrightText = "Translators from hosted.weblate.org"
|
||||||
SPDX-License-Identifier = "MIT"
|
SPDX-License-Identifier = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user