From 87c64c04e8efacc2375dd1e7cba9e40cce0029c5 Mon Sep 17 00:00:00 2001 From: Nova Date: Sat, 7 Dec 2024 00:41:42 +0330 Subject: [PATCH] clean up --- .gitmodules | 6 ------ CMakeLists.txt | 8 ++++---- appdmg.json | 18 ------------------ {translations => res/translations}/fa_IR.ts | 0 {translations => res/translations}/ru_RU.ts | 0 .../translations}/translations.qrc | 0 {translations => res/translations}/zh_CN.ts | 0 7 files changed, 4 insertions(+), 28 deletions(-) delete mode 100644 .gitmodules delete mode 100644 appdmg.json rename {translations => res/translations}/fa_IR.ts (100%) rename {translations => res/translations}/ru_RU.ts (100%) rename {translations => res/translations}/translations.qrc (100%) rename {translations => res/translations}/zh_CN.ts (100%) diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 971caf6..0000000 --- a/.gitmodules +++ /dev/null @@ -1,6 +0,0 @@ -[submodule "3rdparty/QHotkey"] - path = 3rdparty/QHotkey - url = https://github.com/Skycoder42/QHotkey.git -[submodule "3rdparty/qjs"] - path = 3rdparty/qjs - url = https://github.com/MatsuriDayo/qjs diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f71071..f174e2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -242,9 +242,9 @@ set_target_properties(nekoray PROPERTIES # Target Source Translations set(TS_FILES - translations/zh_CN.ts - translations/fa_IR.ts - translations/ru_RU.ts + res/translations/zh_CN.ts + res/translations/fa_IR.ts + res/translations/ru_RU.ts ) set(LUPDATE_OPTIONS -locations none -no-obsolete @@ -252,7 +252,7 @@ set(LUPDATE_OPTIONS qt_add_lupdate(nekoray TS_FILES ${TS_FILES} OPTIONS ${LUPDATE_OPTIONS}) qt_add_lrelease(nekoray TS_FILES ${TS_FILES} QM_FILES_OUTPUT_VARIABLE QM_FILES) -configure_file(translations/translations.qrc ${CMAKE_BINARY_DIR} COPYONLY) +configure_file(res/translations/translations.qrc ${CMAKE_BINARY_DIR} COPYONLY) target_sources(nekoray PRIVATE ${CMAKE_BINARY_DIR}/translations.qrc) # Target Link diff --git a/appdmg.json b/appdmg.json deleted file mode 100644 index d7f1a40..0000000 --- a/appdmg.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "title": "nekoray", - "icon": "res/nekoray.icns", - "contents": [ - { - "x": 448, - "y": 344, - "type": "link", - "path": "/Applications" - }, - { - "x": 192, - "y": 344, - "type": "file", - "path": "build/nekoray.app" - } - ] -} \ No newline at end of file diff --git a/translations/fa_IR.ts b/res/translations/fa_IR.ts similarity index 100% rename from translations/fa_IR.ts rename to res/translations/fa_IR.ts diff --git a/translations/ru_RU.ts b/res/translations/ru_RU.ts similarity index 100% rename from translations/ru_RU.ts rename to res/translations/ru_RU.ts diff --git a/translations/translations.qrc b/res/translations/translations.qrc similarity index 100% rename from translations/translations.qrc rename to res/translations/translations.qrc diff --git a/translations/zh_CN.ts b/res/translations/zh_CN.ts similarity index 100% rename from translations/zh_CN.ts rename to res/translations/zh_CN.ts