diff options
Diffstat (limited to 'org.fox.ttrss')
4 files changed, 13 insertions, 7 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java index 395e9598..154263d2 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java @@ -260,10 +260,10 @@ public class CommonActivity extends ActionBarActivity implements SharedPreferenc AlertDialog.Builder builder = new AlertDialog.Builder( CommonActivity.this) - .setTitle("Open link") + .setTitle(R.string.open_link) .setView(dialogView) .setMessage(uri.toString()) - .setPositiveButton("Quick preview", + .setPositiveButton(R.string.quick_preview, new Dialog.OnClickListener() { public void onClick(DialogInterface dialog, int which) { @@ -278,7 +278,7 @@ public class CommonActivity extends ActionBarActivity implements SharedPreferenc } }) - .setNegativeButton("Open with app", + .setNegativeButton(R.string.open_with_app, new Dialog.OnClickListener() { public void onClick(DialogInterface dialog, int which) { diff --git a/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml b/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml index 45fd2af5..db39d752 100755 --- a/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml +++ b/org.fox.ttrss/src/main/res/layout/dialog_open_link_askcb.xml @@ -8,7 +8,7 @@ <CheckBox android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="Ask me every time" + android:text="@string/ask_me_every_time" android:checked="true" android:id="@+id/open_link_ask_checkbox" /> </FrameLayout>
\ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index 14e79f6d..f48926c3 100755 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -233,4 +233,10 @@ <string name="flavor_image_prompt">(more images...)</string> <string name="headlines_row_top_changed">New articles found, reload feed to continue.</string> + <string name="prefs_custom_tabs_summary">Open external links with Chrome custom tabs (faster, used if available)</string> + <string name="prefs_use_custom_tabs">Use quick preview</string> + <string name="ask_me_every_time">Ask me every time</string> + <string name="open_link">Open link</string> + <string name="quick_preview">Quick preview</string> + <string name="open_with_app">Open with app</string> </resources> diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml index c822ae7d..6863ddcf 100755 --- a/org.fox.ttrss/src/main/res/xml/preferences.xml +++ b/org.fox.ttrss/src/main/res/xml/preferences.xml @@ -160,12 +160,12 @@ <org.fox.ttrss.util.LessBrokenSwitchPreference android:defaultValue="true" android:key="enable_custom_tabs" - android:summary="Open external links with Chrome custom tabs (faster, used if available)" - android:title="Use quick preview" /> + android:summary="@string/prefs_custom_tabs_summary" + android:title="@string/prefs_use_custom_tabs" /> <org.fox.ttrss.util.LessBrokenSwitchPreference android:defaultValue="true" android:key="custom_tabs_ask_always" - android:title="Ask me every time" /> + android:title="@string/ask_me_every_time" /> </PreferenceCategory> <PreferenceCategory android:title="@string/offline_mode" > <ListPreference |