use string resources

This commit is contained in:
Unpublished 2019-04-09 10:19:13 +02:00
parent 9488638f79
commit 842b5ee591
3 changed files with 6 additions and 7 deletions

View file

@ -76,7 +76,7 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="Import OPML"
android:text="@string/import_opml"
android:textStyle="bold" />
<Button
@ -86,7 +86,7 @@
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="Export OPML"
android:text="@string/export_opml"
android:textStyle="bold" />
</LinearLayout>

View file

@ -12,7 +12,7 @@
android:enabled="true"
android:icon="@drawable/ic_search_white_24dp"
android:iconifiedByDefault="false"
android:title="Search"
android:title="@string/action_search"
android:visible="true"
app:actionViewClass="android.widget.SearchView"
app:showAsAction="always|collapseActionView" />

View file

@ -40,6 +40,7 @@
<string name="action_sync_settings">Sync Settings</string>
<string name="action_add_new_feed">Add new feed</string>
<string name="action_textToSpeech">Read out</string>
<string name="action_search">Search</string>
<string name="action_download_articles_offline">Download articles offline</string>
<plurals name="notification_new_items_ticker">
<item quantity="one">You have %d new unread item</item>
@ -54,6 +55,8 @@
<!-- Add new feed -->
<string name="hint_feed_url">Feed URL</string>
<string name="action_add_feed">Add feed</string>
<string name="import_opml">Import OPML</string>
<string name="export_opml">Export OPML</string>
<!-- String related to NewsDetail-ContextMenu Items -->
@ -95,10 +98,6 @@
<string name="error_invalid_url">Incorrect URL</string>
<!-- Import Accounts -->
<string name="import_account">Import Account</string>
<!-- Toast Messages -->
<plurals name="toast_downloaded_x_items">
<item quantity="one">Downloaded %d old item</item>