general: Rename "application" to "app"

Several places in Shell use the word "application". However,"app"
is a more common term nowadays, so update strings accordingly.

https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6202

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2614>
This commit is contained in:
sunflowerskater 2022-12-16 18:33:10 -03:00 committed by Marge Bot
parent e8c6cc3761
commit 2d00320a4b
14 changed files with 34 additions and 32 deletions

View File

@ -6,39 +6,39 @@
package="gnome-shell">
<KeyListEntry name="switch-to-application-1"
description="Activate favorite application 1"
description="Activate favorite app 1"
hidden="true"/>
<KeyListEntry name="switch-to-application-2"
description="Activate favorite application 2"
description="Activate favorite app 2"
hidden="true"/>
<KeyListEntry name="switch-to-application-3"
description="Activate favorite application 3"
description="Activate favorite app 3"
hidden="true"/>
<KeyListEntry name="switch-to-application-4"
description="Activate favorite application 4"
description="Activate favorite app 4"
hidden="true"/>
<KeyListEntry name="switch-to-application-5"
description="Activate favorite application 5"
description="Activate favorite app 5"
hidden="true"/>
<KeyListEntry name="switch-to-application-6"
description="Activate favorite application 6"
description="Activate favorite app 6"
hidden="true"/>
<KeyListEntry name="switch-to-application-7"
description="Activate favorite application 7"
description="Activate favorite app 7"
hidden="true"/>
<KeyListEntry name="switch-to-application-8"
description="Activate favorite application 8"
description="Activate favorite app 8"
hidden="true"/>
<KeyListEntry name="switch-to-application-9"
description="Activate favorite application 9"
description="Activate favorite app 9"
hidden="true"/>
</KeyListEntries>

View File

@ -15,10 +15,10 @@
description="Show the overview"/>
<KeyListEntry name="toggle-application-view"
description="Show all applications"/>
description="Show all apps"/>
<KeyListEntry name="open-application-menu"
description="Open the application menu"/>
description="Open the app menu"/>
</KeyListEntries>

View File

