Skip to content
This repository has been archived by the owner on Aug 26, 2019. It is now read-only.

Commit

Permalink
update string
Browse files Browse the repository at this point in the history
  • Loading branch information
onlymash committed Mar 29, 2018
1 parent 3e539fb commit 9361ba5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ public boolean onPreferenceClick(Preference preference) {

private void showExportDialog(){
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setTitle(getString(R.string.settings_advanced_export_data_to_location));
builder.setTitle(getString(R.string.settings_advanced_export_data_location));
final CharSequence[] items = new CharSequence[]{
getString(R.string.settings_advanced_export_data_device_storage),
getString(R.string.settings_advanced_export_data_document_storage)
getString(R.string.settings_advanced_data_device_storage),
getString(R.string.settings_advanced_data_document_storage)
};
builder.setItems(items, new DialogInterface.OnClickListener() {
@Override
Expand Down Expand Up @@ -167,10 +167,10 @@ private void customExportData(){

private void showImportDialog(){
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
builder.setTitle(getString(R.string.settings_advanced_import_data));
builder.setTitle(getString(R.string.settings_advanced_import_data_location));
final CharSequence[] items = new CharSequence[]{
getString(R.string.settings_advanced_export_data_device_storage),
getString(R.string.settings_advanced_export_data_document_storage)
getString(R.string.settings_advanced_data_device_storage),
getString(R.string.settings_advanced_data_document_storage)
};
builder.setItems(items, new DialogInterface.OnClickListener() {
@Override
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/res/values-zh-rCN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -506,12 +506,13 @@
<string name="settings_advanced_export_data_summary">保存数据至外置存储器,例如下载列表,快速搜索列表</string>
<string name="settings_advanced_export_data_to">已导出数据至 %s</string>
<string name="settings_advanced_export_data_failed">导出数据失败</string>
<string name="settings_advanced_export_data_device_storage">设备存储器</string>
<string name="settings_advanced_export_data_document_storage">文件存储</string>
<string name="settings_advanced_export_data_to_location">导出数据到&#8230;</string>
<string name="settings_advanced_export_data_location">导出数据到&#8230;</string>
<string name="settings_advanced_import_data">导入数据</string>
<string name="settings_advanced_import_data_summary">从置存储器导入数据</string>
<string name="settings_advanced_import_data_successfully">导入数据成功</string>
<string name="settings_advanced_import_data_location">导入数据位置</string>
<string name="settings_advanced_data_device_storage">设备存储器</string>
<string name="settings_advanced_data_document_storage">文件存储</string>

<string name="settings_about">关于</string>
<string name="settings_about_author">作者</string>
Expand Down
7 changes: 4 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -549,12 +549,13 @@
<string name="settings_advanced_export_data_summary">Save data to external storage, such as download list, quick search list</string>
<string name="settings_advanced_export_data_to">Exported data to %s</string>
<string name="settings_advanced_export_data_failed">Export data failed</string>
<string name="settings_advanced_export_data_device_storage">Device Storage</string>
<string name="settings_advanced_export_data_document_storage">Document Storage</string>
<string name="settings_advanced_export_data_to_location">Export data to&#8230;</string>
<string name="settings_advanced_export_data_location">Export data to&#8230;</string>
<string name="settings_advanced_import_data">Import data</string>
<string name="settings_advanced_import_data_summary">Load data which saved before</string>
<string name="settings_advanced_import_data_successfully">Import data successfully</string>
<string name="settings_advanced_import_data_location">Import data from&#8230;</string>
<string name="settings_advanced_data_device_storage">Device Storage</string>
<string name="settings_advanced_data_document_storage">Document Storage</string>

<string name="settings_about">About</string>
<string name="settings_about_author">Author</string>
Expand Down

0 comments on commit 9361ba5

Please sign in to comment.