Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
CookieJarApps committed Mar 16, 2021
1 parent 41f137a commit 2349bf6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,11 @@ abstract class BrowserActivity : ThemableBrowserActivity(), BrowserView, UIContr
.setView(dialogView)
.setCancelable(false)
.setNegativeButton(R.string.action_back) { dialog, which ->
//listener.onClick(editText.getText().toString());
moveTaskToBack(true);
exitProcess(-1)
}
.setPositiveButton(R.string.action_ok
) { _, _ ->
//listener.onClick(editText.getText().toString());
if (editText.text.toString() != userPreferences.passwordTextLock){
val duration = Toast.LENGTH_SHORT
val toast = Toast.makeText(this, resources.getString(R.string.wrong_password), duration)
Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/values-pt/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,12 @@
<string name="dont_ask_again">Não perguntar novamente</string>
<string name="tts">Ler página</string>
<string name="stop_tts">Parar de ler</string>
<string name="translation_endpoint">Translation endpoint</string>
<string name="news_endpoint">News endpoint</string>
<string name="select_translate_text">Please select the text you would like to translate</string>
<string name="select_tts_text">Please select the text you would like read</string>
<string name="homepage_type">Homepage type</string>
<string name="focused">Focused</string>
<string name="informational">Informational</string>
<string name="translation_endpoint">URL da API de tradução</string>
<string name="news_endpoint">URL da API de notícias</string>
<string name="select_translate_text">Selecione o texto que pretende traduzir</string>
<string name="select_tts_text">Selecione o texto que pretende ler</string>
<string name="homepage_type">Tipo de página inicial</string>
<string name="focused">Foco</string>
<string name="informational">Informações</string>
<!-- finish pages -->
</resources>

0 comments on commit 2349bf6

Please sign in to comment.