diff --git a/res/values-pt/strings.xml b/res/values-pt/strings.xml index 380244e..d8046b6 100644 --- a/res/values-pt/strings.xml +++ b/res/values-pt/strings.xml @@ -54,14 +54,14 @@ Filtro - Sugimori art do Pokemon - Sprite do Pokemon de frente - Sprite do Pokemon de costas - Shiny sprite do Pokemon de frente - Shiny sprite do Pokemon de costas + Sugimori art do Pokémon + Sprite do Pokémon de frente + Sprite do Pokémon de costas + Shiny sprite do Pokémon de frente + Shiny sprite do Pokémon de costas Altura - Largura + Peso Base EXP Esforço Felicidade @@ -71,7 +71,7 @@ Base SA Base SD Base SPD - Nome Japonês + Nome japonês Espécie Habitat Proporção de gênero @@ -87,6 +87,8 @@ mais… Versão %s + Nome do Pokémon + Baixar imagens Enviar feedback Verificar atualizações @@ -99,6 +101,9 @@ Abrir no Serebii Não feche o aplicativo durante o download + Extraindo + Extraindo dados + Extração finalizada Cor favorita Selecione a cor do aplicativo diff --git a/res/values/strings.xml b/res/values/strings.xml index af7ac67..cbf56b7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -87,6 +87,8 @@ more… Version %s + Pokemon\'s name + Download image Send feedback Verify updates @@ -99,6 +101,9 @@ Open on Serebii Not close the app while downloading + Extracting + Extracting data + Extracting finished Favorite color Select the application color diff --git a/src/aloogle/pokedex/activity/ActivityPokemonFilter.java b/src/aloogle/pokedex/activity/ActivityPokemonFilter.java index af59993..16e8645 100644 --- a/src/aloogle/pokedex/activity/ActivityPokemonFilter.java +++ b/src/aloogle/pokedex/activity/ActivityPokemonFilter.java @@ -29,7 +29,7 @@ public class ActivityPokemonFilter extends Activity { private String generation, type, color; private boolean isBaby, hasGenderDiff; - @Override + @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.pokemon_filter); diff --git a/src/aloogle/pokedex/fragment/PokemonName.java b/src/aloogle/pokedex/fragment/PokemonName.java index 651d504..75e1bf5 100644 --- a/src/aloogle/pokedex/fragment/PokemonName.java +++ b/src/aloogle/pokedex/fragment/PokemonName.java @@ -91,7 +91,7 @@ public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { MenuItem searchItem = menu.findItem(R.id.action_search); SearchView searchView = (SearchView) searchItem.getActionView(); - searchView.setQueryHint("Pokemon's name"); + searchView.setQueryHint(getString(R.string.searchhint)); searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { @Override @@ -167,12 +167,12 @@ public void onReceive(Context ctxt, Intent intent) { public class UnzipFile extends AsyncTask { String zipLocation; NotificationCompat.Builder notif; - + @Override protected void onPreExecute() { notif = new NotificationCompat.Builder(activity); - notif.setContentTitle("Extracting " + zipName) - .setContentText("Extracting data") + notif.setContentTitle(getString(R.string.extract) + " " + zipName) + .setContentText(getString(R.string.extractdata)) .setSmallIcon(R.drawable.ic_extract) .setProgress(0, 0, true); notifManager.notify(0, notif.build()); @@ -191,7 +191,7 @@ protected void onPostExecute(Void result) { File f = new File(zipLocation); if (f.exists()) f.delete(); - notif.setContentText("Extracting finished") + notif.setContentText(getString(R.string.extractfinish)) .setProgress(0, 0, false); notifManager.notify(0, notif.build()); }