add some i18n
This commit is contained in:
parent
ddb72b88ca
commit
c57b0f95dd
@ -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) {
|
||||
|
@ -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>
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user