@ -1149,7 +1149,7 @@ var BaseAppView = GObject.registerClass({
if (this._items.has(id))
this._items.get(id).navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
else
log(`No such application ${id}`);
log(`No such app ${id}`);
}
selectApp(id) {

View File

@ -39,7 +39,7 @@ var CloseDialog = GObject.registerClass({
/* Translators: %s is an application name */
let title = _("“%s” is not responding.").format(windowApp.get_name());
let description = _('You may choose to wait a short while for it to ' +
'continue or force the application to quit entirely.');
'continue or force the app to quit entirely.');
return new Dialog.MessageDialogContent({ title, description });
}

View File

@ -68,7 +68,7 @@ function startAppForMount(app, mount) {
retval = app.launch(files,
global.create_app_launch_context(0, -1));
} catch (e) {
log(`Unable to launch the application ${app.get_name()}: ${e}`);
log(`Unable to launch the app ${app.get_name()}: ${e}`);
}
return retval;

View File

@ -202,7 +202,7 @@ class ShowAppsIcon extends DashItemContainer {
toggle_mode: true,
});
this._iconActor = null;
this.icon = new IconGrid.BaseIcon(_('Show Applications'), {
this.icon = new IconGrid.BaseIcon(_('Show Apps'), {
setSizeManually: true,
showLabel: false,
createIcon: this._createIcon.bind(this),
@ -248,7 +248,7 @@ class ShowAppsIcon extends DashItemContainer {
if (canRemove)
this.setLabelText(_('Unpin'));
else
this.setLabelText(_("Show Applications"));
this.setLabelText(_('Show Apps'));
}
handleDragOver(source, _actor, _x, _y, _time) {

View File

@ -75,8 +75,8 @@ var InhibitShortcutsDialog = GObject.registerClass({
title: _('Allow inhibiting shortcuts'),
description: name
/* Translators: %s is an application name like "Settings" */
? _('The application %s wants to inhibit shortcuts').format(name)
: _('An application wants to inhibit shortcuts'),
? _('The app %s wants to inhibit shortcuts').format(name)
: _('An app wants to inhibit shortcuts'),
});
let restoreAccel = this._getRestoreAccel();

View File

@ -284,7 +284,7 @@ function _initializeUI() {
messageTray.add(source);
const notification = new MessageTray.Notification(source,
_('System was put in unsafe mode'),
_('Applications now have unrestricted access'));
_('Apps now have unrestricted access'));
notification.addAction(_('Undo'),
() => (global.context.unsafe_mode = false));
notification.setTransient(true);

View File

@ -597,7 +597,7 @@ class GtkNotificationDaemonAppSource extends MessageTray.Source {
const params = target ? [target] : [];
app.ActivateActionAsync(actionId, params, getPlatformData());
} catch (error) {
logError(error, 'Failed to activate application proxy');
logError(error, 'Failed to activate app proxy');
}
Main.overview.hide();
Main.panel.closeCalendar();
@ -608,7 +608,7 @@ class GtkNotificationDaemonAppSource extends MessageTray.Source {
const app = await this._createApp();
app.ActivateAsync(getPlatformData());
} catch (error) {
logError(error, 'Failed to open application proxy');
logError(error, 'Failed to open app proxy');
}
Main.overview.hide();
Main.panel.closeCalendar();

View File

@ -405,7 +405,7 @@ class ControlsManager extends St.Widget {
Main.ctrlAltTabManager.addGroup(
this.appDisplay,
_('Applications'),
_('Apps'),
'view-app-grid-symbolic', {
proxy: this,
focusCallback: () => {

View File

@ -150,10 +150,10 @@ var ActionComboBox = GObject.registerClass({
this._editMenuManager.addMenu(this._editMenu);
this._actionLabels = new Map();
this._actionLabels.set(GDesktopEnums.PadButtonAction.NONE, _("Application defined"));
this._actionLabels.set(GDesktopEnums.PadButtonAction.HELP, _("Show on-screen help"));
this._actionLabels.set(GDesktopEnums.PadButtonAction.SWITCH_MONITOR, _("Switch monitor"));
this._actionLabels.set(GDesktopEnums.PadButtonAction.KEYBINDING, _("Assign keystroke"));
this._actionLabels.set(GDesktopEnums.PadButtonAction.NONE, _('App defined'));
this._actionLabels.set(GDesktopEnums.PadButtonAction.HELP, _('Show on-screen help'));
this._actionLabels.set(GDesktopEnums.PadButtonAction.SWITCH_MONITOR, _('Switch monitor'));
this._actionLabels.set(GDesktopEnums.PadButtonAction.KEYBINDING, _('Assign keystroke'));
this._buttonItems = [];

View File

@ -268,8 +268,9 @@ var ScreenShield = class extends Signals.EventEmitter {
//
// XXX: another option is to kick the user into the gdm login
// screen, where we're not affected by grabs
Main.notifyError(_("Unable to lock"),
_("Lock was blocked by an application"));
Main.notifyError(
_('Unable to lock'),
_('Lock was blocked by an app'));
return;
}
@ -665,8 +666,9 @@ var ScreenShield = class extends Signals.EventEmitter {
// Warn the user if we can't become modal
if (!this._becomeModal()) {
Main.notifyError(_("Unable to lock"),
_("Lock was blocked by an application"));
Main.notifyError(
_('Unable to lock'),
_('Lock was blocked by an app'));
return;
}

View File

@ -160,7 +160,7 @@ var GnomeShell = class {
invocation.return_error_literal(
Gio.DBusError,
Gio.DBusError.FILE_NOT_FOUND,
`No application with ID ${id}`);
`No app with ID ${id}`);
return;
}

View File

@ -1,5 +1,5 @@
# ![logo] GNOME Extensions
GNOME Extensions is a small application for managing GNOME Shell
GNOME Extensions is a small app for managing GNOME Shell
extensions. It is usually built as part of gnome-shell, but can be
used as a stand-alone project as well.