mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 15:57:25 +00:00
2
.gitignore
vendored
2
.gitignore
vendored
@@ -42,4 +42,4 @@ app.*.map.json
|
|||||||
/android/app/profile
|
/android/app/profile
|
||||||
/android/app/release
|
/android/app/release
|
||||||
|
|
||||||
./add_translation.py
|
add_translation.py
|
@@ -1,31 +0,0 @@
|
|||||||
import re
|
|
||||||
import json
|
|
||||||
|
|
||||||
path='./assets/translation.json'
|
|
||||||
|
|
||||||
with open(path, 'r',encoding='utf-8') as file:
|
|
||||||
translations=json.load(file)
|
|
||||||
|
|
||||||
|
|
||||||
while True:
|
|
||||||
line=input()
|
|
||||||
if line=="q":
|
|
||||||
break
|
|
||||||
words=line.split('-')
|
|
||||||
if len(words)!=3:
|
|
||||||
print("invalid entry:",line,"(len(words) != 3)"
|
|
||||||
continue
|
|
||||||
en=words[0]
|
|
||||||
cn=words[1]
|
|
||||||
tw=words[2]
|
|
||||||
translations["zh_CN"][en]=cn
|
|
||||||
translations["zh_TW"][en]=tw
|
|
||||||
|
|
||||||
|
|
||||||
with open(path, 'w',encoding='utf-8') as file:
|
|
||||||
json.dump(translations, file, indent=2,ensure_ascii=False)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -15,7 +15,7 @@ dependencies:
|
|||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
intl: any
|
intl: any
|
||||||
window_manager: ^0.4.2
|
window_manager: ^0.4.3
|
||||||
sqlite3: any
|
sqlite3: any
|
||||||
sqlite3_flutter_libs: any
|
sqlite3_flutter_libs: any
|
||||||
flutter_qjs:
|
flutter_qjs:
|
||||||
|
@@ -52,9 +52,11 @@ Source: "{#RootPath}\build\windows\x64\runner\Release\WebView2Loader.dll"; DestD
|
|||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\share_plus_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\share_plus_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\screen_retriever_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\screen_retriever_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "{#RootPath}\build\windows\x64\runner\Release\screen_retriever_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\zip_flutter.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\zip_flutter.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\rhttp.dll"; DestDir: "{app}"; Flags: ignoreversion
|
Source: "{#RootPath}\build\windows\x64\runner\Release\rhttp.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "{#RootPath}\build\windows\x64\runner\Release\lodepng_flutter.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
Source: "{#RootPath}\build\windows\x64\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
|
Source: "{#RootPath}\build\windows\x64\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user