#2179 added tab restored string resource

This commit is contained in:
HissPirat 2020-07-16 13:09:56 +02:00
parent e75127f768
commit 4871353ba7
3 changed files with 3 additions and 1 deletions

View File

@ -910,7 +910,7 @@ public abstract class CoreReaderFragment extends BaseFragment
webViewList.add(index, tempWebViewForUndo);
tabsAdapter.notifyDataSetChanged();
Snackbar.make(snackbarRoot, "Tab restored", Snackbar.LENGTH_SHORT).show();
Snackbar.make(snackbarRoot, R.string.tab_restored, Snackbar.LENGTH_SHORT).show();
setUpWebViewWithTextToSpeech();
updateBottomToolbarVisibility();
contentFrame.addView(tempWebViewForUndo);

View File

@ -45,6 +45,7 @@
<string name="previous">{{Identical|Previous}}</string>
<string name="time_left">This is the past participle of the verb “to leave” (meaning “quitted” or “exited”). This is used in a context of “X minutes left” to finish a download.</string>
<string name="time_yesterday">{{Identical|Yesterday}}</string>
<string name="tab_restored">Tell the user that a tab has been restored.</string>
<string name="search_history">TODO: Unclear, must be documented. See https://github.com/kiwix/overview/issues/31</string>
<string name="save">{{Identical|Save}}</string>
<string name="go_to_settings">This is used in the start server dialog and leads the user to mobile hotspot settings when pressed</string>

View File

@ -283,6 +283,7 @@
<string name="reader">Reader</string>
<string name="no_open_book">No open book</string>
<string name="open_library">Open library</string>
<string name="tab_restored">Tab restored</string>
<string-array name="pref_night_modes_entries">
<item>@string/on</item>
<item>@string/off</item>