chore: remove useless files

This commit is contained in:
x-tools-author 2024-03-23 12:03:20 +08:00
parent d6ef3095ba
commit d31b119917
47 changed files with 0 additions and 106768 deletions

View File

@ -1,75 +0,0 @@
set(lupdate "${Qt${QT_VERSION_MAJOR}_DIR}/../../../bin/lupdate.exe")
set(lrelease "${Qt${QT_VERSION_MAJOR}_DIR}/../../../bin/lrelease.exe")
function(sak_linguist_update)
# Create ts file.
set(COMMON_STR ${lupdate} ${CMAKE_SOURCE_DIR} -no-obsolete -ts)
add_custom_target(
LinguistUpdate
COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_en.ts
COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_zh_CN.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts
# COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts
SOURCES ${CMAKE_SOURCE_DIR}/.cmake/sak_i18n.cmake
VERBATIM)
endfunction()
function(sak_linguist_release)
# Create qm file.
add_custom_target(
LinguistRelease
COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_en.ts
COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_zh_CN.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts
# COMMAND ${lrelease} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts
SOURCES ${CMAKE_SOURCE_DIR}/.cmake/sak_i18n.cmake
VERBATIM)
add_dependencies(LinguistRelease LinguistUpdate)
# Auto create ts files and qm files.
option(SAK_AUTO_I18N "" OFF)
if(SAK_AUTO_I18N)
add_custom_target(sak_i18n)
add_dependencies(sak_i18n LinguistRelease)
endif()
endfunction()
sak_linguist_update()
sak_linguist_release()

View File

@ -1,22 +0,0 @@
lrelease -compress -ts sak_en.ts
lrelease -compress -ts sak_zh_CN.ts
lrelease -compress -ts sak_ar.ts
lrelease -compress -ts sak_cs.ts
lrelease -compress -ts sak_da.ts
lrelease -compress -ts sak_de.ts
lrelease -compress -ts sak_es.ts
lrelease -compress -ts sak_fa.ts
lrelease -compress -ts sak_fi.ts
lrelease -compress -ts sak_fr.ts
lrelease -compress -ts sak_he.ts
lrelease -compress -ts sak_uk.ts
lrelease -compress -ts sak_it.ts
lrelease -compress -ts sak_ja.ts
lrelease -compress -ts sak_ko.ts
lrelease -compress -ts sak_lt.ts
lrelease -compress -ts sak_pl.ts
lrelease -compress -ts sak_pt.ts
lrelease -compress -ts sak_ru.ts
lrelease -compress -ts sak_sk.ts
lrelease -compress -ts sak_sl.ts
lrelease -compress -ts sak_sv.ts

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +0,0 @@
lupdate -source-language en ../../qml ../../src -ts sak_en.ts
lupdate -source-language en ../../qml ../../src -ts sak_zh_CN.ts
lupdate -source-language en ../../qml ../../src -ts sak_ar.ts
lupdate -source-language en ../../qml ../../src -ts sak_cs.ts
lupdate -source-language en ../../qml ../../src -ts sak_da.ts
lupdate -source-language en ../../qml ../../src -ts sak_de.ts
lupdate -source-language en ../../qml ../../src -ts sak_es.ts
lupdate -source-language en ../../qml ../../src -ts sak_fa.ts
lupdate -source-language en ../../qml ../../src -ts sak_fi.ts
lupdate -source-language en ../../qml ../../src -ts sak_fr.ts
lupdate -source-language en ../../qml ../../src -ts sak_he.ts
lupdate -source-language en ../../qml ../../src -ts sak_uk.ts
lupdate -source-language en ../../qml ../../src -ts sak_it.ts
lupdate -source-language en ../../qml ../../src -ts sak_ja.ts
lupdate -source-language en ../../qml ../../src -ts sak_ko.ts
lupdate -source-language en ../../qml ../../src -ts sak_lt.ts
lupdate -source-language en ../../qml ../../src -ts sak_pl.ts
lupdate -source-language en ../../qml ../../src -ts sak_pt.ts
lupdate -source-language en ../../qml ../../src -ts sak_ru.ts
lupdate -source-language en ../../qml ../../src -ts sak_sk.ts
lupdate -source-language en ../../qml ../../src -ts sak_sl.ts
lupdate -source-language en ../../qml ../../src -ts sak_sv.ts