Skip to content

Commit

Permalink
add zh string
Browse files Browse the repository at this point in the history
  • Loading branch information
ToDou committed Sep 1, 2016
1 parent abe5c16 commit b98f343
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 7 deletions.
66 changes: 66 additions & 0 deletions app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<resources>
<string name="app_name">CoReader</string>
<string name="title_activity_code_read">CoReader</string>
<string name="title_activity_add_repo">下载 Repo</string>
<string name="title_activity_setting">设置</string>

<string name="action_settings">设置</string>
<string name="action_go_out">退出</string>
<string name="action_save">保存项目</string>
<string name="action_repo_add">添加下载项目</string>
<string name="action_open_by_browser">用浏览器打开</string>

<!-- menu -->
<string name="menu_web_input">输入网址</string>

<!-- main -->
<string name="scroll_aware_fab_behavior">com.loopeer.codereader.ui.view.ScrollAwareFABBehavior</string>
<string name="header_item_github_search">Search</string>
<string name="header_item_github_search_link">https://github.com/search</string>
<string name="header_item_trending">Trending</string>
<string name="header_item_trending_link">https://github.com/trending</string>
<string name="repo_delete">Delete</string>

<!-- code read -->
<string name="code_read_not_found_type">无法解析对应文件</string>
<string name="code_read_no_file_open">还没有打开文件</string>

<!-- empty -->
<string name="empty_main_repo">Haven\'t opened file!You can open by bottom button</string>

<!-- download -->
<string name="repo_download_isunzip">解压...</string>

<!--search-->
<string name="search_hint_file">搜索文件</string>
<string name="search_hint_project">搜索项目</string>

<!-- download -->
<string name="repo_download_start">%s 开始下载</string>
<string name="repo_download_fail">%s 下载失败,错误的下载链接</string>
<string name="repo_download_complete">%s 下载完成</string>
<string name="repo_download_url_parse_error">该链接不能解析为下载链接</string>

<!-- web -->
<string name="web_url_input_hint">请输入网址</string>

<!-- add repo -->
<string name="add_repo_name_hint">本地项目保存名称</string>
<string name="add_repo_url_hint">项目的下载链接</string>
<string name="add_repo_btn">下载</string>

<!-- settings -->
<string name="setting_font_size">字体大小</string>
<string name="setting_show_line_number">显示行号</string>
<string name="setting_use_menlo_font">使用Menlo字体</string>
<string name="setting_theme">主题</string>
<string name="setting_about">关于我们</string>

<!-- about -->
<string name="about_coreader">CoReader</string>
<string name="about_email">[email protected]</string>
<string name="about_content">CoReader in Github\n联系方式: [email protected]\n如果您有什么好的提议或者bug,欢迎添加issue或者发送邮件给我们,我们会不断完善,方便大家阅读代码</string>
<string name="about_email_app_not_have">没有邮箱App,请安装后重试</string>
<string name="about_coreader_github_url">https://github.com/loopeer/code-reader</string>
<string name="about_email_content_tip">来自CoReader客户端</string>
</resources>
10 changes: 3 additions & 7 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<resources>
<string name="app_name">CoReader</string>
<string name="title_activity_code_read">CoReader</string>
<string name="title_activity_add_repo">Add Repo</string>
<string name="title_activity_add_repo">Download Repo</string>
<string name="title_activity_setting">Settings</string>

<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>


<string name="action_settings">Settings</string>
<string name="action_go_out">Go Out</string>
<string name="action_save">Save repo</string>
<string name="action_repo_add">Add repo</string>browser
<string name="action_repo_add">Download repo</string>browser
<string name="action_open_by_browser">Open by Browser</string>

<!-- menu -->
Expand Down Expand Up @@ -70,7 +66,7 @@
<!-- about -->
<string name="about_coreader">CoReader</string>
<string name="about_email">[email protected]</string>
<string name="about_content">CoReader in Github\nContact: [email protected]\nWe will thanks for your help to send email to us or add issue in Github</string>
<string name="about_content">CoReader in Github\nContact: [email protected]\nWe will thanks for your help to send email to us or add issue in Github.We will constantly improve the app.In order to let everyone read the code easily</string>
<string name="about_email_app_not_have">No email client configured, please setup and try again</string>
<string name="about_coreader_github_url">https://github.com/loopeer/code-reader</string>
<string name="about_email_content_tip">From CoReader App</string>
Expand Down

0 comments on commit b98f343

Please sign in to comment.