Skip to content

Commit

Permalink
(intl) Add chinese supports roughly
Browse files Browse the repository at this point in the history
  • Loading branch information
violet-dev committed Jul 22, 2020
1 parent da0c907 commit fa5d393
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 1 deletion.
185 changes: 185 additions & 0 deletions assets/locale/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"title": "Violet",
"notice": "Notice",
"main": "Main",
"search": "搜索",
"download": "Download",
"bookmark": "书签",
"community": "社区",
"settings": "Settings",
"news": "更新",
"theme": "Theme",
"darkmode": "Dark Mode",
"colorsetting":"颜色设置",
"defaulttag":"默认标签",
"currenttag":"当前标签: ",
"excludetag":"独家标签",
"blurredtag":"模糊的标签",
"howtoshowsearchresult":"如何显示搜索结果",
"system": "System",
"savedir": "保存目录",
"curdir": "当前目录",
"logrecord": "日志记录",
"language":"Language",
"info": "信息",
"devtool": "开发人员工具",
"viewer": "查看器",
"viewertype": "查看器类型",
"currenttype": "当前类型",
"scrollview": "滚动视图",
"bookview": "Book View",
"imgquality": "图像质量",
"downloader": "Downloader",
"instagram": "Instagram",
"twitter": "Twitter",
"pixiv": "Pixiv",
"cache": "缓存",
"tagtranslation": "标签翻译 (to Korean)",
"showcount": "显示计数",
"fuzzysearch": "模糊搜索",
"update":"更新",
"checkupdate": "检查更新",
"etc":"",
"discord":"Discord Channel",
"project":"Project",
"contact":"联系人",
"donate": "捐赠",
"externallink": "外部链接",
"license":"许可证",
"srt0": "3线网格视图",
"srt1": "2线网格视图",
"srt2": "线性视图",
"srt3": "详细信息视图",
"tagdisplay": " 标签显示",
"numcunuser": "并发用户数: ",
"termsofuse": "使用条款",
"tag": "标签",
"ok": "好的",
"cancel": "取消",
"switching": "Switching",
"syncmanual": "手动同步",
"tagrebuild": "标签重建",

"read": "Read",
"artists": "Artists",
"groups": "Groups",
"tags": "Tags",
"series": "Series",
"character": "Character",
"type": "Type",
"uploader": "Uploader",
"id": "Id",
"class": "Class",
"comment": "Comments",
"preview": "Preview",
"articles": "Articles",
"similar": "Similar",
"iartists": "Artists",
"igroups": "Groups",
"iuploader": "Uploaders",
"score": "Score",
"more": "More...",

"database": "Database",
"welcome": "Welcome to Violet. You must download the database before using this app.",
"dbuser": "English Database",
"dbdownloadsize": " Download Size",
"dbusermsg": "Database pack containing user language and n/a. The storage requires %s of additional storage space. This database currently contains the latest data, but in order to keep the database up-to-date, you must follow the instructions to synchronize the data.",
"dballname": "All Language Database",
"dballmsg": "This is a database pack containing all languages. The storage requires %s of additional storage space. This database currently contains the latest data, but in order to keep the database up-to-date, you must follow the instructions to synchronize the data. Do not use this database unless it is a special case.",
"dbwarn": "This database is very large and may contain unnecessary data for the user. The size of the database is directly proportional to the performance of data reads/writes, so this database can cause a very large performance hit. Would you like to download it anyway?",
"warning": "Warning",
"dbalready": "Have you already downloaded the database?",
"dbalreadyerr": "Error! No file selected!\nPlease try again.",

"dbdwaitforrequest": "Waiting for a request...",
"dbderror": "Error! Contact the developer.",
"dbdcheck": "Checking database...",
"dbdcheckerr": "This is not a database file or the file is corrupted!\nPlease try again!",
"dbdunzip": "Unpacking...",
"dbdretry": "An error has occurred!\nPlease check your internet connection and try again!",
"dbdindexing": "Indexing... ",
"dbdcomplete": "Done!\nPlease restart app!",
"dbdname": "Database Downloader",
"dbddownloading": "Downloading...",

