1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 11:02:35 +01:00

make all strings translatable

This commit is contained in:
Hans-Christoph Steiner 2016-01-01 22:23:00 +01:00
parent 5533f6ba86
commit b31490c4e3
3 changed files with 5 additions and 5 deletions

View File

@ -74,12 +74,10 @@
android:parentActivityName=".VideoItemDetailActivity" android:parentActivityName=".VideoItemDetailActivity"
tools:ignore="UnusedAttribute"> tools:ignore="UnusedAttribute">
</activity> </activity>
<!--TODO: make label a translatable string -->
<service <service
android:name=".BackgroundPlayer" android:name=".BackgroundPlayer"
android:label="NewPipe Background Player" android:label="@string/background_player_name"
android:exported="false" > android:exported="false" />
</service>
<activity <activity
android:name=".SettingsActivity" android:name=".SettingsActivity"
android:label="@string/title_activity_settings" > android:label="@string/title_activity_settings" >

View File

@ -8,7 +8,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Loading" android:text="@string/loading"
android:textAppearance="?android:attr/textAppearanceMedium" /> android:textAppearance="?android:attr/textAppearanceMedium" />
<ProgressBar <ProgressBar

View File

@ -1,6 +1,7 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<resources> <resources>
<string name="app_name" translatable="false">NewPipe</string> <string name="app_name" translatable="false">NewPipe</string>
<string name="background_player_name">NewPipe Background Player</string>
<string name="title_videoitem_detail" translatable="false">NewPipe</string> <string name="title_videoitem_detail" translatable="false">NewPipe</string>
<string name="viewCountText">%1$s views</string> <string name="viewCountText">%1$s views</string>
<string name="uploadDateText">Uploaded on %1$s</string> <string name="uploadDateText">Uploaded on %1$s</string>
@ -10,6 +11,7 @@
<string name="fdroidVLCurl" translatable="false">https://f-droid.org/repository/browse/?fdfilter=vlc&amp;fdid=org.videolan.vlc</string> <string name="fdroidVLCurl" translatable="false">https://f-droid.org/repository/browse/?fdfilter=vlc&amp;fdid=org.videolan.vlc</string>
<string name="open_in_browser">Open in browser</string> <string name="open_in_browser">Open in browser</string>
<string name="share">Share</string> <string name="share">Share</string>
<string name="loading">Loading</string>
<string name="download">Download</string> <string name="download">Download</string>
<string name="search">Search</string> <string name="search">Search</string>
<string name="settings">Settings</string> <string name="settings">Settings</string>