Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Display the name of the control that is being bound in the …
…input settings. Makes the binding description more informative.
  • Loading branch information
lioncash committed Sep 4, 2013
1 parent a83d4e7 commit 48cda9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Android/res/values-ja/strings.xml
Expand Up @@ -40,7 +40,7 @@
<!-- Input Config Fragment -->
<string name="input_settings">入力設定</string>
<string name="input_binding">入力バインディング</string>
<string name="input_binding_descrip">このコントロールにバインドするための入力を移動または押してください。</string>
<string name="input_binding_descrip">%1$sにバインドするための入力を移動または押してください。</string>
<string name="button_a">Aボタン</string>
<string name="button_b">Bボタン</string>
<string name="button_start">スタートボタン</string>
Expand Down
2 changes: 1 addition & 1 deletion Source/Android/res/values/strings.xml
Expand Up @@ -40,7 +40,7 @@
<!-- Input Config Fragment -->
<string name="input_settings">Input</string>
<string name="input_binding">Input Binding</string>
<string name="input_binding_descrip">Press or move an input to bind it to this control.</string>
<string name="input_binding_descrip">Press or move an input to bind it to %1$s</string>
<string name="button_a">Button A</string>
<string name="button_b">Button B</string>
<string name="button_start">Button Start</string>
Expand Down
Expand Up @@ -183,7 +183,7 @@ public void onClick(DialogInterface dialog, int which)

// Set the title and description message.
dialog.setTitle(R.string.input_binding);
dialog.setMessage(getString(R.string.input_binding_descrip));
dialog.setMessage(String.format(getString(R.string.input_binding_descrip), pref.getTitle()));

// Don't allow the dialog to close when a user taps
// outside of it. They must press cancel or provide an input.
Expand Down

0 comments on commit 48cda9d

Please sign in to comment.