Merge branch 'wording-fixes' into 'master'
Wording fixes See merge request fdroid/fdroidclient!759
This commit is contained in:
commit
eb651c9996
@ -1101,7 +1101,7 @@ public class AppDetailsRecyclerViewAdapter
|
|||||||
api.setText(getApiText(apk));
|
api.setText(getApiText(apk));
|
||||||
|
|
||||||
|
|
||||||
// Figuring out whether to show Install/Upgrade button or Downgrade button
|
// Figuring out whether to show Install/Update button or Downgrade button
|
||||||
buttonDowngrade.setVisibility(View.GONE);
|
buttonDowngrade.setVisibility(View.GONE);
|
||||||
buttonInstallUpgrade.setVisibility(View.GONE);
|
buttonInstallUpgrade.setVisibility(View.GONE);
|
||||||
buttonInstallUpgrade.setText(context.getString(R.string.menu_install));
|
buttonInstallUpgrade.setText(context.getString(R.string.menu_install));
|
||||||
@ -1109,7 +1109,7 @@ public class AppDetailsRecyclerViewAdapter
|
|||||||
if (isAppInstalled && !isApkInstalled) {
|
if (isAppInstalled && !isApkInstalled) {
|
||||||
if (apk.versionCode > app.installedVersionCode) {
|
if (apk.versionCode > app.installedVersionCode) {
|
||||||
// Change the label to indicate that pressing this
|
// Change the label to indicate that pressing this
|
||||||
// button will result in upgrading the installed app
|
// button will result in updating the installed app
|
||||||
buttonInstallUpgrade.setText(R.string.menu_upgrade);
|
buttonInstallUpgrade.setText(R.string.menu_upgrade);
|
||||||
} else if (apk.versionCode < app.installedVersionCode) {
|
} else if (apk.versionCode < app.installedVersionCode) {
|
||||||
// The Downgrade button should be shown in this case
|
// The Downgrade button should be shown in this case
|
||||||
|
@ -468,7 +468,7 @@ public abstract class AppListItemController extends RecyclerView.ViewHolder {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// When the button says "Run", then launch the app.
|
// When the button says "Open", then launch the app.
|
||||||
if (currentStatus != null && currentStatus.status == AppUpdateStatusManager.Status.Installed) {
|
if (currentStatus != null && currentStatus.status == AppUpdateStatusManager.Status.Installed) {
|
||||||
Intent intent = activity.getPackageManager().getLaunchIntentForPackage(app.packageName);
|
Intent intent = activity.getPackageManager().getLaunchIntentForPackage(app.packageName);
|
||||||
if (intent != null) {
|
if (intent != null) {
|
||||||
|
@ -67,7 +67,7 @@ public class KnownVulnAppListItemController extends AppListItemController {
|
|||||||
Apk installedApk = app.getInstalledApk(activity);
|
Apk installedApk = app.getInstalledApk(activity);
|
||||||
if (installedApk == null) {
|
if (installedApk == null) {
|
||||||
throw new IllegalStateException(
|
throw new IllegalStateException(
|
||||||
"Tried to upgrade or uninstall app with known vulnerability but it doesn't seem to be installed");
|
"Tried to update or uninstall app with known vulnerability but it doesn't seem to be installed");
|
||||||
}
|
}
|
||||||
|
|
||||||
Apk suggestedApk = ApkProvider.Helper.findSuggestedApk(activity, app);
|
Apk suggestedApk = ApkProvider.Helper.findSuggestedApk(activity, app);
|
||||||
|
@ -135,7 +135,7 @@
|
|||||||
android:layout_toStartOf="@id/progress_cancel" />
|
android:layout_toStartOf="@id/progress_cancel" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<!-- Install, Uninstall, Upgrade, Run buttons -->
|
<!-- Install, Uninstall, Update, Open buttons -->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/button_layout"
|
android:id="@+id/button_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -170,7 +170,7 @@
|
|||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:ellipsize="marquee"
|
android:ellipsize="marquee"
|
||||||
app:textAllCaps="true"
|
app:textAllCaps="true"
|
||||||
tools:text="Run"/>
|
tools:text="Open"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ This often occurs with apps installed via Google Play or other sources, if they
|
|||||||
<string name="updates__tts__download_updates_for_all_apps">Download all updates</string>
|
<string name="updates__tts__download_updates_for_all_apps">Download all updates</string>
|
||||||
|
|
||||||
<string name="updates__app_with_known_vulnerability__prompt_uninstall">We found a vulnerability with %1$s. We recommend uninstalling this app immediately.</string>
|
<string name="updates__app_with_known_vulnerability__prompt_uninstall">We found a vulnerability with %1$s. We recommend uninstalling this app immediately.</string>
|
||||||
<string name="updates__app_with_known_vulnerability__prompt_upgrade">We found a vulnerability with %1$s. We recommend upgrading to the newest version immediately.</string>
|
<string name="updates__app_with_known_vulnerability__prompt_upgrade">We found a vulnerability with %1$s. We recommend updating to the newest version immediately.</string>
|
||||||
<string name="updates__app_with_known_vulnerability__ignore">Ignore</string>
|
<string name="updates__app_with_known_vulnerability__ignore">Ignore</string>
|
||||||
|
|
||||||
<string name="updates__hide_updateable_apps">Hide apps</string>
|
<string name="updates__hide_updateable_apps">Hide apps</string>
|
||||||
@ -174,7 +174,7 @@ This often occurs with apps installed via Google Play or other sources, if they
|
|||||||
<string name="menu_search">Search</string>
|
<string name="menu_search">Search</string>
|
||||||
<string name="menu_add_repo">New Repository</string>
|
<string name="menu_add_repo">New Repository</string>
|
||||||
|
|
||||||
<string name="menu_launch">Run</string>
|
<string name="menu_launch">Open</string>
|
||||||
<string name="menu_open">Open</string>
|
<string name="menu_open">Open</string>
|
||||||
<string name="menu_share">Share</string>
|
<string name="menu_share">Share</string>
|
||||||
<string name="menu_install">Install</string>
|
<string name="menu_install">Install</string>
|
||||||
@ -188,7 +188,7 @@ This often occurs with apps installed via Google Play or other sources, if they
|
|||||||
<string name="menu_video">Video</string>
|
<string name="menu_video">Video</string>
|
||||||
<string name="menu_license">License: %s</string>
|
<string name="menu_license">License: %s</string>
|
||||||
<string name="menu_source">Source Code</string>
|
<string name="menu_source">Source Code</string>
|
||||||
<string name="menu_upgrade">Upgrade</string>
|
<string name="menu_upgrade">Update</string>
|
||||||
<string name="menu_downgrade">Downgrade</string>
|
<string name="menu_downgrade">Downgrade</string>
|
||||||
<string name="menu_donate">Donate</string>
|
<string name="menu_donate">Donate</string>
|
||||||
<string name="menu_bitcoin">Bitcoin</string>
|
<string name="menu_bitcoin">Bitcoin</string>
|
||||||
@ -406,7 +406,7 @@ This often occurs with apps installed via Google Play or other sources, if they
|
|||||||
</string>
|
</string>
|
||||||
|
|
||||||
<string name="nearby_splash__download_apps_from_people_nearby">No Internet? Get apps from people near you!</string>
|
<string name="nearby_splash__download_apps_from_people_nearby">No Internet? Get apps from people near you!</string>
|
||||||
<string name="nearby_splash__find_people_button">Find people near me</string>
|
<string name="nearby_splash__find_people_button">Find people nearby</string>
|
||||||
<string name="nearby_splash__both_parties_need_fdroid">Both parties need %1$s to use nearby.</string>
|
<string name="nearby_splash__both_parties_need_fdroid">Both parties need %1$s to use nearby.</string>
|
||||||
|
|
||||||
<string name="swap_nfc_title">Touch to swap</string>
|
<string name="swap_nfc_title">Touch to swap</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user