added new message and rename msg

This commit is contained in:
afischerdev 2023-12-14 12:01:29 +01:00
parent f37c77267a
commit e918700bca
11 changed files with 22 additions and 12 deletions

View file

@ -279,7 +279,7 @@ public class BInstallerActivity extends AppCompatActivity {
String segmentName = progress.getString(DownloadWorker.PROGRESS_SEGMENT_NAME);
int percent = progress.getInt(DownloadWorker.PROGRESS_SEGMENT_PERCENT, 0);
if (percent > 0) {
mDownloadSummaryInfo.setText("Downloading .. " + segmentName);
mDownloadSummaryInfo.setText(getString(R.string.msg_download_started) + segmentName);
}
if (percent > 0) {
mProgressIndicator.setIndeterminate(false);
@ -295,7 +295,7 @@ public class BInstallerActivity extends AppCompatActivity {
String result;
switch (workInfo.getState()) {
case FAILED:
result = getString(R.string.msg_download_faild);
result = getString(R.string.msg_download_failed);
break;
case CANCELLED:
result = getString(R.string.msg_download_cancel);

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -85,8 +85,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -85,8 +85,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -80,8 +80,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,8 +86,9 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>

View file

@ -86,9 +86,10 @@
<string name="action_version_diff3">Cancel now, complete on an other day</string>
<string name="summary_new_version">The new data version needs a new app. Please update BRouter first</string>
<string name="msg_download_faild">Download failed</string>
<string name="msg_download_failed">Download failed</string>
<string name="msg_download_cancel">Download cancelled</string>
<string name="msg_download_succeed">Download succeeded</string>
<string name="msg_download_started">"Downloading .. "</string>
</resources>