"nosearchresult": "No search results found :(",
"inputsearchtoken": "Please enter a search term!",
"closedoubletap": "Press again to exit.",
"selectcolor": "Select a color",
"addtobookmark": " has been added to bookmarks.",
"removetobookmark": " has been removed from the bookmark.",
"infomessage": "The developer does not collect any information from users. All images and details are provided by hitomi.la, e-hentai.org or exhentai.org.",
"tagmsgdefault": "This setting is a search term setting.",
"tagrebuildmsg": "Tag rebuilding is the process of resetting autocomplete tags according to the settings given above. To rebuild the database, see the database group below. Will you continue?",

"notice1": "Thank you for downloading my app.",
"notice21": "Please send your inquiries to ",
"notice22": ".",
"notice3": "Any inquiries are welcome!",
"notice4": "This app has nothing to do with",
"notice5": "hitomi.la, e-hentai.org, exhentai.org.",

"locking": "Locking",
"enable_locking": "Enable Locking",
"network": "Networking",
"routing_rule": "Routing Rule",
"proxy": "Proxy",


"selectall": "Select All",
"deselectall": "DeSelect All",
"inverse": "Invert Selections",

"readrecord": "Read Record",
"readrecorddesc": "Viewed more than once articles are recorded.",
"unclassified": "Unclassified",
"unclassifieddesc": "Unclassified bookmarks",
"cannotmodifydefaultgroup": "The default group cannot be modified.",
"filtering": "Filtering",
"editorder": "Edit Order",
"newgroup": "New Group",
"modifygroupinfo": "Modify Group Information",
"name": "Name",
"desc": "Description",
"delete": "Delete",
"deletegroupmsg": "Deleted groups cannot be recovered. All bookmarks within the group are also deleted. Are you sure you want to delete this group?",
"readpage": "Read Until Page",
"deletebookmarkmsg": "Do you want to delete all %s items? This action is irreversible.",
"wheretomove": "Where to move?",
"movetoto": "Move %2 items to'%1'?",
"movebookmark": "Move Bookmark",
"thisislatestbookmark": "Database is already up to date.",
"importingbookmark": "Import Bookmark",
"exportingbookmark": "Export Bookmark",
"noauth": "You do not have permission to run it.",
"noselectedb": "No database selected.",
"importbookmark": "Bookmark Imported!",
"exportbookmark": "Bookmark Exported!",
"record": "Record",
"recordmessage": "There is a record that you have read up to %s page before. Do you want to continue reading?",
"synccomplete": "Synchronization is complete!",
"right2left": "Read Right To Left",
"newupdate": "New update available!",
"latestver": "This is the latest version!",

"yes": "Yes",
"no": "No",

"date": "Date",
"complete": "Complete",
"waitqueue": "Waiting queue...",
"progress": "Progress",
"waitdownload": "Waiting for download...",
"extracting": "Extracting...",
"count": "%s",
"stop": "Stopped",
"unknownerr": "Unknown Error",
"urlnotsupport": "This URL does not support",
"tryagainlogin": "Try again, after login!",
"dinfo": "Info",
"state": "State",
"addurl": "Add URL",
"writeurl": "Write URL.",
"nothingtodownload": "Nothing to download :("
}
2 changes: 1 addition & 1 deletion lib/pages/settings/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ class _SettingsPageState extends State<SettingsPage>
CountryPickerUtils.getCountryByIsoCode('US'),
CountryPickerUtils.getCountryByIsoCode('KR'),
CountryPickerUtils.getCountryByIsoCode('JP'),
// CountryPickerUtils.getCountryByIsoCode('CN'),
CountryPickerUtils.getCountryByIsoCode('CN'),
// CountryPickerUtils.getCountryByIsoCode('RU'),
],
itemBuilder: (Country country) {
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ flutter:
- assets/locale/en.json
- assets/locale/ko.json
- assets/locale/ja.json
- assets/locale/zh.json
# - assets/images/loading.gif

# - assets/test/001.jpg
Expand Down

0 comments on commit fa5d393

Please sign in to comment.