Commit acae555b authored by Sébastien Toque's avatar Sébastien Toque
Browse files

UI: missing localization strings + add french translation

(Started by: Tanguy Pruvot <tanguy.pruvot@gmail.com>)
parent bbf38138
......@@ -68,7 +68,7 @@
android:name=".AudioService"/>
<activity
android:name="BrowserActivity"
android:label="Media Directories"
android:label="@string/mediafiles"
android:theme="@android:style/Theme">
</activity>
<receiver
......
......@@ -7,5 +7,5 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="About"/>
android:text="@string/about"/>
</LinearLayout>
......@@ -17,7 +17,7 @@
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:text="Songs"
android:text="@string/songs"
android:textSize="16dip"
android:textColor="#ffffff"
android:id="@+id/songs"
......@@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal" />
<TextView
android:text="Artists"
android:text="@string/artists"
android:textSize="16dip"
android:textColor="#888888"
android:id="@+id/artists"
......@@ -33,7 +33,7 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal"/>
<TextView
android:text="Albums"
android:text="@string/albums"
android:textSize="16dip"
android:textColor="#888888"
android:id="@+id/albums"
......@@ -41,7 +41,7 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal"/>
<TextView
android:text="Genres"
android:text="@string/genres"
android:textSize="16dip"
android:textColor="#888888"
android:id="@+id/genres"
......@@ -49,7 +49,7 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal" />
<TextView
android:text="Playlists"
android:text="@string/playlists"
android:textSize="16dip"
android:textColor="#888888"
android:id="@+id/playlists"
......
......@@ -67,7 +67,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="18dip"
android:text="0:00"
android:text="@string/time_0"
android:textColor="#ffffff"
android:id="@+id/time"/>
<TextView
......@@ -75,7 +75,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="18dip"
android:text="0:00"
android:text="@string/time_0"
android:gravity="right"
android:textColor="#ffffff"
android:id="@+id/length"/>
......@@ -95,7 +95,7 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Title"
android:text="@string/title"
android:textColor="#ffffff"
android:textSize="20dip"
android:paddingLeft="20dip"
......@@ -107,7 +107,7 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Artist"
android:text="@string/artist"
android:textColor="#888888"
android:textSize="18dip"
android:paddingLeft="20dip"
......@@ -119,7 +119,7 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Album"
android:text="@string/album"
android:textColor="#888888"
android:textSize="18dip"
android:paddingLeft="20dip"
......
......@@ -35,7 +35,7 @@
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Title"
android:text="@string/title"
android:textSize="20dip"
android:textColor="#ffffff"
android:singleLine="true"/>
......@@ -43,7 +43,7 @@
android:id="@+id/artist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Artist"
android:text="@string/artist"
android:textSize="16dip"
android:textColor="#888888"
android:singleLine="true"/>
......
......@@ -16,7 +16,7 @@
android:textSize="20dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="## DIRECTORY ##"
android:text="@string/directory"
android:paddingLeft="10dip"
android:singleLine="true"/>
</LinearLayout>
......@@ -54,7 +54,7 @@
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Stream 0"/>
android:text="@string/stream_0"/>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
......@@ -67,7 +67,7 @@
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Stream 1"/>
android:text="@string/stream_1"/>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
......@@ -80,7 +80,7 @@
android:layout_marginTop="10dip"
android:layout_marginLeft="5dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="Stream 2"/>
android:text="@string/stream_2"/>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
......
......@@ -13,7 +13,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15dip"
android:text="0:00"
android:text="@string/time_0"
android:textColor="#ffffff"
android:paddingLeft="10dip"/>
<TextView
......@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="15dip"
android:text="0:00"
android:text="@string/time_0"
android:gravity="right"
android:textColor="#ffffff"
android:paddingRight="10dip"/>
......
......@@ -5,7 +5,7 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_width="match_parent"
android:layout_height="48dip"
android:orientation="horizontal"
android:paddingTop="5dip"
......@@ -22,17 +22,17 @@
android:layout_marginRight="7dip" />
<EditText
android:id="@+id/search_text"
android:layout_width="0px"
android:layout_width="0px"
android:layout_weight="1"
android:singleLine="true"
android:layout_height="42dp"
android:hint="Search..."
android:hint="@string/searchable_hint"
android:inputType="textNoSuggestions"
android:imeOptions="actionSearch"/>
</LinearLayout>
<ListView
android:id="@id/android:list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="match_parent"
android:fastScrollEnabled="true"/>
</LinearLayout>
......@@ -24,10 +24,10 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Loading..."
android:text="@string/loading"
android:textSize="20dip"/>
</LinearLayout>
<LinearLayout
<LinearLayout
android:id="@+id/video_list_empty_nofile"
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -36,7 +36,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="No Media Files"
android:text="@string/nomedia"
android:textSize="20dip"/>
</LinearLayout>
</FrameLayout>
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">VLC media player</string>
<string name="preferences">Einstellungen</string>
<string name="about">Über</string>
<string name="ml_no_media_dir">Kein Medien Verzeichnis</string>
......@@ -8,7 +7,7 @@
<string name="sortby_name">Name</string>
<string name="sortby_length">Länge</string>
<string name="searchable_hint">Suchen...</string>
<string name="searchable_label">VLC media player</string>
<string name="searchable_label">VLC Media Player</string>
<string name="search_history">Verlauf</string>
<string name="clear_history">Verlauf löschen</string>
<string name="search_found_results">%1$d Treffer</string>
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, VLC!</string>
<string name="filebrowser_sdfail">Impossible de lire la Carte SD. Veuillez vérifier qu\'elle est montée correctement.</string>
<string name="filebrowser_root">&lt;racine&gt;</string>
<string name="filebrowser_parent">..</string>
<string name="filebrowser_title">Sélection des médias</string>
<string name="preferences">Préférences</string>
<string name="about">A Propos</string>
<string name="ml_no_media_dir">Pas de répertoire multimédia</string>
<string name="sortby">Trier par...</string>
<string name="sortby_name">Nom</string>
<string name="sortby_length">Durée</string>
<string name="searchable_hint">Recherche...</string>
<string name="searchable_label">VLC Media Player</string>
<string name="search_history">Historique</string>
<string name="clear_history">Vider l\'historique</string>
<string name="search_found_results">%1$d résultats trouvés</string>
<string name="show_player">Afficher Lecteur</string>
<string name="hide_mini_player">Cacher Mini-lecteur</string>
<string name="play">Lecture</string>
<string name="pause">Pause</string>
<string name="close">Fermer</string>
<string name="not_show_again">Ne plus afficher ce message.</string>
<string name="beta_warning">Ceci est une version alpha\n(NON STABLE!).</string>
<string name="info_title">Information</string>
<string name="unknown_artist">Artiste inconnu</string>
<string name="unknown_album">Album inconnu</string>
<string name="songs">Chansons</string>
<string name="artists">Artistes</string>
<string name="albums">Albums</string>
<string name="genres">Genres</string>
<string name="playlists">Listes</string>
<string name="time_0">0:00</string>
<string name="title">Titre</string>
<string name="artist">Artiste</string>
<string name="album">Album</string>
<string name="directory">Répertoire</string>
<string name="directories">Répertoires</string>
<string name="stream_0">Flux 0</string>
<string name="stream_1">Flux 1</string>
<string name="stream_2">Flux 2</string>
<string name="loading">Chargement...</string>
<string name="nomedia">Pas de fichiers multimédia</string>
<string name="mediafiles">Fichiers multimédia</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Ciao Mondo, vlc!</string>
<string name="app_name">VLC media player</string>
<string name="filebrowser_sdfail">Impossibile aprire la scheda SD. Si prega di controllare che sia montata correttamente.</string>
<string name="filebrowser_root">&lt;root&gt;</string>
<string name="filebrowser_parent">..</string>
......@@ -13,7 +12,7 @@
<string name="sortby_name">Nome</string>
<string name="sortby_length">Durata</string>
<string name="searchable_hint">Cerca...</string>
<string name="searchable_label">VLC media player</string>
<string name="searchable_label">VLC Media Player</string>
<string name="search_history">Cronologia</string>
<string name="clear_history">Cancella Cronologia</string>
<string name="search_found_results">%1$d Risultati Trovati</string>
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, vlc!</string>
<string name="app_name">VLC media player</string>
<string name="app_name" translatable="false">VLC Media Player</string>
<string name="filebrowser_sdfail">Unable to open SD card. Please check it is mounted correctly.</string>
<string name="filebrowser_root">&lt;root&gt;</string>
<string name="filebrowser_parent">..</string>
......@@ -13,7 +13,7 @@
<string name="sortby_name">Name</string>
<string name="sortby_length">Length</string>
<string name="searchable_hint">Search...</string>
<string name="searchable_label">VLC media player</string>
<string name="searchable_label">VLC Media Player</string>
<string name="search_history">History</string>
<string name="clear_history">Clear History</string>
<string name="search_found_results">%1$d Results Found</string>
......@@ -27,4 +27,20 @@
<string name="info_title">Information</string>
<string name="unknown_artist">Unknown Artist</string>
<string name="unknown_album">Unknown Album</string>
<string name="songs">Songs</string>
<string name="artists">Artists</string>
<string name="albums">Albums</string>
<string name="genres">Genres</string>
<string name="playlists">Playlists</string>
<string name="time_0">0:00</string>
<string name="title">Title</string>
<string name="artist">Artist</string>
<string name="album">Album</string>
<string name="directory">Directory</string>
<string name="stream_0">Stream 0</string>
<string name="stream_1">Stream 1</string>
<string name="stream_2">Stream 2</string>
<string name="loading">Loading...</string>
<string name="nomedia">No media files</string>
<string name="mediafiles">Media files</string>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Media Files">
<PreferenceCategory android:title="@string/mediafiles">
<PreferenceScreen
android:key="directories"
android:title="Directories"
android:title="@string/directories"
android:defaultValue="/sdcard/"
android:summary="Select media directories">
android:summary="@string/filebrowser_title">
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory android:title="Search">
<PreferenceCategory android:title="@string/searchable_hint">
<PreferenceScreen
android:key="clear_history"
android:title="Clear History">
android:title="@string/clear_history">
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment