mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-09 22:00:39 +01:00
cleanup bits of game config dialog
This commit is contained in:
parent
72f2db4f57
commit
13c1c8c940
14 changed files with 6 additions and 37 deletions
|
@ -1210,15 +1210,7 @@ public class GameConfigDelegate extends DelegateBase
|
|||
|
||||
private void adjustPlayersLabel()
|
||||
{
|
||||
String label;
|
||||
if ( localOnlyGame() ) {
|
||||
label = getString( R.string.players_label_standalone );
|
||||
} else {
|
||||
int remoteCount = m_gi.remoteCount();
|
||||
label = getString( R.string.players_label_host_fmt,
|
||||
m_gi.nPlayers - remoteCount,
|
||||
remoteCount );
|
||||
}
|
||||
String label = getString( R.string.players_label_standalone );
|
||||
((TextView)findViewById( R.id.players_label )).setText( label );
|
||||
}
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
<LinearLayout android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:layout_margin="4dp"
|
||||
>
|
||||
|
||||
<TextView style="@style/config_separator"
|
||||
|
@ -60,12 +61,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:drawSelectorOnTop="true"
|
||||
android:prompt="@string/title_langs_list"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
/>
|
||||
<Spinner android:id="@+id/dict_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawSelectorOnTop="true"
|
||||
android:layout_marginLeft="20sp"
|
||||
android:layout_marginLeft="20dp"
|
||||
/>
|
||||
|
||||
<!-- players -->
|
||||
|
|
|
@ -264,11 +264,6 @@
|
|||
<!-- text for separator above the list of players that's used for
|
||||
non-networked games -->
|
||||
<string name="players_label_standalone">Players (tap to edit)</string>
|
||||
<!-- text for separator above the list of players that's used for
|
||||
networked games. The numbers of local and non-local players
|
||||
are substituted for %1$d and %2$d. -->
|
||||
<string name="players_label_host_fmt">Players (%1$d local, %2$d
|
||||
off-device)</string>
|
||||
<!-- text of button for adding new player to game -->
|
||||
<string name="button_add_player">Add player</string>
|
||||
<!-- text of button to juggle (randomly rearrange order of) players -->
|
||||
|
@ -770,7 +765,7 @@
|
|||
<!-- Label for the first "human player" name preference -->
|
||||
<string name="pref_human_name">Human player (your name)</string>
|
||||
<!-- sub-preference for dictionaries (soon to be called "word lists") -->
|
||||
<string name="prefs_dicts">Wordlists</string>
|
||||
<string name="prefs_dicts">Language and Wordlists</string>
|
||||
<!-- clarification of above -->
|
||||
<string name="prefs_dicts_summary">Default wordlists</string>
|
||||
<!-- dictionary used by default for human players when creating
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
<string name="guest_name">(jugador visitant)</string>
|
||||
<string name="player_edit_title">Jugador</string>
|
||||
<string name="players_label_standalone">Jugadors</string>
|
||||
<string name="players_label_host_fmt">Jugadors (%1$d locals, %2$d remots)</string>
|
||||
<string name="button_add_player">Afegeix un jugador</string>
|
||||
<string name="button_juggle_players">Remena els jugadors</string>
|
||||
<string name="dicts_item_select">Estableix com a predeterminat</string>
|
||||
|
|
|
@ -95,7 +95,6 @@
|
|||
<string name="set_default_message_fmt">"Für welche Spieler soll die Wortliste %1$s Standardeinstellung für neue Partien sein? (Die Sprache %2$s wird Standardeinstellung für beide.)"</string>
|
||||
<string name="game_locked">Sperreinstellungen</string>
|
||||
<string name="players_label_standalone">Spieler (zum Bearbeiten antippen)</string>
|
||||
<string name="players_label_host_fmt">Spieler (%1$d lokal, %2$d extern)</string>
|
||||
<string name="join_room">Öffentlichen Raum betreten</string>
|
||||
<string name="public_names_progress_fmt">Öffentliche Räume für %1$d-Spieler-Partien in %2$s werden geholt.</string>
|
||||
<string name="no_name_found_fmt">Keine öffentlichen Räume für %1$d-Spieler-Partien in %2$s gefunden. Versuchen Sie zu aktualisieren oder erzeugen Sie Ihre eigenen.</string>
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
<string name="title_langs_list">Idiomas (basado en las listas de palabras instaladas)</string>
|
||||
<string name="game_locked">Ajustes de bloqueo</string>
|
||||
<string name="players_label_standalone">Jugadores (pulsa para editar)</string>
|
||||
<string name="players_label_host_fmt">Jugadores (%1$d locales, %2$d remotos)</string>
|
||||
<string name="button_add_player">Añadir jugador</string>
|
||||
<string name="button_juggle_players">Barajar jugadores</string>
|
||||
<string name="lang_label">Idioma de la partida</string>
|
||||
|
|
|
@ -268,9 +268,6 @@ installées)</string>
|
|||
<!-- text for separator above the list of players that's used for
|
||||
networked games. The numbers of local and non-local players
|
||||
are substituted for %1$d and %2$d. -->
|
||||
<!--<string name="players_label_host_fmt">Players (%1$d local, %2$d
|
||||
off-device)</string>-->
|
||||
<string name="players_label_host_fmt">Joueurs (%1$d locaux, %2$d hors-appareil)</string>
|
||||
<!-- text of button for adding new player to game -->
|
||||
<!--<string name="button_add_player">Add player</string>-->
|
||||
<string name="button_add_player">Ajouter un joueur</string>
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
<string name="title_langs_list">言語 (インストールされている単語リストに基づく)</string>
|
||||
<string name="game_locked">ロック設定</string>
|
||||
<string name="players_label_standalone">プレイヤー (タップして編集)</string>
|
||||
<string name="players_label_host_fmt">プレイヤー (%1$d ローカル、%2$d 他のデバイス)</string>
|
||||
<string name="button_add_player">プレイヤーを追加</string>
|
||||
<string name="button_juggle_players">プレイヤーをシャッフル</string>
|
||||
<string name="lang_label">ゲームの言語</string>
|
||||
|
|
|
@ -445,7 +445,6 @@
|
|||
\n
|
||||
\n(Tilbakestilling sletter alle trekk og all tilknyttet informasjon.)</item>
|
||||
</plurals>
|
||||
<string name="players_label_host_fmt">Spillere (%1$d lokale, %2$d eksterne)</string>
|
||||
<string name="phonies_spinner_prompt">Hvordan «ønskeord» skal behandles (altså dem som ikke finnes i ordlisten)</string>
|
||||
<string name="phonies_ignore">Ingorer ønskeord</string>
|
||||
<string name="phonies_warn">Advar hvis ønskeord</string>
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
<string name="title_langs_list">Talen (gebaseerd op geïnstalleerde woordenlijsten)</string>
|
||||
<string name="game_locked">Instellingen vastzetten</string>
|
||||
<string name="players_label_standalone">Spelers (druk om te bewerken)</string>
|
||||
<string name="players_label_host_fmt">Spelers (%1$d lokaal, %2$d op een ander apparaat)</string>
|
||||
<string name="button_add_player">Speler toevoegen</string>
|
||||
<string name="button_juggle_players">Spelers schudden</string>
|
||||
<string name="lang_label">Speltaal</string>
|
||||
|
|
|
@ -237,7 +237,6 @@
|
|||
<string name="set_default_message_fmt">Dla jakich graczy lista słów %1$s powinna być domyślna dla nowych gier\? (Język %2$s będzie domyślny dla obu.)</string>
|
||||
<string name="button_default_robot">Robot</string>
|
||||
<string name="button_default_both">Oba</string>
|
||||
<string name="players_label_host_fmt">Gracze (%1$d lokalny, %2$d wyłączone urządzenie)</string>
|
||||
<string name="public_names_progress_fmt">Pobieranie publicznych pokoi dla gier %1$d -graczy w grach %2$s.</string>
|
||||
<string name="no_name_found_fmt">Nie znaleziono pokoi publicznych dla gier %1$d-player w %2$s. Spróbuj odświeżyć lub stworzyć własne.</string>
|
||||
<string name="robot_smarter">Inteligentniejszy robot</string>
|
||||
|
|
|
@ -112,7 +112,6 @@
|
|||
<string name="title_gamenet_config_fmt">%1$s configurações (na rede)</string>
|
||||
<string name="title_game_config_fmt">Configurações para %1$s</string>
|
||||
<string name="loc_downloads">Baixados</string>
|
||||
<string name="players_label_host_fmt">Jogadores (%1$d local, %2$d remoto)</string>
|
||||
<string name="players_label_standalone">Jogadores (toque para editar)</string>
|
||||
<string name="confirm_deleteonly_dicts_fmt">Apagar %1$s deixará você sem qualquer %2$s listas de palavras. Um ou mais jogos não abrirão (até você baixar uma lista de substituição.)</string>
|
||||
<string name="rename_label_caveat">Mude o nome desse jogo (somente nesse dispositivo) para:</string>
|
||||
|
|
|
@ -242,11 +242,6 @@
|
|||
<!-- text for separator above the list of players that's used for
|
||||
non-networked games -->
|
||||
<string name="players_label_standalone">Jogadores</string>
|
||||
<!-- text for separator above the list of players that's used for
|
||||
networked games. The numbers of local and non-local players
|
||||
are substituted for %1$d and %2$d. -->
|
||||
<string name="players_label_host_fmt">Jogadores (%1$d local, %2$d
|
||||
remoto)</string>
|
||||
<!-- text of button for adding new player to game -->
|
||||
<string name="button_add_player">Adicionar jogador</string>
|
||||
<!-- text of button to juggle (randomly rearrange order of) players -->
|
||||
|
|
|
@ -422,11 +422,6 @@
|
|||
<string name="button_trade_commit">XLATE ME: Commit trade</string>
|
||||
<string name="player_edit_title">Hráč</string>
|
||||
<string name="players_label_standalone">Hráči</string>
|
||||
<!-- text for separator above the list of players that's used for
|
||||
networked games. The numbers of local and non-local players
|
||||
are substituted for %1$d and %2$d. -->
|
||||
<string name="players_label_host_fmt">XLATE ME: Players (%1$d local, %2$d
|
||||
off-device)</string>
|
||||
<string name="button_add_player">Pridať hráča</string>
|
||||
<string name="button_juggle_players">Prehodiť hráča</string>
|
||||
<!-- If the query returns no rooms, this message is displayed,
|
||||
|
|
Loading…
Add table
Reference in a new issue