[Android] Fix the super-mature string that was a placeholder for the title for the overlay configuration setting.

Also fix a NullPointerException possibility. Fixed it by giving the PreferenceScreen a title.
This commit is contained in:
Lioncash 2013-10-26 00:55:07 -04:00
parent 77eb9ce725
commit 8d71a83ae5
3 changed files with 9 additions and 2 deletions

View File

@ -43,6 +43,8 @@
<!-- Input Config Fragment --> <!-- Input Config Fragment -->
<string name="input_settings">入力</string> <string name="input_settings">入力</string>
<string name="input_overlay_layout">入力オーバーレイレイアウト</string>
<string name="input_overlay_layout_desc">入力オーバーレイのためのボタンのレイアウト。</string>
<string name="gamecube_bindings">ゲームキューブの入力バインディング</string> <string name="gamecube_bindings">ゲームキューブの入力バインディング</string>
<string name="input_binding">入力バインディング</string> <string name="input_binding">入力バインディング</string>
<string name="input_binding_descrip">%1$sにバインドするための入力を移動または押してください。</string> <string name="input_binding_descrip">%1$sにバインドするための入力を移動または押してください。</string>

View File

@ -43,6 +43,8 @@
<!-- Input Config Fragment --> <!-- Input Config Fragment -->
<string name="input_settings">Input</string> <string name="input_settings">Input</string>
<string name="input_overlay_layout">Input Overlay Layout</string>
<string name="input_overlay_layout_desc">Button layout for the input overlay.</string>
<string name="gamecube_bindings">Gamecube Input Bindings</string> <string name="gamecube_bindings">Gamecube Input Bindings</string>
<string name="input_binding">Input Binding</string> <string name="input_binding">Input Binding</string>
<string name="input_binding_descrip">Press or move an input to bind it to %1$s.</string> <string name="input_binding_descrip">Press or move an input to bind it to %1$s.</string>

View File

@ -5,9 +5,12 @@
<Preference <Preference
android:key="inputOverlayConfigPref" android:key="inputOverlayConfigPref"
android:title="Butts"/> android:summary="@string/input_overlay_layout_desc"
android:title="@string/input_overlay_layout"/>
<PreferenceScreen android:title="@string/gamecube_bindings"> <PreferenceScreen
android:key="gamecube_bindings"
android:title="@string/gamecube_bindings">
<Preference <Preference
android:key="InputA" android:key="InputA"
android:title="@string/button_a" /> android:title="@string/button_a" />