Make android game data extraction ui translatable
This commit is contained in:
@@ -75,7 +75,8 @@ public class SuperTuxKartActivity extends SDLActivity
|
||||
ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
ll_param.gravity = Gravity.CENTER;
|
||||
TextView tv = new TextView(this);
|
||||
tv.setText("Extracting game data...");
|
||||
// From values strings.xml which is generated by make.sh
|
||||
tv.setText(getString(R.string.po_extract_game_data));
|
||||
tv.setLayoutParams(ll_param);
|
||||
|
||||
ll_param = new LinearLayout.LayoutParams(
|
||||
@@ -343,10 +344,9 @@ public class SuperTuxKartActivity extends SDLActivity
|
||||
}
|
||||
AlertDialog.Builder error =
|
||||
new AlertDialog.Builder(SDL.getContext());
|
||||
error.setMessage("Check remaining device space or " +
|
||||
"reinstall SuperTuxKart.");
|
||||
error.setTitle("Extract game data error");
|
||||
error.setPositiveButton("Exit",
|
||||
error.setMessage(getString(R.string.po_extract_error_msg));
|
||||
error.setTitle(getString(R.string.po_extract_error));
|
||||
error.setPositiveButton(getString(R.string.po_quit),
|
||||
new DialogInterface.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user