Compare commits
82 Commits
Author | SHA1 | Date | |
---|---|---|---|
72a43a6001 | |||
5180ab262c | |||
5fca85cd28 | |||
fb5b368ca7 | |||
62b6419332 | |||
65c136f4ed | |||
34606c0a8c | |||
260657c0b8 | |||
f5cc579272 | |||
b4ce0e7208 | |||
eb3fc7815e | |||
2f5a226bc2 | |||
01eb79a3cc | |||
7ea364ae8b | |||
48a6e6f309 | |||
0f63ad0fc1 | |||
49c4ba5656 | |||
642bf2b778 | |||
328bb1c21b | |||
38add2e78b | |||
2dc41c944e | |||
ea552ea157 | |||
a72dca3610 | |||
5e5035a0f7 | |||
ffdb85e003 | |||
6a969b934f | |||
8d3ff56846 | |||
d8d046f2b3 | |||
0bec76b6ee | |||
aa3aea7520 | |||
49fcc93a4b | |||
eaec459ee9 | |||
72c6f0025d | |||
aa3caff714 | |||
522ccaba3f | |||
3d00864599 | |||
bd3dfb8f6a | |||
1b3c89f32b | |||
a4475465f1 | |||
84f14cb61c | |||
d0de411a59 | |||
2b9645b268 | |||
4f08bebbf0 | |||
4e8c476153 | |||
1d374ac8bd | |||
83f0f4ea36 | |||
18f569280c | |||
fc0c98805f | |||
6722b69b8a | |||
f9d909f985 | |||
dd42cfa853 | |||
4ed4bb330e | |||
f02b007337 | |||
0035de4ab7 | |||
28552d4b38 | |||
42066a7c46 | |||
45847470d1 | |||
72b0a3d78f | |||
fc3ad390b7 | |||
926de53c0c | |||
e6cd112379 | |||
2cefc8be27 | |||
991179835e | |||
0ca2fee54f | |||
778ef365d9 | |||
45937ed85d | |||
65a9c09c9c | |||
67b14d5fe5 | |||
f976e46c46 | |||
7026209eae | |||
1e82d6edc2 | |||
50ac1dd197 | |||
9d933356e1 | |||
c2a5c00111 | |||
edb561a6ff | |||
14c2460fe4 | |||
598362448a | |||
845273d4c0 | |||
3aebfdc319 | |||
f423c371c8 | |||
6fe1ad62ba | |||
63efe1db11 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,6 +23,7 @@ data/gnome-shell-wayland.desktop
|
||||
data/gnome-shell-wayland.desktop.in
|
||||
data/gnome-shell-extension-prefs.desktop
|
||||
data/gnome-shell-extension-prefs.desktop.in
|
||||
data/gnome-shell-theme.gresource
|
||||
data/gschemas.compiled
|
||||
data/perf-background.xml
|
||||
data/org.gnome.shell.gschema.xml
|
||||
|
50
NEWS
50
NEWS
@ -1,3 +1,53 @@
|
||||
3.15.1
|
||||
======
|
||||
* Use GResources for theme loading [Cosimo; #736936]
|
||||
* Reset the OSK to primary on monitor changes [Rui; #738536]
|
||||
* Use LC_TIME locale for format string translations [Florian; #738640]
|
||||
* Summarize queued up notifications [Devyani; #702460]
|
||||
* Improve handling of multi-day events [Andreas; #727302]
|
||||
* Support EXTERNAL scroll policy type [Florian; #739379]
|
||||
* Misc. bugfixes [Owen, Rui; #738652, #739252]
|
||||
|
||||
Contributors:
|
||||
Andreas Brauchli, Cosimo Cecchi, Devyani Kota, Rui Matos, Florian Müllner,
|
||||
Jasper St. Pierre, Owen W. Taylor
|
||||
|
||||
Translations:
|
||||
Bahodir Mansurov [uz@cyrillic]
|
||||
|
||||
3.14.1
|
||||
======
|
||||
* Fix pulse animation for scrolled app folders [Florian; #736885]
|
||||
* Fix updating background on file changes [Owen; #710756]
|
||||
* Obtain keyboard variant from IBus [Jinkyu; #735066]
|
||||
* Implement Ctrl-u / Ctrl-k keybindings in entries [Florian; #737346]
|
||||
* Pass VPN hints to auth dialog [Dan; #737592]
|
||||
* Only allow one screenshot request at a time [Adel; #737456]
|
||||
* Respect disable-save-to-disc lockdown setting [Florian; #737846]
|
||||
* Respect scaling-factor for profile pictures [Darcy; #735419]
|
||||
* Focus login screen after lifting the lock screen shield [Ray; #708105]
|
||||
* Speed up pulse animation for few items [Carlos S.; #737017]
|
||||
* Fix gap between workspace switcher and screen edge [Florian; #728899]
|
||||
* Disable unredirection during recordings [Adel; #738226]
|
||||
* Ensure there's always at least one input source [Rui; #738303]
|
||||
* Restrict width of dash icons' context menus [Adel; #738054]
|
||||
* Misc. bug fixes [Jasper, Florian, Carlos G., Owen; #736999, #737382, #737001,
|
||||
#738314, #738256, #738147]
|
||||
|
||||
Contributors:
|
||||
Darcy Beurle, Cosimo Cecchi, Adel Gadllah, Carlos Garnacho, Rui Matos,
|
||||
Florian Müllner, Carlos Soriano, Jasper St. Pierre, Ray Strode, Patrick Ward,
|
||||
Dan Williams, Owen W. Taylor, Jinkyu Yi
|
||||
|
||||
Translations:
|
||||
Мирослав Николић po/sr, sr@latin.po, Fran Diéguez [gl], Marek Černocký [cs],
|
||||
Saibal Ray [bn_IN], Rajesh Ranjan [hi], Friedel Wolff [af],
|
||||
Zhou Fang [zh_CN], Krishnababu Krothapalli [te], Kjartan Maraas [nb],
|
||||
Rūdolfs Mazurs [lv], Sweta Kothari [gu], Christian Kirbach [de],
|
||||
Cheng-Chia Tseng [zh_TW], Pedro Albuquerque [pt], Daniel Mustieles [es],
|
||||
Luca Ferretti [it], Baurzhan Muftakhidinov [kk], Arash Mousavi [fa],
|
||||
Milo Casagrande [it]
|
||||
|
||||
3.14.0
|
||||
======
|
||||
* Fix exposure of the accessible tree [Alejandro; #736821]
|
||||
|
@ -1,5 +1,5 @@
|
||||
AC_PREREQ(2.63)
|
||||
AC_INIT([gnome-shell],[3.14.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
|
||||
AC_INIT([gnome-shell],[3.15.1],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell],[gnome-shell])
|
||||
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_CONFIG_SRCDIR([src/shell-global.c])
|
||||
@ -76,7 +76,7 @@ AC_MSG_RESULT($enable_systemd)
|
||||
CLUTTER_MIN_VERSION=1.15.90
|
||||
GOBJECT_INTROSPECTION_MIN_VERSION=0.10.1
|
||||
GJS_MIN_VERSION=1.39.0
|
||||
MUTTER_MIN_VERSION=3.14.0
|
||||
MUTTER_MIN_VERSION=3.15.1
|
||||
GTK_MIN_VERSION=3.13.2
|
||||
GIO_MIN_VERSION=2.37.0
|
||||
LIBECAL_MIN_VERSION=3.5.3
|
||||
|
@ -35,44 +35,11 @@ introspection_DATA = \
|
||||
org.gnome.ShellSearchProvider.xml \
|
||||
org.gnome.ShellSearchProvider2.xml
|
||||
|
||||
themedir = $(pkgdatadir)/theme
|
||||
dist_theme_DATA = \
|
||||
theme/calendar-arrow-left.svg \
|
||||
theme/calendar-arrow-right.svg \
|
||||
theme/calendar-today.svg \
|
||||
theme/checkbox-focused.svg \
|
||||
theme/checkbox-off-focused.svg \
|
||||
theme/checkbox-off.svg \
|
||||
theme/checkbox.svg \
|
||||
theme/close-window.svg \
|
||||
theme/close.svg \
|
||||
theme/corner-ripple-ltr.png \
|
||||
theme/corner-ripple-rtl.png \
|
||||
theme/dash-placeholder.svg \
|
||||
theme/filter-selected-ltr.svg \
|
||||
theme/filter-selected-rtl.svg \
|
||||
theme/gnome-shell.css \
|
||||
theme/logged-in-indicator.svg \
|
||||
theme/message-tray-background.png \
|
||||
theme/more-results.svg \
|
||||
theme/noise-texture.png \
|
||||
theme/page-indicator-active.svg \
|
||||
theme/page-indicator-inactive.svg \
|
||||
theme/page-indicator-checked.svg \
|
||||
theme/page-indicator-hover.svg \
|
||||
theme/panel-button-border.svg \
|
||||
theme/panel-button-highlight-narrow.svg \
|
||||
theme/panel-button-highlight-wide.svg \
|
||||
theme/process-working.svg \
|
||||
theme/running-indicator.svg \
|
||||
theme/source-button-border.svg \
|
||||
theme/summary-counter.svg \
|
||||
theme/toggle-off-us.svg \
|
||||
theme/toggle-off-intl.svg \
|
||||
theme/toggle-on-us.svg \
|
||||
theme/toggle-on-intl.svg \
|
||||
theme/ws-switch-arrow-up.png \
|
||||
theme/ws-switch-arrow-down.png
|
||||
resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/theme --generate-dependencies $(srcdir)/gnome-shell-theme.gresource.xml)
|
||||
gnome-shell-theme.gresource: gnome-shell-theme.gresource.xml $(resource_files)
|
||||
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/theme $<
|
||||
resourcedir = $(pkgdatadir)
|
||||
resource_DATA = gnome-shell-theme.gresource
|
||||
|
||||
backgrounddir = $(pkgdatadir)
|
||||
background_DATA = perf-background.xml
|
||||
@ -116,7 +83,9 @@ EXTRA_DIST = \
|
||||
perf-background.xml.in \
|
||||
org.gnome.Shell.PortalHelper.desktop.in \
|
||||
org.gnome.Shell.PortalHelper.service.in \
|
||||
org.gnome.shell.gschema.xml.in.in
|
||||
org.gnome.shell.gschema.xml.in.in \
|
||||
gnome-shell-theme.gresource.xml \
|
||||
$(resource_files)
|
||||
|
||||
CLEANFILES += \
|
||||
gnome-shell.desktop.in \
|
||||
@ -128,4 +97,5 @@ CLEANFILES += \
|
||||
perf-background.xml \
|
||||
gschemas.compiled \
|
||||
org.gnome.shell.gschema.valid \
|
||||
org.gnome.shell.gschema.xml.in
|
||||
org.gnome.shell.gschema.xml.in \
|
||||
gnome-shell-theme.gresource
|
||||
|
41
data/gnome-shell-theme.gresource.xml
Normal file
41
data/gnome-shell-theme.gresource.xml
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gresources>
|
||||
<gresource prefix="/org/gnome/shell/theme">
|
||||
<file>calendar-arrow-left.svg</file>
|
||||
<file>calendar-arrow-right.svg</file>
|
||||
<file>calendar-today.svg</file>
|
||||
<file>checkbox-focused.svg</file>
|
||||
<file>checkbox-off-focused.svg</file>
|
||||
<file>checkbox-off.svg</file>
|
||||
<file>checkbox.svg</file>
|
||||
<file>close-window.svg</file>
|
||||
<file>close.svg</file>
|
||||
<file>corner-ripple-ltr.png</file>
|
||||
<file>corner-ripple-rtl.png</file>
|
||||
<file>dash-placeholder.svg</file>
|
||||
<file>filter-selected-ltr.svg</file>
|
||||
<file>filter-selected-rtl.svg</file>
|
||||
<file>gnome-shell.css</file>
|
||||
<file>logged-in-indicator.svg</file>
|
||||
<file>message-tray-background.png</file>
|
||||
<file>more-results.svg</file>
|
||||
<file>noise-texture.png</file>
|
||||
<file>page-indicator-active.svg</file>
|
||||
<file>page-indicator-inactive.svg</file>
|
||||
<file>page-indicator-checked.svg</file>
|
||||
<file>page-indicator-hover.svg</file>
|
||||
<file>panel-button-border.svg</file>
|
||||
<file>panel-button-highlight-narrow.svg</file>
|
||||
<file>panel-button-highlight-wide.svg</file>
|
||||
<file>process-working.svg</file>
|
||||
<file>running-indicator.svg</file>
|
||||
<file>source-button-border.svg</file>
|
||||
<file>summary-counter.svg</file>
|
||||
<file>toggle-off-us.svg</file>
|
||||
<file>toggle-off-intl.svg</file>
|
||||
<file>toggle-on-us.svg</file>
|
||||
<file>toggle-on-intl.svg</file>
|
||||
<file>ws-switch-arrow-up.png</file>
|
||||
<file>ws-switch-arrow-down.png</file>
|
||||
</gresource>
|
||||
</gresources>
|
@ -232,6 +232,10 @@ StScrollBar StButton#vhandle:active {
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
.app-well-menu {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
/* The remaining popup-menu sizing is all done in ems, so that if you
|
||||
* override .popup-menu.font-size, everything else will scale with it.
|
||||
*/
|
||||
@ -1490,6 +1494,10 @@ StScrollBar StButton#vhandle:active {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.events-day-time-ellipses {
|
||||
color: rgba(153, 153, 153, 1.0);
|
||||
}
|
||||
|
||||
.events-day-time:rtl {
|
||||
text-align: left;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
const Clutter = imports.gi.Clutter;
|
||||
const Gio = imports.gi.Gio;
|
||||
const Lang = imports.lang;
|
||||
const Signals = imports.signals;
|
||||
const St = imports.gi.St;
|
||||
@ -126,7 +127,7 @@ const AuthPrompt = new Lang.Class({
|
||||
|
||||
this._initButtons();
|
||||
|
||||
let spinnerIcon = global.datadir + '/theme/process-working.svg';
|
||||
let spinnerIcon = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.svg');
|
||||
this._spinner = new Animation.AnimatedIcon(spinnerIcon, DEFAULT_BUTTON_WELL_ICON_SIZE);
|
||||
this._spinner.actor.opacity = 0;
|
||||
this._spinner.actor.show();
|
||||
@ -134,8 +135,7 @@ const AuthPrompt = new Lang.Class({
|
||||
},
|
||||
|
||||
_onDestroy: function() {
|
||||
this._userVerifier.clear();
|
||||
this._userVerifier.disconnectAll();
|
||||
this._userVerifier.destroy();
|
||||
this._userVerifier = null;
|
||||
},
|
||||
|
||||
@ -419,11 +419,13 @@ const AuthPrompt = new Lang.Class({
|
||||
},
|
||||
|
||||
setUser: function(user) {
|
||||
let oldChild = this._userWell.get_child();
|
||||
if (oldChild)
|
||||
oldChild.destroy();
|
||||
|
||||
if (user) {
|
||||
let userWidget = new UserWidget.UserWidget(user);
|
||||
this._userWell.set_child(userWidget.actor);
|
||||
} else {
|
||||
this._userWell.set_child(null);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -64,6 +64,8 @@ const UserListItem = new Lang.Class({
|
||||
reactive: true,
|
||||
x_align: St.Align.START,
|
||||
x_fill: true });
|
||||
this.actor.connect('destroy',
|
||||
Lang.bind(this, this._onDestroy));
|
||||
|
||||
this._userWidget = new UserWidget.UserWidget(this.user);
|
||||
layout.add(this._userWidget.actor);
|
||||
@ -87,6 +89,10 @@ const UserListItem = new Lang.Class({
|
||||
this.actor.remove_style_pseudo_class('logged-in');
|
||||
},
|
||||
|
||||
_onDestroy: function() {
|
||||
this._user.disconnect(this._userChangedId);
|
||||
},
|
||||
|
||||
_onClicked: function() {
|
||||
this.emit('activate');
|
||||
},
|
||||
@ -373,12 +379,11 @@ const LoginDialog = new Lang.Class({
|
||||
if (GLib.getenv('GDM_GREETER_TEST') != '1') {
|
||||
this._greeter = gdmClient.get_greeter_sync(null);
|
||||
|
||||
this._greeter.connect('default-session-name-changed',
|
||||
this._defaultSessionChangedId = this._greeter.connect('default-session-name-changed',
|
||||
Lang.bind(this, this._onDefaultSessionChanged));
|
||||
|
||||
this._greeter.connect('session-opened',
|
||||
this._sessionOpenedId = this._greeter.connect('session-opened',
|
||||
Lang.bind(this, this._onSessionOpened));
|
||||
this._greeter.connect('timed-login-requested',
|
||||
this._timedLoginRequestedId = this._greeter.connect('timed-login-requested',
|
||||
Lang.bind(this, this._onTimedLoginRequested));
|
||||
}
|
||||
|
||||
@ -394,7 +399,7 @@ const LoginDialog = new Lang.Class({
|
||||
Lang.bind(this, this._updateLogo));
|
||||
|
||||
this._textureCache = St.TextureCache.get_default();
|
||||
this._textureCache.connect('texture-file-changed',
|
||||
this._updateLogoTextureId = this._textureCache.connect('texture-file-changed',
|
||||
Lang.bind(this, this._updateLogoTexture));
|
||||
|
||||
this._userSelectionBox = new St.BoxLayout({ style_class: 'login-dialog-user-selection-box',
|
||||
@ -476,7 +481,7 @@ const LoginDialog = new Lang.Class({
|
||||
// If the user list is enabled, it should take key focus; make sure the
|
||||
// screen shield is initialized first to prevent it from stealing the
|
||||
// focus later
|
||||
Main.layoutManager.connect('startup-complete',
|
||||
this._startupCompleteId = Main.layoutManager.connect('startup-complete',
|
||||
Lang.bind(this, this._updateDisableUserList));
|
||||
},
|
||||
|
||||
@ -532,14 +537,14 @@ const LoginDialog = new Lang.Class({
|
||||
}
|
||||
},
|
||||
|
||||
_updateLogoTexture: function(cache, uri) {
|
||||
if (this._logoFileUri != uri)
|
||||
_updateLogoTexture: function(cache, file) {
|
||||
if (this._logoFile && !this._logoFile.equal(file))
|
||||
return;
|
||||
|
||||
this._logoBin.destroy_all_children();
|
||||
if (this._logoFileUri) {
|
||||
if (this._logoFile) {
|
||||
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
|
||||
this._logoBin.add_child(this._textureCache.load_uri_async(this._logoFileUri,
|
||||
this._logoBin.add_child(this._textureCache.load_file_async(this._logoFile,
|
||||
-1, _LOGO_ICON_HEIGHT,
|
||||
scaleFactor));
|
||||
}
|
||||
@ -548,8 +553,8 @@ const LoginDialog = new Lang.Class({
|
||||
_updateLogo: function() {
|
||||
let path = this._settings.get_string(GdmUtil.LOGO_KEY);
|
||||
|
||||
this._logoFileUri = path ? Gio.file_new_for_path(path).get_uri() : null;
|
||||
this._updateLogoTexture(this._textureCache, this._logoFileUri);
|
||||
this._logoFile = path ? Gio.file_new_for_path(path) : null;
|
||||
this._updateLogoTexture(this._textureCache, this._logoFile);
|
||||
},
|
||||
|
||||
_onPrompted: function() {
|
||||
@ -665,6 +670,8 @@ const LoginDialog = new Lang.Class({
|
||||
},
|
||||
|
||||
_gotGreeterSessionProxy: function(proxy) {
|
||||
this._greeterSessionProxy = proxy;
|
||||
this._greeterSessionProxyChangedId =
|
||||
proxy.connect('g-properties-changed', Lang.bind(this, function() {
|
||||
if (proxy.Active)
|
||||
this._loginScreenSessionActivated();
|
||||
@ -890,6 +897,30 @@ const LoginDialog = new Lang.Class({
|
||||
this._userManager.disconnect(this._userManagerLoadedId);
|
||||
this._userManagerLoadedId = 0;
|
||||
}
|
||||
if (this._userAddedId) {
|
||||
this._userManager.disconnect(this._userAddedId);
|
||||
this._userAddedId = 0;
|
||||
}
|
||||
if (this._userRemovedId) {
|
||||
this._userManager.disconnect(this._userRemovedId);
|
||||
this._userRemovedId = 0;
|
||||
}
|
||||
this._textureCache.disconnect(this._updateLogoTextureId);
|
||||
Main.layoutManager.disconnect(this._startupCompleteId);
|
||||
if (this._settings) {
|
||||
this._settings.run_dispose();
|
||||
this._settings = null;
|
||||
}
|
||||
if (this._greeter) {
|
||||
this._greeter.disconnect(this._defaultSessionChangedId);
|
||||
this._greeter.disconnect(this._sessionOpenedId);
|
||||
this._greeter.disconnect(this._timedLoginRequestedId);
|
||||
this._greeter = null;
|
||||
}
|
||||
if (this._greeterSessionProxy) {
|
||||
this._greeterSessionProxy.disconnect(this._greeterSessionProxyChangedId);
|
||||
this._greeterSessionProxy = null;
|
||||
}
|
||||
},
|
||||
|
||||
_loadUserList: function() {
|
||||
@ -904,12 +935,12 @@ const LoginDialog = new Lang.Class({
|
||||
this._userList.addUser(users[i]);
|
||||
}
|
||||
|
||||
this._userManager.connect('user-added',
|
||||
this._userAddedId = this._userManager.connect('user-added',
|
||||
Lang.bind(this, function(userManager, user) {
|
||||
this._userList.addUser(user);
|
||||
}));
|
||||
|
||||
this._userManager.connect('user-removed',
|
||||
this._userRemovedId = this._userManager.connect('user-removed',
|
||||
Lang.bind(this, function(userManager, user) {
|
||||
this._userList.removeUser(user);
|
||||
}));
|
||||
|
@ -142,9 +142,9 @@ const ShellUserVerifier = new Lang.Class({
|
||||
// after a user has been picked.
|
||||
this._checkForSmartcard();
|
||||
|
||||
this._smartcardManager.connect('smartcard-inserted',
|
||||
this._smartcardInsertedId = this._smartcardManager.connect('smartcard-inserted',
|
||||
Lang.bind(this, this._checkForSmartcard));
|
||||
this._smartcardManager.connect('smartcard-removed',
|
||||
this._smartcardRemovedId = this._smartcardManager.connect('smartcard-removed',
|
||||
Lang.bind(this, this._checkForSmartcard));
|
||||
|
||||
this._messageQueue = [];
|
||||
@ -159,7 +159,7 @@ const ShellUserVerifier = new Lang.Class({
|
||||
if (this._oVirtCredentialsManager.hasToken())
|
||||
this._oVirtUserAuthenticated(this._oVirtCredentialsManager.getToken());
|
||||
|
||||
this._oVirtCredentialsManager.connect('user-authenticated',
|
||||
this._oVirtUserAuthenticatedId = this._oVirtCredentialsManager.connect('user-authenticated',
|
||||
Lang.bind(this, this._oVirtUserAuthenticated));
|
||||
},
|
||||
|
||||
@ -191,20 +191,37 @@ const ShellUserVerifier = new Lang.Class({
|
||||
}
|
||||
},
|
||||
|
||||
_clearUserVerifier: function() {
|
||||
if (this._userVerifier) {
|
||||
this._userVerifier.run_dispose();
|
||||
this._userVerifier = null;
|
||||
}
|
||||
},
|
||||
|
||||
clear: function() {
|
||||
if (this._cancellable) {
|
||||
this._cancellable.cancel();
|
||||
this._cancellable = null;
|
||||
}
|
||||
|
||||
if (this._userVerifier) {
|
||||
this._userVerifier.run_dispose();
|
||||
this._userVerifier = null;
|
||||
}
|
||||
|
||||
this._clearUserVerifier();
|
||||
this._clearMessageQueue();
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.clear();
|
||||
|
||||
this._settings.run_dispose();
|
||||
this._settings = null;
|
||||
|
||||
this._smartcardManager.disconnect(this._smartcardInsertedId);
|
||||
this._smartcardManager.disconnect(this._smartcardRemovedId);
|
||||
this._smartcardManager = null;
|
||||
|
||||
this._oVirtCredentialsManager.disconnect(this._oVirtUserAuthenticatedId);
|
||||
this._oVirtCredentialsManager = null;
|
||||
},
|
||||
|
||||
answerQuery: function(serviceName, answer) {
|
||||
if (!this.hasPendingMessages) {
|
||||
this._userVerifier.call_answer_query(serviceName, answer, this._cancellable, null);
|
||||
@ -283,9 +300,10 @@ const ShellUserVerifier = new Lang.Class({
|
||||
|
||||
this._fprintManager.GetDefaultDeviceRemote(Gio.DBusCallFlags.NONE, this._cancellable, Lang.bind(this,
|
||||
function(device, error) {
|
||||
if (!error && device)
|
||||
if (!error && device) {
|
||||
this._haveFingerprintReader = true;
|
||||
this._updateDefaultService();
|
||||
}
|
||||
}));
|
||||
},
|
||||
|
||||
@ -326,6 +344,7 @@ const ShellUserVerifier = new Lang.Class({
|
||||
|
||||
_reauthenticationChannelOpened: function(client, result) {
|
||||
try {
|
||||
this._clearUserVerifier();
|
||||
this._userVerifier = client.open_reauthentication_channel_finish(result);
|
||||
} catch(e if e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED)) {
|
||||
return;
|
||||
@ -349,6 +368,7 @@ const ShellUserVerifier = new Lang.Class({
|
||||
|
||||
_userVerifierGot: function(client, result) {
|
||||
try {
|
||||
this._clearUserVerifier();
|
||||
this._userVerifier = client.get_user_verifier_finish(result);
|
||||
} catch(e if e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED)) {
|
||||
return;
|
||||
|
@ -35,7 +35,7 @@ function releaseKeyboard() {
|
||||
}
|
||||
|
||||
function holdKeyboard() {
|
||||
global.freeze_keyboard(global.get_current_time());
|
||||
global.display.freeze_keyboard(global.get_current_time());
|
||||
}
|
||||
|
||||
const KeyboardManager = new Lang.Class({
|
||||
|
@ -12,7 +12,7 @@ const ANIMATED_ICON_UPDATE_TIMEOUT = 100;
|
||||
const Animation = new Lang.Class({
|
||||
Name: 'Animation',
|
||||
|
||||
_init: function(filename, width, height, speed) {
|
||||
_init: function(file, width, height, speed) {
|
||||
this.actor = new St.Bin();
|
||||
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
|
||||
this._speed = speed;
|
||||
@ -23,7 +23,7 @@ const Animation = new Lang.Class({
|
||||
this._frame = 0;
|
||||
|
||||
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
|
||||
this._animations = St.TextureCache.get_default().load_sliced_image (filename, width, height, scaleFactor,
|
||||
this._animations = St.TextureCache.get_default().load_sliced_image (file, width, height, scaleFactor,
|
||||
Lang.bind(this, this._animationsLoaded));
|
||||
this.actor.set_child(this._animations);
|
||||
},
|
||||
@ -82,7 +82,7 @@ const AnimatedIcon = new Lang.Class({
|
||||
Name: 'AnimatedIcon',
|
||||
Extends: Animation,
|
||||
|
||||
_init: function(filename, size) {
|
||||
this.parent(filename, size, size, ANIMATED_ICON_UPDATE_TIMEOUT);
|
||||
_init: function(file, size) {
|
||||
this.parent(file, size, size, ANIMATED_ICON_UPDATE_TIMEOUT);
|
||||
}
|
||||
});
|
||||
|
@ -379,9 +379,7 @@ const AllView = new Lang.Class({
|
||||
this.actor.add_actor(this._scrollView);
|
||||
|
||||
this._scrollView.set_policy(Gtk.PolicyType.NEVER,
|
||||
Gtk.PolicyType.AUTOMATIC);
|
||||
// we are only using ScrollView for the fade effect, hide scrollbars
|
||||
this._scrollView.vscroll.hide();
|
||||
Gtk.PolicyType.EXTERNAL);
|
||||
this._adjustment = this._scrollView.vscroll.adjustment;
|
||||
|
||||
this._pageIndicators = new PageIndicators();
|
||||
|
@ -106,6 +106,8 @@ const Main = imports.ui.main;
|
||||
const Params = imports.misc.params;
|
||||
const Tweener = imports.ui.tweener;
|
||||
|
||||
const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
|
||||
|
||||
const BACKGROUND_SCHEMA = 'org.gnome.desktop.background';
|
||||
const PRIMARY_COLOR_KEY = 'primary-color';
|
||||
const SECONDARY_COLOR_KEY = 'secondary-color';
|
||||
@ -125,6 +127,16 @@ const ANIMATION_MIN_WAKEUP_INTERVAL = 1.0;
|
||||
|
||||
let _backgroundCache = null;
|
||||
|
||||
function _fileEqual0(file1, file2) {
|
||||
if (file1 == file2)
|
||||
return true;
|
||||
|
||||
if (!file1 || !file2)
|
||||
return false;
|
||||
|
||||
return file1.equal(file2);
|
||||
}
|
||||
|
||||
const BackgroundCache = new Lang.Class({
|
||||
Name: 'BackgroundCache',
|
||||
|
||||
@ -134,25 +146,25 @@ const BackgroundCache = new Lang.Class({
|
||||
this._backgroundSources = {};
|
||||
},
|
||||
|
||||
monitorFile: function(filename) {
|
||||
if (this._fileMonitors[filename])
|
||||
monitorFile: function(file) {
|
||||
let key = file.hash();
|
||||
if (this._fileMonitors[key])
|
||||
return;
|
||||
|
||||
let file = Gio.File.new_for_path(filename);
|
||||
let monitor = file.monitor(Gio.FileMonitorFlags.NONE, null);
|
||||
monitor.connect('changed',
|
||||
Lang.bind(this, function() {
|
||||
this.emit('file-changed', filename);
|
||||
this.emit('file-changed', file);
|
||||
}));
|
||||
|
||||
this._fileMonitors[filename] = monitor;
|
||||
this._fileMonitors[key] = monitor;
|
||||
},
|
||||
|
||||
getAnimation: function(params) {
|
||||
params = Params.parse(params, { filename: null,
|
||||
params = Params.parse(params, { file: null,
|
||||
onLoaded: null });
|
||||
|
||||
if (this._animationFilename == params.filename) {
|
||||
if (_fileEqual0(this._animationFile, params.file)) {
|
||||
if (params.onLoaded) {
|
||||
let id = GLib.idle_add(GLib.PRIORITY_DEFAULT, Lang.bind(this, function() {
|
||||
params.onLoaded(this._animation);
|
||||
@ -160,12 +172,13 @@ const BackgroundCache = new Lang.Class({
|
||||
}));
|
||||
GLib.Source.set_name_by_id(id, '[gnome-shell] params.onLoaded');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
let animation = new Animation({ filename: params.filename });
|
||||
let animation = new Animation({ file: params.file });
|
||||
|
||||
animation.load(Lang.bind(this, function() {
|
||||
this._animationFilename = params.filename;
|
||||
this._animationFile = params.file;
|
||||
this._animation = animation;
|
||||
|
||||
if (params.onLoaded) {
|
||||
@ -218,14 +231,14 @@ const Background = new Lang.Class({
|
||||
params = Params.parse(params, { monitorIndex: 0,
|
||||
layoutManager: Main.layoutManager,
|
||||
settings: null,
|
||||
filename: null,
|
||||
file: null,
|
||||
style: null });
|
||||
|
||||
this.background = new Meta.Background({ meta_screen: global.screen });
|
||||
this.background._delegate = this;
|
||||
|
||||
this._settings = params.settings;
|
||||
this._filename = params.filename;
|
||||
this._file = params.file;
|
||||
this._style = params.style;
|
||||
this._monitorIndex = params.monitorIndex;
|
||||
this._layoutManager = params.layoutManager;
|
||||
@ -292,18 +305,21 @@ const Background = new Lang.Class({
|
||||
this.background.set_gradient(shadingType, color, secondColor);
|
||||
},
|
||||
|
||||
_watchFile: function(filename) {
|
||||
if (this._fileWatches[filename])
|
||||
_watchFile: function(file) {
|
||||
let key = file.hash();
|
||||
if (this._fileWatches[key])
|
||||
return;
|
||||
|
||||
this._cache.monitorFile(filename);
|
||||
this._cache.monitorFile(file);
|
||||
let signalId = this._cache.connect('file-changed',
|
||||
Lang.bind(this, function(cache, changedFile) {
|
||||
if (changedFile == filename) {
|
||||
if (changedFile.equal(file)) {
|
||||
let imageCache = Meta.BackgroundImageCache.get_default();
|
||||
imageCache.purge(changedFile);
|
||||
this.emit('changed');
|
||||
}
|
||||
}));
|
||||
this._fileWatches[filename] = signalId;
|
||||
this._fileWatches[key] = signalId;
|
||||
},
|
||||
|
||||
_removeAnimationTimeout: function() {
|
||||
@ -326,9 +342,9 @@ const Background = new Lang.Class({
|
||||
this._animation.transitionProgress,
|
||||
this._style);
|
||||
} else if (files.length > 0) {
|
||||
this.background.set_filename(files[0], this._style);
|
||||
this.background.set_file(files[0], this._style);
|
||||
} else {
|
||||
this.background.set_filename(null, this._style);
|
||||
this.background.set_file(null, this._style);
|
||||
}
|
||||
this._queueUpdateAnimation();
|
||||
});
|
||||
@ -385,8 +401,8 @@ const Background = new Lang.Class({
|
||||
GLib.Source.set_name_by_id(this._updateAnimationTimeoutId, '[gnome-shell] this._updateAnimation');
|
||||
},
|
||||
|
||||
_loadAnimation: function(filename) {
|
||||
this._cache.getAnimation({ filename: filename,
|
||||
_loadAnimation: function(file) {
|
||||
this._cache.getAnimation({ file: file,
|
||||
onLoaded: Lang.bind(this, function(animation) {
|
||||
this._animation = animation;
|
||||
|
||||
@ -396,17 +412,17 @@ const Background = new Lang.Class({
|
||||
}
|
||||
|
||||
this._updateAnimation();
|
||||
this._watchFile(filename);
|
||||
this._watchFile(file);
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
_loadImage: function(filename) {
|
||||
this.background.set_filename(filename, this._style);
|
||||
this._watchFile(filename);
|
||||
_loadImage: function(file) {
|
||||
this.background.set_file(file, this._style);
|
||||
this._watchFile(file);
|
||||
|
||||
let cache = Meta.BackgroundImageCache.get_default();
|
||||
let image = cache.load(filename);
|
||||
let image = cache.load(file);
|
||||
if (image.is_loaded())
|
||||
this._setLoaded();
|
||||
else {
|
||||
@ -418,11 +434,11 @@ const Background = new Lang.Class({
|
||||
}
|
||||
},
|
||||
|
||||
_loadFile: function(filename) {
|
||||
if (filename.endsWith('.xml'))
|
||||
this._loadAnimation(filename);
|
||||
_loadFile: function(file) {
|
||||
if (file.get_basename().endsWith('.xml'))
|
||||
this._loadAnimation(file);
|
||||
else
|
||||
this._loadImage(filename);
|
||||
this._loadImage(file);
|
||||
},
|
||||
|
||||
_load: function () {
|
||||
@ -430,12 +446,12 @@ const Background = new Lang.Class({
|
||||
|
||||
this._loadPattern();
|
||||
|
||||
if (!this._filename) {
|
||||
if (!this._file) {
|
||||
this._setLoaded();
|
||||
return;
|
||||
}
|
||||
|
||||
this._loadFile(this._filename);
|
||||
this._loadFile(this._file);
|
||||
},
|
||||
});
|
||||
Signals.addSignalMethods(Background.prototype);
|
||||
@ -446,11 +462,12 @@ const SystemBackground = new Lang.Class({
|
||||
Name: 'SystemBackground',
|
||||
|
||||
_init: function() {
|
||||
let filename = global.datadir + '/theme/noise-texture.png';
|
||||
let file = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/noise-texture.png');
|
||||
|
||||
if (_systemBackground == null) {
|
||||
_systemBackground = new Meta.Background({ meta_screen: global.screen });
|
||||
_systemBackground.set_filename(filename, GDesktopEnums.BackgroundStyle.WALLPAPER);
|
||||
_systemBackground.set_color(DEFAULT_BACKGROUND_COLOR);
|
||||
_systemBackground.set_file(file, GDesktopEnums.BackgroundStyle.WALLPAPER);
|
||||
}
|
||||
|
||||
this.actor = new Meta.BackgroundActor({ meta_screen: global.screen,
|
||||
@ -458,7 +475,7 @@ const SystemBackground = new Lang.Class({
|
||||
background: _systemBackground });
|
||||
|
||||
let cache = Meta.BackgroundImageCache.get_default();
|
||||
let image = cache.load(filename);
|
||||
let image = cache.load(file);
|
||||
if (image.is_loaded()) {
|
||||
image = null;
|
||||
let id = GLib.idle_add(GLib.PRIORITY_DEFAULT, Lang.bind(this, function() {
|
||||
@ -507,20 +524,17 @@ const BackgroundSource = new Lang.Class({
|
||||
},
|
||||
|
||||
getBackground: function(monitorIndex) {
|
||||
let filename = null;
|
||||
let file = null;
|
||||
let style;
|
||||
|
||||
if (this._overrideImage != null) {
|
||||
filename = this._overrideImage;
|
||||
file = Gio.File.new_for_path(this._overrideImage);
|
||||
style = GDesktopEnums.BackgroundStyle.ZOOM; // Hardcode
|
||||
} else {
|
||||
style = this._settings.get_enum(BACKGROUND_STYLE_KEY);
|
||||
if (style != GDesktopEnums.BackgroundStyle.NONE) {
|
||||
let uri = this._settings.get_string(PICTURE_URI_KEY);
|
||||
if (GLib.uri_parse_scheme(uri) != null)
|
||||
filename = Gio.File.new_for_uri(uri).get_path();
|
||||
else
|
||||
filename = uri;
|
||||
file = Gio.File.new_for_commandline_arg(uri);
|
||||
}
|
||||
}
|
||||
|
||||
@ -528,7 +542,7 @@ const BackgroundSource = new Lang.Class({
|
||||
// they can have variants that depend on the aspect ratio and
|
||||
// size of the monitor; for other backgrounds we can use the
|
||||
// same background object for all monitors.
|
||||
if (filename == null || !filename.endsWith('.xml'))
|
||||
if (file == null || !file.get_basename().endsWith('.xml'))
|
||||
monitorIndex = 0;
|
||||
|
||||
if (!(monitorIndex in this._backgrounds)) {
|
||||
@ -536,7 +550,7 @@ const BackgroundSource = new Lang.Class({
|
||||
monitorIndex: monitorIndex,
|
||||
layoutManager: this._layoutManager,
|
||||
settings: this._settings,
|
||||
filename: filename,
|
||||
file: file,
|
||||
style: style
|
||||
});
|
||||
|
||||
@ -569,9 +583,9 @@ const Animation = new Lang.Class({
|
||||
Name: 'Animation',
|
||||
|
||||
_init: function(params) {
|
||||
params = Params.parse(params, { filename: null });
|
||||
params = Params.parse(params, { file: null });
|
||||
|
||||
this.filename = params.filename;
|
||||
this.file = params.file;
|
||||
this.keyFrameFiles = [];
|
||||
this.transitionProgress = 0.0;
|
||||
this.transitionDuration = 0.0;
|
||||
@ -579,9 +593,7 @@ const Animation = new Lang.Class({
|
||||
},
|
||||
|
||||
load: function(callback) {
|
||||
let file = Gio.File.new_for_path(this.filename);
|
||||
|
||||
this._show = new GnomeDesktop.BGSlideShow({ filename: this.filename });
|
||||
this._show = new GnomeDesktop.BGSlideShow({ filename: this.file.get_path() });
|
||||
|
||||
this._show.load_async(null,
|
||||
Lang.bind(this,
|
||||
@ -601,16 +613,16 @@ const Animation = new Lang.Class({
|
||||
if (this._show.get_num_slides() < 1)
|
||||
return;
|
||||
|
||||
let [progress, duration, isFixed, file1, file2] = this._show.get_current_slide(monitor.width, monitor.height);
|
||||
let [progress, duration, isFixed, filename1, filename2] = this._show.get_current_slide(monitor.width, monitor.height);
|
||||
|
||||
this.transitionDuration = duration;
|
||||
this.transitionProgress = progress;
|
||||
|
||||
if (file1)
|
||||
this.keyFrameFiles.push(file1);
|
||||
if (filename1)
|
||||
this.keyFrameFiles.push(Gio.File.new_for_path(filename1));
|
||||
|
||||
if (file2)
|
||||
this.keyFrameFiles.push(file2);
|
||||
if (filename2)
|
||||
this.keyFrameFiles.push(Gio.File.new_for_path(filename2));
|
||||
},
|
||||
});
|
||||
Signals.addSignalMethods(Animation.prototype);
|
||||
|
@ -13,9 +13,11 @@ const Shell = imports.gi.Shell;
|
||||
|
||||
const MSECS_IN_DAY = 24 * 60 * 60 * 1000;
|
||||
const SHOW_WEEKDATE_KEY = 'show-weekdate';
|
||||
const ELLIPSIS_CHAR = '\u2026';
|
||||
|
||||
// alias to prevent xgettext from picking up strings translated in GTK+
|
||||
const gtk30_ = Gettext_gtk30.gettext;
|
||||
const NC_ = function(context, str) { return str; };
|
||||
|
||||
// in org.gnome.desktop.interface
|
||||
const CLOCK_FORMAT_KEY = 'clock-format';
|
||||
@ -58,19 +60,21 @@ function _getEndOfDay(date) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
function _formatEventTime(event, clockFormat) {
|
||||
function _formatEventTime(event, clockFormat, periodBegin, periodEnd) {
|
||||
let ret;
|
||||
if (event.allDay) {
|
||||
let allDay = (event.allDay || (event.date <= periodBegin && event.end >= periodEnd));
|
||||
if (allDay) {
|
||||
/* Translators: Shown in calendar event list for all day events
|
||||
* Keep it short, best if you can use less then 10 characters
|
||||
*/
|
||||
ret = C_("event list time", "All Day");
|
||||
} else {
|
||||
let date = event.date >= periodBegin ? event.date : event.end;
|
||||
switch (clockFormat) {
|
||||
case '24h':
|
||||
/* Translators: Shown in calendar event list, if 24h format,
|
||||
\u2236 is a ratio character, similar to : */
|
||||
ret = event.date.toLocaleFormat(C_("event list time", "%H\u2236%M"));
|
||||
ret = date.toLocaleFormat(C_("event list time", "%H\u2236%M"));
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -79,7 +83,7 @@ function _formatEventTime(event, clockFormat) {
|
||||
/* Translators: Shown in calendar event list, if 12h format,
|
||||
\u2236 is a ratio character, similar to : and \u2009 is
|
||||
a thin space */
|
||||
ret = event.date.toLocaleFormat(C_("event list time", "%l\u2236%M\u2009%p"));
|
||||
ret = date.toLocaleFormat(C_("event list time", "%l\u2236%M\u2009%p"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -361,6 +365,12 @@ const DBusEventSource = new Lang.Class({
|
||||
result.push(event);
|
||||
}
|
||||
}
|
||||
result.sort(function(event1, event2) {
|
||||
// sort events by end time on ending day
|
||||
let d1 = event1.date < begin && event1.end <= end ? event1.end : event1.date;
|
||||
let d2 = event2.date < begin && event2.end <= end ? event2.end : event2.date;
|
||||
return d1.getTime() - d2.getTime();
|
||||
});
|
||||
return result;
|
||||
},
|
||||
|
||||
@ -721,12 +731,16 @@ const EventsList = new Lang.Class({
|
||||
this._eventSource.connect('changed', Lang.bind(this, this._update));
|
||||
},
|
||||
|
||||
_addEvent: function(event, index, includeDayName) {
|
||||
_addEvent: function(event, index, includeDayName, periodBegin, periodEnd) {
|
||||
let dayString;
|
||||
if (includeDayName)
|
||||
if (includeDayName) {
|
||||
if (event.date >= periodBegin)
|
||||
dayString = _getEventDayAbbreviation(event.date.getDay());
|
||||
else
|
||||
else /* show event end day if it began earlier */
|
||||
dayString = _getEventDayAbbreviation(event.end.getDay());
|
||||
} else {
|
||||
dayString = '';
|
||||
}
|
||||
|
||||
let dayLabel = new St.Label({ style_class: 'events-day-dayname',
|
||||
text: dayString,
|
||||
@ -739,16 +753,30 @@ const EventsList = new Lang.Class({
|
||||
|
||||
let layout = this.actor.layout_manager;
|
||||
layout.attach(dayLabel, rtl ? 2 : 0, index, 1, 1);
|
||||
|
||||
let clockFormat = this._desktopSettings.get_string(CLOCK_FORMAT_KEY);
|
||||
let timeString = _formatEventTime(event, clockFormat);
|
||||
let timeString = _formatEventTime(event, clockFormat, periodBegin, periodEnd);
|
||||
let timeLabel = new St.Label({ style_class: 'events-day-time',
|
||||
text: timeString,
|
||||
y_align: Clutter.ActorAlign.START });
|
||||
timeLabel.clutter_text.line_wrap = false;
|
||||
timeLabel.clutter_text.ellipsize = false;
|
||||
|
||||
layout.attach(timeLabel, 1, index, 1, 1);
|
||||
let preEllipsisLabel = new St.Label({ style_class: 'events-day-time-ellipses',
|
||||
text: ELLIPSIS_CHAR,
|
||||
y_align: Clutter.ActorAlign.START });
|
||||
let postEllipsisLabel = new St.Label({ style_class: 'events-day-time-ellipses',
|
||||
text: ELLIPSIS_CHAR,
|
||||
y_align: Clutter.ActorAlign.START });
|
||||
if (event.allDay || event.date >= periodBegin)
|
||||
preEllipsisLabel.opacity = 0;
|
||||
if (event.allDay || event.end <= periodEnd)
|
||||
postEllipsisLabel.opacity = 0;
|
||||
|
||||
let timeLabelBoxLayout = new St.BoxLayout();
|
||||
timeLabelBoxLayout.add(preEllipsisLabel);
|
||||
timeLabelBoxLayout.add(timeLabel);
|
||||
timeLabelBoxLayout.add(postEllipsisLabel);
|
||||
layout.attach(timeLabelBoxLayout, 1, index, 1, 1);
|
||||
|
||||
let titleLabel = new St.Label({ style_class: 'events-day-task',
|
||||
text: event.summary,
|
||||
@ -759,8 +787,8 @@ const EventsList = new Lang.Class({
|
||||
layout.attach(titleLabel, rtl ? 0 : 2, index, 1, 1);
|
||||
},
|
||||
|
||||
_addPeriod: function(header, index, begin, end, includeDayName, showNothingScheduled) {
|
||||
let events = this._eventSource.getEvents(begin, end);
|
||||
_addPeriod: function(header, index, periodBegin, periodEnd, includeDayName, showNothingScheduled) {
|
||||
let events = this._eventSource.getEvents(periodBegin, periodEnd);
|
||||
|
||||
if (events.length == 0 && !showNothingScheduled)
|
||||
return index;
|
||||
@ -771,15 +799,14 @@ const EventsList = new Lang.Class({
|
||||
index++;
|
||||
|
||||
for (let n = 0; n < events.length; n++) {
|
||||
this._addEvent(events[n], index, includeDayName);
|
||||
this._addEvent(events[n], index, includeDayName, periodBegin, periodEnd);
|
||||
index++;
|
||||
}
|
||||
|
||||
if (events.length == 0 && showNothingScheduled) {
|
||||
let now = new Date();
|
||||
/* Translators: Text to show if there are no events */
|
||||
let nothingEvent = new CalendarEvent(now, now, _("Nothing Scheduled"), true);
|
||||
this._addEvent(nothingEvent, index, false);
|
||||
let nothingEvent = new CalendarEvent(periodBegin, periodBegin, _("Nothing Scheduled"), true);
|
||||
this._addEvent(nothingEvent, index, false, periodBegin, periodEnd);
|
||||
index++;
|
||||
}
|
||||
|
||||
@ -792,14 +819,17 @@ const EventsList = new Lang.Class({
|
||||
let dayBegin = _getBeginningOfDay(day);
|
||||
let dayEnd = _getEndOfDay(day);
|
||||
|
||||
let dayString;
|
||||
let dayFormat;
|
||||
let now = new Date();
|
||||
if (_sameYear(day, now))
|
||||
/* Translators: Shown on calendar heading when selected day occurs on current year */
|
||||
dayString = day.toLocaleFormat(C_("calendar heading", "%A, %B %d"));
|
||||
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
|
||||
"%A, %B %d"));
|
||||
else
|
||||
/* Translators: Shown on calendar heading when selected day occurs on different year */
|
||||
dayString = day.toLocaleFormat(C_("calendar heading", "%A, %B %d, %Y"));
|
||||
dayFormat = Shell.util_translate_time_string(NC_("calendar heading",
|
||||
"%A, %B %d, %Y"));
|
||||
let dayString = day.toLocaleFormat(dayFormat);
|
||||
this._addPeriod(dayString, 0, dayBegin, dayEnd, false, true);
|
||||
},
|
||||
|
||||
|
@ -380,6 +380,12 @@ const VPNRequestHandler = new Lang.Class({
|
||||
argv.push('-i');
|
||||
if (flags & NMClient.SecretAgentGetSecretsFlags.REQUEST_NEW)
|
||||
argv.push('-r');
|
||||
if (authHelper.supportsHints) {
|
||||
for (let i = 0; i < hints.length; i++) {
|
||||
argv.push('-t');
|
||||
argv.push(hints[i]);
|
||||
}
|
||||
}
|
||||
|
||||
this._newStylePlugin = authHelper.externalUIMode;
|
||||
|
||||
@ -598,7 +604,9 @@ const NetworkAgent = new Lang.Class({
|
||||
Name: 'NetworkAgent',
|
||||
|
||||
_init: function() {
|
||||
this._native = new Shell.NetworkAgent({ identifier: 'org.gnome.Shell.NetworkAgent' });
|
||||
this._native = new Shell.NetworkAgent({ identifier: 'org.gnome.Shell.NetworkAgent',
|
||||
capabilities: NMClient.SecretAgentCapabilities.VPN_HINTS
|
||||
});
|
||||
|
||||
this._dialogs = { };
|
||||
this._vpnRequests = { };
|
||||
@ -698,16 +706,23 @@ const NetworkAgent = new Lang.Class({
|
||||
let service = keyfile.get_string('VPN Connection', 'service');
|
||||
let binary = keyfile.get_string('GNOME', 'auth-dialog');
|
||||
let externalUIMode = false;
|
||||
let hints = false;
|
||||
|
||||
try {
|
||||
externalUIMode = keyfile.get_boolean('GNOME', 'supports-external-ui-mode');
|
||||
} catch(e) { } // ignore errors if key does not exist
|
||||
|
||||
try {
|
||||
hints = keyfile.get_boolean('GNOME', 'supports-hints');
|
||||
} catch(e) { } // ignore errors if key does not exist
|
||||
|
||||
let path = binary;
|
||||
if (!GLib.path_is_absolute(path)) {
|
||||
path = GLib.build_filenamev([Config.LIBEXECDIR, path]);
|
||||
}
|
||||
|
||||
if (GLib.file_test(path, GLib.FileTest.IS_EXECUTABLE))
|
||||
this._vpnBinaries[service] = { fileName: path, externalUIMode: externalUIMode };
|
||||
this._vpnBinaries[service] = { fileName: path, externalUIMode: externalUIMode, supportsHints: hints };
|
||||
else
|
||||
throw new Error('VPN plugin at %s is not executable'.format(path));
|
||||
} catch(e) {
|
||||
|
@ -36,6 +36,8 @@ const NotificationDirection = {
|
||||
RECEIVED: 'chat-received'
|
||||
};
|
||||
|
||||
const N_ = function(s) { return s; };
|
||||
|
||||
function makeMessageFromTpMessage(tpMessage, direction) {
|
||||
let [text, flags] = tpMessage.to_text();
|
||||
|
||||
@ -950,70 +952,70 @@ const ChatNotification = new Lang.Class({
|
||||
// Show only the time if date is on today
|
||||
if(daysAgo < 1){
|
||||
/* Translators: Time in 24h format */
|
||||
format = _("%H\u2236%M");
|
||||
format = N_("%H\u2236%M");
|
||||
}
|
||||
// Show the word "Yesterday" and time if date is on yesterday
|
||||
else if(daysAgo <2){
|
||||
/* Translators: this is the word "Yesterday" followed by a
|
||||
time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
// xgettext:no-c-format
|
||||
format = _("Yesterday, %H\u2236%M");
|
||||
format = N_("Yesterday, %H\u2236%M");
|
||||
}
|
||||
// Show a week day and time if date is in the last week
|
||||
else if (daysAgo < 7) {
|
||||
/* Translators: this is the week day name followed by a time
|
||||
string in 24h format. i.e. "Monday, 14:30" */
|
||||
// xgettext:no-c-format
|
||||
format = _("%A, %H\u2236%M");
|
||||
format = N_("%A, %H\u2236%M");
|
||||
|
||||
} else if (date.getYear() == now.getYear()) {
|
||||
/* Translators: this is the month name and day number
|
||||
followed by a time string in 24h format.
|
||||
i.e. "May 25, 14:30" */
|
||||
// xgettext:no-c-format
|
||||
format = _("%B %d, %H\u2236%M");
|
||||
format = N_("%B %d, %H\u2236%M");
|
||||
} else {
|
||||
/* Translators: this is the month name, day number, year
|
||||
number followed by a time string in 24h format.
|
||||
i.e. "May 25 2012, 14:30" */
|
||||
// xgettext:no-c-format
|
||||
format = _("%B %d %Y, %H\u2236%M");
|
||||
format = N_("%B %d %Y, %H\u2236%M");
|
||||
}
|
||||
} else {
|
||||
// Show only the time if date is on today
|
||||
if(daysAgo < 1){
|
||||
/* Translators: Time in 24h format */
|
||||
format = _("%l\u2236%M %p");
|
||||
format = N_("%l\u2236%M %p");
|
||||
}
|
||||
// Show the word "Yesterday" and time if date is on yesterday
|
||||
else if(daysAgo <2){
|
||||
/* Translators: this is the word "Yesterday" followed by a
|
||||
time string in 12h format. i.e. "Yesterday, 2:30 pm" */
|
||||
// xgettext:no-c-format
|
||||
format = _("Yesterday, %l\u2236%M %p");
|
||||
format = N_("Yesterday, %l\u2236%M %p");
|
||||
}
|
||||
// Show a week day and time if date is in the last week
|
||||
else if (daysAgo < 7) {
|
||||
/* Translators: this is the week day name followed by a time
|
||||
string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
// xgettext:no-c-format
|
||||
format = _("%A, %l\u2236%M %p");
|
||||
format = N_("%A, %l\u2236%M %p");
|
||||
|
||||
} else if (date.getYear() == now.getYear()) {
|
||||
/* Translators: this is the month name and day number
|
||||
followed by a time string in 12h format.
|
||||
i.e. "May 25, 2:30 pm" */
|
||||
// xgettext:no-c-format
|
||||
format = _("%B %d, %l\u2236%M %p");
|
||||
format = N_("%B %d, %l\u2236%M %p");
|
||||
} else {
|
||||
/* Translators: this is the month name, day number, year
|
||||
number followed by a time string in 12h format.
|
||||
i.e. "May 25 2012, 2:30 pm"*/
|
||||
// xgettext:no-c-format
|
||||
format = _("%B %d %Y, %l\u2236%M %p");
|
||||
format = N_("%B %d %Y, %l\u2236%M %p");
|
||||
}
|
||||
}
|
||||
return date.toLocaleFormat(format);
|
||||
return date.toLocaleFormat(Shell.util_translate_time_string(format));
|
||||
},
|
||||
|
||||
appendTimestamp: function() {
|
||||
@ -1264,9 +1266,8 @@ const SubscriptionRequestNotification = new Lang.Class({
|
||||
let file = contact.get_avatar_file();
|
||||
|
||||
if (file) {
|
||||
let uri = file.get_uri();
|
||||
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
|
||||
iconBox.child = textureCache.load_uri_async(uri, iconBox._size, iconBox._size, scaleFactor);
|
||||
iconBox.child = textureCache.load_file_async(file, iconBox._size, iconBox._size, scaleFactor);
|
||||
}
|
||||
else {
|
||||
iconBox.child = new St.Icon({ icon_name: 'avatar-default',
|
||||
|
@ -3,6 +3,7 @@
|
||||
const GLib = imports.gi.GLib;
|
||||
const Gio = imports.gi.Gio;
|
||||
const GnomeDesktop = imports.gi.GnomeDesktop;
|
||||
const GObject = imports.gi.GObject;
|
||||
const Lang = imports.lang;
|
||||
const Mainloop = imports.mainloop;
|
||||
const Cairo = imports.cairo;
|
||||
@ -124,14 +125,19 @@ const DateMenuButton = new Lang.Class({
|
||||
if (isOpen) {
|
||||
let now = new Date();
|
||||
this._calendar.setDate(now);
|
||||
|
||||
/* Translators: This is the date format to use when the calendar popup is
|
||||
* shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
*/
|
||||
let dateFormat = Shell.util_translate_time_string ("%A %B %e, %Y");
|
||||
this._date.set_label(now.toLocaleFormat(dateFormat));
|
||||
}
|
||||
}));
|
||||
|
||||
// Done with hbox for calendar and event list
|
||||
|
||||
this._clock = new GnomeDesktop.WallClock();
|
||||
this._clock.connect('notify::clock', Lang.bind(this, this._updateClockAndDate));
|
||||
this._updateClockAndDate();
|
||||
this._clock.bind_property('clock', this._clockDisplay, 'text', GObject.BindingFlags.SYNC_CREATE);
|
||||
|
||||
Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated));
|
||||
this._sessionUpdated();
|
||||
@ -196,16 +202,6 @@ const DateMenuButton = new Lang.Class({
|
||||
this._dateAndTimeSeparator.actor.visible = Main.sessionMode.allowSettings;
|
||||
},
|
||||
|
||||
_updateClockAndDate: function() {
|
||||
this._clockDisplay.set_text(this._clock.clock);
|
||||
/* Translators: This is the date format to use when the calendar popup is
|
||||
* shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
*/
|
||||
let dateFormat = _("%A %B %e, %Y");
|
||||
let displayDate = new Date();
|
||||
this._date.set_label(displayDate.toLocaleFormat(dateFormat));
|
||||
},
|
||||
|
||||
_getCalendarApp: function() {
|
||||
if (this._calendarApp !== undefined)
|
||||
return this._calendarApp;
|
||||
|
@ -74,7 +74,7 @@ function disableExtension(uuid) {
|
||||
|
||||
if (extension.stylesheet) {
|
||||
let theme = St.ThemeContext.get_for_stage(global.stage).get_theme();
|
||||
theme.unload_stylesheet(extension.stylesheet.get_path());
|
||||
theme.unload_stylesheet(extension.stylesheet);
|
||||
}
|
||||
|
||||
try {
|
||||
@ -118,7 +118,7 @@ function enableExtension(uuid) {
|
||||
let stylesheetFile = extension.dir.get_child(stylesheetNames[i]);
|
||||
if (stylesheetFile.query_exists(null)) {
|
||||
let theme = St.ThemeContext.get_for_stage(global.stage).get_theme();
|
||||
theme.load_stylesheet(stylesheetFile.get_path());
|
||||
theme.load_stylesheet(stylesheetFile);
|
||||
extension.stylesheet = stylesheetFile;
|
||||
break;
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ const EXTRA_SPACE_ANIMATION_TIME = 0.25;
|
||||
const ANIMATION_TIME_IN = 0.350;
|
||||
const ANIMATION_TIME_OUT = 1/2 * ANIMATION_TIME_IN;
|
||||
const ANIMATION_MAX_DELAY_FOR_ITEM = 2/3 * ANIMATION_TIME_IN;
|
||||
const ANIMATION_BASE_DELAY_FOR_ITEM = 1/4 * ANIMATION_MAX_DELAY_FOR_ITEM;
|
||||
const ANIMATION_MAX_DELAY_OUT_FOR_ITEM = 2/3 * ANIMATION_TIME_OUT;
|
||||
const ANIMATION_FADE_IN_TIME_FOR_ITEM = 1/4 * ANIMATION_TIME_IN;
|
||||
|
||||
@ -429,33 +430,30 @@ const IconGrid = new Lang.Class({
|
||||
return;
|
||||
}
|
||||
|
||||
// For few items the animation can be slow, so use a smaller
|
||||
// delay when there are less than 4 items
|
||||
// (ANIMATION_BASE_DELAY_FOR_ITEM = 1/4 *
|
||||
// ANIMATION_MAX_DELAY_FOR_ITEM)
|
||||
let maxDelay = Math.min(ANIMATION_BASE_DELAY_FOR_ITEM * actors.length,
|
||||
ANIMATION_MAX_DELAY_FOR_ITEM);
|
||||
|
||||
for (let index = 0; index < actors.length; index++) {
|
||||
let actor = actors[index];
|
||||
actor.opacity = 0;
|
||||
actor.reactive = false;
|
||||
actor.set_scale(0, 0);
|
||||
actor.set_pivot_point(0.5, 0.5);
|
||||
|
||||
let delay = index / actors.length * ANIMATION_MAX_DELAY_FOR_ITEM;
|
||||
let [originalX, originalY] = actor.get_transformed_position();
|
||||
let [originalWidth, originalHeight,,] = this._getAllocatedChildSizeAndSpacing(actor);
|
||||
|
||||
let actorClone = new Clutter.Clone({ source: actor });
|
||||
Main.uiGroup.add_actor(actorClone);
|
||||
|
||||
actorClone.set_position(originalX, originalY);
|
||||
actorClone.set_scale(0, 0);
|
||||
actorClone.set_pivot_point(0.5, 0.5);
|
||||
actorClone.set_size(originalWidth, originalHeight);
|
||||
|
||||
let delay = index / actors.length * maxDelay;
|
||||
let bounceUpTime = ANIMATION_TIME_IN / 4;
|
||||
let isLastItem = index == actors.length - 1;
|
||||
Tweener.addTween(actorClone,
|
||||
Tweener.addTween(actor,
|
||||
{ time: bounceUpTime,
|
||||
transition: 'easeInOutQuad',
|
||||
delay: delay,
|
||||
scale_x: ANIMATION_BOUNCE_ICON_SCALE,
|
||||
scale_y: ANIMATION_BOUNCE_ICON_SCALE,
|
||||
onComplete: Lang.bind(this, function() {
|
||||
Tweener.addTween(actorClone,
|
||||
Tweener.addTween(actor,
|
||||
{ time: ANIMATION_TIME_IN - bounceUpTime,
|
||||
transition: 'easeInOutQuad',
|
||||
scale_x: 1,
|
||||
@ -463,10 +461,7 @@ const IconGrid = new Lang.Class({
|
||||
onComplete: Lang.bind(this, function() {
|
||||
if (isLastItem)
|
||||
this._animationDone();
|
||||
|
||||
actor.opacity = 255;
|
||||
actor.reactive = true;
|
||||
actorClone.destroy();
|
||||
})
|
||||
});
|
||||
})
|
||||
|
@ -75,6 +75,7 @@ const Key = new Lang.Class({
|
||||
_init : function(key) {
|
||||
this._key = key;
|
||||
this.actor = this._makeKey(key, GLib.markup_escape_text(key.label, -1));
|
||||
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
|
||||
|
||||
this._extended_keys = this._key.get_extended_keys();
|
||||
this._extended_keyboard = null;
|
||||
@ -97,6 +98,13 @@ const Key = new Lang.Class({
|
||||
}
|
||||
},
|
||||
|
||||
_onDestroy: function() {
|
||||
if (this._boxPointer) {
|
||||
this._boxPointer.actor.destroy();
|
||||
this._boxPointer = null;
|
||||
}
|
||||
},
|
||||
|
||||
_makeKey: function (key, label) {
|
||||
let button = new St.Button ({ label: label,
|
||||
style_class: 'keyboard-key' });
|
||||
@ -602,7 +610,7 @@ const Keyboard = new Lang.Class({
|
||||
|
||||
_moveTemporarily: function () {
|
||||
let currentWindow = global.screen.get_display().focus_window;
|
||||
let rect = currentWindow.get_outer_rect();
|
||||
let rect = currentWindow.get_frame_rect();
|
||||
|
||||
let newX = rect.x;
|
||||
let newY = 3 * this.actor.height / 2;
|
||||
|
@ -20,7 +20,6 @@ const Tweener = imports.ui.tweener;
|
||||
const STARTUP_ANIMATION_TIME = 0.5;
|
||||
const KEYBOARD_ANIMATION_TIME = 0.15;
|
||||
const BACKGROUND_FADE_ANIMATION_TIME = 1.0;
|
||||
const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
|
||||
|
||||
// The message tray takes this much pressure
|
||||
// in the pressure barrier at once to release it.
|
||||
@ -160,10 +159,10 @@ const LayoutManager = new Lang.Class({
|
||||
this._isPopupWindowVisible = false;
|
||||
this._startingUp = true;
|
||||
|
||||
// Normally, the stage is always covered so Clutter doesn't need to clear
|
||||
// it; however it becomes visible during the startup animation
|
||||
// See the comment below for a longer explanation
|
||||
global.stage.background_color = DEFAULT_BACKGROUND_COLOR;
|
||||
// We don't want to paint the stage background color because either
|
||||
// the SystemBackground we create or the MetaBackgroundActor inside
|
||||
// global.window_group covers the entirety of the screen.
|
||||
global.stage.no_clear_hint = true;
|
||||
|
||||
// Set up stage hierarchy to group all UI actors under one container.
|
||||
this.uiGroup = new Shell.GenericContainer({ name: 'uiGroup' });
|
||||
@ -230,6 +229,10 @@ const LayoutManager = new Lang.Class({
|
||||
global.stage.remove_actor(global.top_window_group);
|
||||
this.uiGroup.add_actor(global.top_window_group);
|
||||
|
||||
let feedbackGroup = Meta.get_feedback_group_for_screen(global.screen);
|
||||
global.stage.remove_actor(feedbackGroup);
|
||||
this.uiGroup.add_actor(feedbackGroup);
|
||||
|
||||
this._backgroundGroup = new Meta.BackgroundGroup();
|
||||
global.window_group.add_child(this._backgroundGroup);
|
||||
this._backgroundGroup.lower_bottom();
|
||||
@ -259,7 +262,6 @@ const LayoutManager = new Lang.Class({
|
||||
|
||||
this._inOverview = true;
|
||||
this._updateVisibility();
|
||||
this._updateRegions();
|
||||
},
|
||||
|
||||
hideOverview: function() {
|
||||
@ -267,7 +269,6 @@ const LayoutManager = new Lang.Class({
|
||||
|
||||
this._inOverview = false;
|
||||
this._updateVisibility();
|
||||
this._queueUpdateRegions();
|
||||
},
|
||||
|
||||
_sessionUpdated: function() {
|
||||
@ -421,10 +422,7 @@ const LayoutManager = new Lang.Class({
|
||||
this.panelBox.set_position(this.primaryMonitor.x, this.primaryMonitor.y);
|
||||
this.panelBox.set_size(this.primaryMonitor.width, -1);
|
||||
|
||||
if (this.keyboardIndex < 0)
|
||||
this.keyboardIndex = this.primaryIndex;
|
||||
else
|
||||
this._updateKeyboardBox();
|
||||
|
||||
this.trayBox.set_position(this.bottomMonitor.x,
|
||||
this.bottomMonitor.y + this.bottomMonitor.height);
|
||||
@ -589,10 +587,6 @@ const LayoutManager = new Lang.Class({
|
||||
//
|
||||
// When starting a normal user session, we want to grow it out of the middle
|
||||
// of the screen.
|
||||
//
|
||||
// Usually, we don't want to paint the stage background color because the
|
||||
// MetaBackgroundActor inside global.window_group covers the entirety of the
|
||||
// screen. So, we set no_clear_hint at the end of the animation.
|
||||
|
||||
_prepareStartupAnimation: function() {
|
||||
// During the initial transition, add a simple actor to block all events,
|
||||
@ -673,10 +667,6 @@ const LayoutManager = new Lang.Class({
|
||||
},
|
||||
|
||||
_startupAnimationComplete: function() {
|
||||
// At this point, the UI group is covering everything, so
|
||||
// we no longer need to clear the stage
|
||||
global.stage.no_clear_hint = true;
|
||||
|
||||
this._coverPane.destroy();
|
||||
this._coverPane = null;
|
||||
|
||||
@ -915,9 +905,6 @@ const LayoutManager = new Lang.Class({
|
||||
},
|
||||
|
||||
_queueUpdateRegions: function() {
|
||||
if (Main.sessionMode.isGreeter)
|
||||
return;
|
||||
|
||||
if (this._startingUp)
|
||||
return;
|
||||
|
||||
@ -951,13 +938,16 @@ const LayoutManager = new Lang.Class({
|
||||
},
|
||||
|
||||
_updateRegions: function() {
|
||||
let rects = [], struts = [], i;
|
||||
|
||||
if (this._updateRegionIdle) {
|
||||
Meta.later_remove(this._updateRegionIdle);
|
||||
delete this._updateRegionIdle;
|
||||
}
|
||||
|
||||
// No need to update when we have a modal.
|
||||
if (Main.modalCount > 0)
|
||||
return GLib.SOURCE_REMOVE;
|
||||
|
||||
let rects = [], struts = [], i;
|
||||
let isPopupMenuVisible = global.top_window_group.get_children().some(isPopupMetaWindow);
|
||||
let wantsInputRegion = !isPopupMenuVisible;
|
||||
|
||||
@ -1043,7 +1033,13 @@ const LayoutManager = new Lang.Class({
|
||||
}
|
||||
|
||||
return GLib.SOURCE_REMOVE;
|
||||
}
|
||||
},
|
||||
|
||||
modalEnded: function() {
|
||||
// We don't update the stage input region while in a modal,
|
||||
// so queue an update now.
|
||||
this._queueUpdateRegions();
|
||||
},
|
||||
});
|
||||
Signals.addSignalMethods(LayoutManager.prototype);
|
||||
|
||||
|
@ -1198,12 +1198,7 @@ const ZoomRegion = new Lang.Class({
|
||||
|
||||
// Add a background for when the magnified uiGroup is scrolled
|
||||
// out of view (don't want to see desktop showing through).
|
||||
this._background = new Clutter.Actor({ background_color: Main.DEFAULT_BACKGROUND_COLOR,
|
||||
layout_manager: new Clutter.BinLayout(),
|
||||
width: global.screen_width,
|
||||
height: global.screen_height });
|
||||
let noiseTexture = (new Background.SystemBackground()).actor;
|
||||
this._background.add_actor(noiseTexture);
|
||||
this._background = (new Background.SystemBackground()).actor;
|
||||
mainGroup.add_actor(this._background);
|
||||
|
||||
// Clone the group that contains all of UI on the screen. This is the
|
||||
|
@ -40,8 +40,6 @@ const Magnifier = imports.ui.magnifier;
|
||||
const XdndHandler = imports.ui.xdndHandler;
|
||||
const Util = imports.misc.util;
|
||||
|
||||
const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
|
||||
|
||||
const A11Y_SCHEMA = 'org.gnome.desktop.a11y.keyboard';
|
||||
const STICKY_KEYS_ENABLE = 'stickykeys-enable';
|
||||
const GNOMESHELL_STARTED_MESSAGE_ID = 'f3ea493c22934e26811cd62abe8e203a';
|
||||
@ -131,6 +129,9 @@ function _initializeUI() {
|
||||
Shell.WindowTracker.get_default();
|
||||
Shell.AppUsage.get_default();
|
||||
|
||||
let resource = Gio.Resource.load(global.datadir + '/gnome-shell-theme.gresource');
|
||||
resource._register();
|
||||
|
||||
_loadDefaultStylesheet();
|
||||
|
||||
// Setup the stage hierarchy early
|
||||
@ -224,12 +225,26 @@ function _initializeUI() {
|
||||
});
|
||||
}
|
||||
|
||||
function _getDefaultStylesheet() {
|
||||
let stylesheet;
|
||||
|
||||
stylesheet = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/' + sessionMode.stylesheetName);
|
||||
if (stylesheet.query_exists(null))
|
||||
return stylesheet;
|
||||
|
||||
stylesheet = Gio.File.new_for_path(global.datadir + '/theme/' + sessionMode.stylesheetName);
|
||||
if (stylesheet.query_exists(null))
|
||||
return stylesheet;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function _loadDefaultStylesheet() {
|
||||
if (!sessionMode.isPrimary)
|
||||
return;
|
||||
|
||||
let stylesheet = global.datadir + '/theme/' + sessionMode.stylesheetName;
|
||||
if (_defaultCssStylesheet == stylesheet)
|
||||
let stylesheet = _getDefaultStylesheet();
|
||||
if (_defaultCssStylesheet && _defaultCssStylesheet.equal(stylesheet))
|
||||
return;
|
||||
|
||||
_defaultCssStylesheet = stylesheet;
|
||||
@ -256,7 +271,7 @@ function getThemeStylesheet() {
|
||||
* Set the theme CSS file that the shell will load
|
||||
*/
|
||||
function setThemeStylesheet(cssStylesheet) {
|
||||
_cssStylesheet = cssStylesheet;
|
||||
_cssStylesheet = Gio.File.new_for_path(cssStylesheet);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -454,6 +469,7 @@ function popModal(actor, timestamp) {
|
||||
if (modalCount > 0)
|
||||
return;
|
||||
|
||||
layoutManager.modalEnded();
|
||||
global.end_modal(timestamp);
|
||||
Meta.enable_unredirect_for_screen(global.screen);
|
||||
keybindingMode = Shell.KeyBindingMode.NORMAL;
|
||||
|
@ -1159,6 +1159,7 @@ const SourceActor = new Lang.Class({
|
||||
this.actor.connect('get-preferred-height', Lang.bind(this, this._getPreferredHeight));
|
||||
this.actor.connect('allocate', Lang.bind(this, this._allocate));
|
||||
this.actor.connect('destroy', Lang.bind(this, function() {
|
||||
this._source.disconnect(this._iconUpdatedId);
|
||||
this._actorDestroyed = true;
|
||||
}));
|
||||
this._actorDestroyed = false;
|
||||
@ -1170,7 +1171,7 @@ const SourceActor = new Lang.Class({
|
||||
|
||||
this.actor.add_actor(this._iconBin);
|
||||
|
||||
this._source.connect('icon-updated', Lang.bind(this, this._updateIcon));
|
||||
this._iconUpdatedId = this._source.connect('icon-updated', Lang.bind(this, this._updateIcon));
|
||||
this._updateIcon();
|
||||
},
|
||||
|
||||
@ -1228,8 +1229,12 @@ const SourceActorWithLabel = new Lang.Class({
|
||||
|
||||
this.actor.add_actor(this._counterBin);
|
||||
|
||||
this._source.connect('count-updated', Lang.bind(this, this._updateCount));
|
||||
this._countUpdatedId = this._source.connect('count-updated', Lang.bind(this, this._updateCount));
|
||||
this._updateCount();
|
||||
|
||||
this.actor.connect('destroy', function() {
|
||||
this._source.disconnect(this._countUpdatedId);
|
||||
});
|
||||
},
|
||||
|
||||
_allocate: function(actor, box, flags) {
|
||||
@ -2427,9 +2432,23 @@ const MessageTray = new Lang.Class({
|
||||
if (shouldShowNotification && nextNotification) {
|
||||
let limited = this._busy || Main.layoutManager.bottomMonitor.inFullscreen;
|
||||
let showNextNotification = (!limited || nextNotification.forFeedback || nextNotification.urgency == Urgency.CRITICAL);
|
||||
if (showNextNotification)
|
||||
if (showNextNotification) {
|
||||
let len = this._notificationQueue.length;
|
||||
if (len > 1) {
|
||||
this._notificationQueue.length = 0;
|
||||
let source = new SystemNotificationSource();
|
||||
this.add(source);
|
||||
let notification = new Notification(source, ngettext("%d new message", "%d new messages", len).format(len));
|
||||
notification.setTransient(true);
|
||||
notification.connect('clicked', Lang.bind(this, function() {
|
||||
this.openTray();
|
||||
}));
|
||||
source.notify(notification);
|
||||
} else {
|
||||
this._showNotification();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (this._notificationState == State.SHOWN) {
|
||||
let expired = (this._userActiveWhileNotificationShown &&
|
||||
this._notificationTimeoutId == 0 &&
|
||||
|
@ -194,7 +194,7 @@ const ModalDialog = new Lang.Class({
|
||||
},
|
||||
|
||||
placeSpinner: function(layoutInfo) {
|
||||
let spinnerIcon = global.datadir + '/theme/process-working.svg';
|
||||
let spinnerIcon = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.svg');
|
||||
this._workSpinner = new Animation.AnimatedIcon(spinnerIcon, WORK_SPINNER_ICON_SIZE);
|
||||
this._workSpinner.actor.opacity = 0;
|
||||
this._workSpinner.actor.show();
|
||||
|
@ -64,7 +64,8 @@ const SlideLayout = new Lang.Class({
|
||||
// flags only determine what to do if the allocated box is bigger
|
||||
// than the actor's box.
|
||||
let realDirection = getRtlSlideDirection(this._direction, child);
|
||||
let alignX = (realDirection == SlideDirection.LEFT) ? (availWidth - natWidth) : 0;
|
||||
let alignX = (realDirection == SlideDirection.LEFT) ? (availWidth - natWidth)
|
||||
: (availWidth - natWidth * this._slideX);
|
||||
|
||||
let actorBox = new Clutter.ActorBox();
|
||||
actorBox.x1 = box.x1 + alignX + this._translationX;
|
||||
|
@ -273,7 +273,7 @@ const AppMenuButton = new Lang.Class({
|
||||
_onStyleChanged: function(actor) {
|
||||
let node = actor.get_theme_node();
|
||||
let [success, icon] = node.lookup_url('spinner-image', false);
|
||||
if (!success || this._spinnerIcon == icon)
|
||||
if (!success || (this._spinnerIcon && this._spinnerIcon.equal(icon)))
|
||||
return;
|
||||
this._spinnerIcon = icon;
|
||||
this._spinner = new Animation.AnimatedIcon(this._spinnerIcon, PANEL_ICON_SIZE);
|
||||
@ -1019,7 +1019,7 @@ const Panel = new Lang.Class({
|
||||
if (!dragWindow)
|
||||
return Clutter.EVENT_PROPAGATE;
|
||||
|
||||
let rect = dragWindow.get_outer_rect();
|
||||
let rect = dragWindow.get_frame_rect();
|
||||
let [stageX, stageY] = event.get_coords();
|
||||
|
||||
let allowDrag = dragWindow.maximized_vertically &&
|
||||
|
@ -85,7 +85,8 @@ const Clock = new Lang.Class({
|
||||
let date = new Date();
|
||||
/* Translators: This is a time format for a date in
|
||||
long format */
|
||||
this._date.text = date.toLocaleFormat(_("%A, %B %d"));
|
||||
let dateFormat = Shell.util_translate_time_string("%A, %B %d");
|
||||
this._date.text = date.toLocaleFormat(dateFormat);
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
@ -919,6 +920,11 @@ const ScreenShield = new Lang.Class({
|
||||
|
||||
this._lockScreenState = MessageTray.State.HIDDEN;
|
||||
this._lockScreenGroup.hide();
|
||||
|
||||
if (this._dialog) {
|
||||
this._dialog.actor.grab_key_focus();
|
||||
this._dialog.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
|
||||
}
|
||||
},
|
||||
|
||||
_hideLockScreen: function(animate, velocity) {
|
||||
|
@ -43,6 +43,8 @@ const ScreencastService = new Lang.Class({
|
||||
|
||||
this._recorders = new Map();
|
||||
|
||||
this._lockdownSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.lockdown' });
|
||||
|
||||
Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated));
|
||||
},
|
||||
|
||||
@ -68,8 +70,8 @@ const ScreencastService = new Lang.Class({
|
||||
if (Main.sessionMode.allowScreencast)
|
||||
return;
|
||||
|
||||
this._recorders.clear();
|
||||
this.emit('updated');
|
||||
for (let sender of this._recorders.keys())
|
||||
this._stopRecordingForSender(sender);
|
||||
},
|
||||
|
||||
_onNameVanished: function(connection, name) {
|
||||
@ -103,7 +105,8 @@ const ScreencastService = new Lang.Class({
|
||||
|
||||
ScreencastAsync: function(params, invocation) {
|
||||
let returnValue = [false, ''];
|
||||
if (!Main.sessionMode.allowScreencast) {
|
||||
if (!Main.sessionMode.allowScreencast ||
|
||||
this._lockdownSettings.get_boolean('disable-save-to-disk')) {
|
||||
invocation.return_value(GLib.Variant.new('(bs)', returnValue));
|
||||
return;
|
||||
}
|
||||
@ -117,6 +120,8 @@ const ScreencastService = new Lang.Class({
|
||||
this._applyOptionalParameters(recorder, options);
|
||||
let [success, fileName] = recorder.record();
|
||||
returnValue = [success, fileName ? fileName : ''];
|
||||
if (!success)
|
||||
this._stopRecordingForSender(sender);
|
||||
}
|
||||
|
||||
invocation.return_value(GLib.Variant.new('(bs)', returnValue));
|
||||
@ -124,7 +129,8 @@ const ScreencastService = new Lang.Class({
|
||||
|
||||
ScreencastAreaAsync: function(params, invocation) {
|
||||
let returnValue = [false, ''];
|
||||
if (!Main.sessionMode.allowScreencast) {
|
||||
if (!Main.sessionMode.allowScreencast ||
|
||||
this._lockdownSettings.get_boolean('disable-save-to-disk')) {
|
||||
invocation.return_value(GLib.Variant.new('(bs)', returnValue));
|
||||
return;
|
||||
}
|
||||
@ -150,6 +156,8 @@ const ScreencastService = new Lang.Class({
|
||||
this._applyOptionalParameters(recorder, options);
|
||||
let [success, fileName] = recorder.record();
|
||||
returnValue = [success, fileName ? fileName : ''];
|
||||
if (!success)
|
||||
this._stopRecordingForSender(sender);
|
||||
}
|
||||
|
||||
invocation.return_value(GLib.Variant.new('(bs)', returnValue));
|
||||
|
@ -65,9 +65,44 @@ const ScreenshotService = new Lang.Class({
|
||||
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(ScreenshotIface, this);
|
||||
this._dbusImpl.export(Gio.DBus.session, '/org/gnome/Shell/Screenshot');
|
||||
|
||||
this._screenShooter = new Map();
|
||||
|
||||
this._lockdownSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.lockdown' });
|
||||
|
||||
Gio.DBus.session.own_name('org.gnome.Shell.Screenshot', Gio.BusNameOwnerFlags.REPLACE, null, null);
|
||||
},
|
||||
|
||||
_createScreenshot: function(invocation) {
|
||||
let sender = invocation.get_sender();
|
||||
if (this._screenShooter.has(sender) ||
|
||||
this._lockdownSettings.get_boolean('disable-save-to-disk')) {
|
||||
invocation.return_value(GLib.Variant.new('(bs)', [false, '']));
|
||||
return null;
|
||||
}
|
||||
|
||||
let shooter = new Shell.Screenshot();
|
||||
shooter._watchNameId =
|
||||
Gio.bus_watch_name(Gio.BusType.SESSION, sender, 0, null,
|
||||
Lang.bind(this, this._onNameVanished));
|
||||
|
||||
this._screenShooter.set(sender, shooter);
|
||||
|
||||
return shooter;
|
||||
},
|
||||
|
||||
_onNameVanished: function(connection, name) {
|
||||
this._removeShooterForSender(name);
|
||||
},
|
||||
|
||||
_removeShooterForSender: function(sender) {
|
||||
let shooter = this._screenShooter.get(sender);
|
||||
if (!shooter)
|
||||
return;
|
||||
|
||||
Gio.bus_unwatch_name(shooter._watchNameId);
|
||||
this._screenShooter.delete(sender);
|
||||
},
|
||||
|
||||
_checkArea: function(x, y, width, height) {
|
||||
return x >= 0 && y >= 0 &&
|
||||
width > 0 && height > 0 &&
|
||||
@ -76,9 +111,15 @@ const ScreenshotService = new Lang.Class({
|
||||
},
|
||||
|
||||
_onScreenshotComplete: function(obj, result, area, filenameUsed, flash, invocation) {
|
||||
if (flash && result) {
|
||||
if (result) {
|
||||
if (flash) {
|
||||
let flashspot = new Flashspot(area);
|
||||
flashspot.fire();
|
||||
flashspot.fire(Lang.bind(this, function() {
|
||||
this._removeShooterForSender(invocation.get_sender());
|
||||
}));
|
||||
}
|
||||
else
|
||||
this._removeShooterForSender(invocation.get_sender());
|
||||
}
|
||||
|
||||
let retval = GLib.Variant.new('(bs)', [result, filenameUsed]);
|
||||
@ -112,7 +153,9 @@ const ScreenshotService = new Lang.Class({
|
||||
"Invalid params");
|
||||
return;
|
||||
}
|
||||
let screenshot = new Shell.Screenshot();
|
||||
let screenshot = this._createScreenshot(invocation);
|
||||
if (!screenshot)
|
||||
return;
|
||||
screenshot.screenshot_area (x, y, width, height, filename,
|
||||
Lang.bind(this, this._onScreenshotComplete,
|
||||
flash, invocation));
|
||||
@ -120,7 +163,9 @@ const ScreenshotService = new Lang.Class({
|
||||
|
||||
ScreenshotWindowAsync : function (params, invocation) {
|
||||
let [include_frame, include_cursor, flash, filename] = params;
|
||||
let screenshot = new Shell.Screenshot();
|
||||
let screenshot = this._createScreenshot(invocation);
|
||||
if (!screenshot)
|
||||
return;
|
||||
screenshot.screenshot_window (include_frame, include_cursor, filename,
|
||||
Lang.bind(this, this._onScreenshotComplete,
|
||||
flash, invocation));
|
||||
@ -128,7 +173,9 @@ const ScreenshotService = new Lang.Class({
|
||||
|
||||
ScreenshotAsync : function (params, invocation) {
|
||||
let [include_cursor, flash, filename] = params;
|
||||
let screenshot = new Shell.Screenshot();
|
||||
let screenshot = this._createScreenshot(invocation);
|
||||
if (!screenshot)
|
||||
return;
|
||||
screenshot.screenshot(include_cursor, filename,
|
||||
Lang.bind(this, this._onScreenshotComplete,
|
||||
flash, invocation));
|
||||
@ -302,7 +349,7 @@ const Flashspot = new Lang.Class({
|
||||
this.actor.set_position(area.x, area.y);
|
||||
},
|
||||
|
||||
fire: function() {
|
||||
fire: function(doneCallback) {
|
||||
this.actor.show();
|
||||
this.actor.opacity = 255;
|
||||
Tweener.addTween(this.actor,
|
||||
@ -310,6 +357,8 @@ const Flashspot = new Lang.Class({
|
||||
time: FLASHSPOT_ANIMATION_OUT_TIME,
|
||||
transition: 'easeOutQuad',
|
||||
onComplete: Lang.bind(this, function() {
|
||||
if (doneCallback)
|
||||
doneCallback();
|
||||
this.destroy();
|
||||
})
|
||||
});
|
||||
|
@ -452,6 +452,24 @@ const SearchResults = new Lang.Class({
|
||||
this._updateResults(provider, results);
|
||||
},
|
||||
|
||||
_clearSearchTimeout: function() {
|
||||
if (this._searchTimeoutId > 0) {
|
||||
GLib.source_remove(this._searchTimeoutId);
|
||||
this._searchTimeoutId = 0;
|
||||
}
|
||||
},
|
||||
|
||||
_reset: function() {
|
||||
this._terms = [];
|
||||
this._results = {};
|
||||
this._clearDisplay();
|
||||
this._clearSearchTimeout();
|
||||
this._defaultResult = null;
|
||||
this._startingSearch = false;
|
||||
|
||||
this._updateSearchProgress();
|
||||
},
|
||||
|
||||
_doSearch: function() {
|
||||
this._startingSearch = false;
|
||||
|
||||
@ -470,10 +488,7 @@ const SearchResults = new Lang.Class({
|
||||
|
||||
this._updateSearchProgress();
|
||||
|
||||
if (this._searchTimeoutId > 0) {
|
||||
GLib.source_remove(this._searchTimeoutId);
|
||||
this._searchTimeoutId = 0;
|
||||
}
|
||||
this._clearSearchTimeout();
|
||||
},
|
||||
|
||||
_onSearchTimeout: function() {
|
||||
@ -483,24 +498,25 @@ const SearchResults = new Lang.Class({
|
||||
},
|
||||
|
||||
setTerms: function(terms) {
|
||||
// Check for the case of making a duplicate previous search before
|
||||
// setting state of the current search or cancelling the search.
|
||||
// This will prevent incorrect state being as a result of a duplicate
|
||||
// search while the previous search is still active.
|
||||
let searchString = terms.join(' ');
|
||||
let previousSearchString = this._terms.join(' ');
|
||||
if (searchString == previousSearchString)
|
||||
return;
|
||||
|
||||
this._startingSearch = true;
|
||||
|
||||
this._cancellable.cancel();
|
||||
this._cancellable.reset();
|
||||
|
||||
if (!terms) {
|
||||
if (this._searchTimeoutId > 0) {
|
||||
GLib.source_remove(this._searchTimeoutId);
|
||||
this._searchTimeoutId = 0;
|
||||
}
|
||||
if (terms.length == 0) {
|
||||
this._reset();
|
||||
return;
|
||||
}
|
||||
|
||||
let searchString = terms.join(' ');
|
||||
let previousSearchString = this._terms.join(' ');
|
||||
if (searchString == previousSearchString)
|
||||
return;
|
||||
|
||||
let isSubSearch = false;
|
||||
if (this._terms.length > 0)
|
||||
isSubSearch = searchString.indexOf(previousSearchString) == 0;
|
||||
@ -535,6 +551,7 @@ const SearchResults = new Lang.Class({
|
||||
providerDisplay = new GridSearchResults(provider, this.actor);
|
||||
|
||||
providerDisplay.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));
|
||||
providerDisplay.actor.hide();
|
||||
this._content.add(providerDisplay.actor);
|
||||
provider.display = providerDisplay;
|
||||
},
|
||||
|
@ -298,8 +298,7 @@ const InputSourceManager = new Lang.Class({
|
||||
this._inputSources = {};
|
||||
this._ibusSources = {};
|
||||
|
||||
let inputSourcesByShortName = {};
|
||||
|
||||
let infosList = [];
|
||||
for (let i = 0; i < nSources; i++) {
|
||||
let displayName;
|
||||
let shortName;
|
||||
@ -323,11 +322,24 @@ const InputSourceManager = new Lang.Class({
|
||||
}
|
||||
}
|
||||
|
||||
if (!exists)
|
||||
continue;
|
||||
if (exists)
|
||||
infosList.push({ type: type, id: id, displayName: displayName, shortName: shortName });
|
||||
}
|
||||
|
||||
let is = new InputSource(type, id, displayName, shortName, i);
|
||||
if (infosList.length == 0) {
|
||||
let type = INPUT_SOURCE_TYPE_XKB;
|
||||
let id = KeyboardManager.DEFAULT_LAYOUT;
|
||||
let [ , displayName, shortName, , ] = this._xkbInfo.get_layout_info(id);
|
||||
infosList.push({ type: type, id: id, displayName: displayName, shortName: shortName });
|
||||
}
|
||||
|
||||
let inputSourcesByShortName = {};
|
||||
for (let i = 0; i < infosList.length; i++) {
|
||||
let is = new InputSource(infosList[i].type,
|
||||
infosList[i].id,
|
||||
infosList[i].displayName,
|
||||
infosList[i].shortName,
|
||||
i);
|
||||
is.connect('activate', Lang.bind(this, this._activateInputSource));
|
||||
|
||||
if (!(is.shortName in inputSourcesByShortName))
|
||||
@ -747,7 +759,7 @@ const InputSourceIndicator = new Lang.Class({
|
||||
let engineDesc = IBusManager.getIBusManager().getEngineDesc(source.id);
|
||||
if (engineDesc) {
|
||||
xkbLayout = engineDesc.get_layout();
|
||||
xkbVariant = '';
|
||||
xkbVariant = engineDesc.get_layout_variant();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -876,7 +876,8 @@ const NMWirelessDialog = new Lang.Class({
|
||||
x_align: Clutter.ActorAlign.CENTER,
|
||||
y_align: Clutter.ActorAlign.CENTER });
|
||||
|
||||
this._noNetworksSpinner = new Animation.AnimatedIcon(global.datadir + '/theme/process-working.svg', 24, 24);
|
||||
let file = Gio.File.new_for_uri('resource:///org/gnome/shell/theme/process-working.svg');
|
||||
this._noNetworksSpinner = new Animation.AnimatedIcon(file, 24, 24);
|
||||
this._noNetworksBox.add_actor(this._noNetworksSpinner.actor);
|
||||
this._noNetworksBox.add_actor(new St.Label({ style_class: 'no-networks-label',
|
||||
text: _("No Networks") }));
|
||||
|
@ -28,11 +28,12 @@ const Avatar = new Lang.Class({
|
||||
styleClass: 'framed-user-icon' });
|
||||
this._iconSize = params.iconSize;
|
||||
|
||||
let scaleFactor = St.ThemeContext.get_for_stage(global.stage).scale_factor;
|
||||
this.actor = new St.Bin({ style_class: params.styleClass,
|
||||
track_hover: params.reactive,
|
||||
reactive: params.reactive,
|
||||
width: this._iconSize,
|
||||
height: this._iconSize });
|
||||
width: this._iconSize * scaleFactor,
|
||||
height: this._iconSize * scaleFactor });
|
||||
},
|
||||
|
||||
setSensitive: function(sensitive) {
|
||||
|
@ -413,7 +413,7 @@ const TilePreview = new Lang.Class({
|
||||
y: monitor.y,
|
||||
width: monitor.width,
|
||||
height: monitor.height });
|
||||
let [, rect] = window.get_outer_rect().intersect(monitorRect);
|
||||
let [, rect] = window.get_frame_rect().intersect(monitorRect);
|
||||
this.actor.set_size(rect.width, rect.height);
|
||||
this.actor.set_position(rect.x, rect.y);
|
||||
this.actor.opacity = 0;
|
||||
|
@ -75,7 +75,7 @@ const WindowMenu = new Lang.Class({
|
||||
}));
|
||||
if (window.is_above())
|
||||
item.setOrnament(PopupMenu.Ornament.DOT);
|
||||
if (window.get_maximized() ||
|
||||
if (window.get_maximized() == Meta.MaximizeFlags.BOTH ||
|
||||
type == Meta.WindowType.DOCK ||
|
||||
type == Meta.WindowType.DESKTOP ||
|
||||
type == Meta.WindowType.SPLASHSCREEN)
|
||||
|
@ -254,7 +254,7 @@ const WindowClone = new Lang.Class({
|
||||
},
|
||||
|
||||
_computeBoundingBox: function() {
|
||||
let rect = this.metaWindow.get_outer_rect();
|
||||
let rect = this.metaWindow.get_frame_rect();
|
||||
|
||||
this.actor.get_children().forEach(function (child) {
|
||||
let realWindow;
|
||||
@ -264,7 +264,7 @@ const WindowClone = new Lang.Class({
|
||||
realWindow = child.source;
|
||||
|
||||
let metaWindow = realWindow.meta_window;
|
||||
rect = rect.union(metaWindow.get_outer_rect());
|
||||
rect = rect.union(metaWindow.get_frame_rect());
|
||||
}, this);
|
||||
|
||||
// Convert from a MetaRectangle to a native JS object
|
||||
|
@ -161,14 +161,14 @@ const WindowClone = new Lang.Class({
|
||||
|
||||
_updateDialogPosition: function(realDialog, cloneDialog) {
|
||||
let metaDialog = realDialog.meta_window;
|
||||
let dialogRect = metaDialog.get_outer_rect();
|
||||
let rect = this.metaWindow.get_outer_rect();
|
||||
let dialogRect = metaDialog.get_frame_rect();
|
||||
let rect = this.metaWindow.get_frame_rect();
|
||||
|
||||
cloneDialog.set_position(dialogRect.x - rect.x, dialogRect.y - rect.y);
|
||||
},
|
||||
|
||||
_onPositionChanged: function() {
|
||||
let rect = this.metaWindow.get_outer_rect();
|
||||
let rect = this.metaWindow.get_frame_rect();
|
||||
this.actor.set_position(this.realWindow.x, this.realWindow.y);
|
||||
},
|
||||
|
||||
|
@ -68,6 +68,7 @@ th
|
||||
tr
|
||||
ug
|
||||
uk
|
||||
uz@cyrillic
|
||||
vi
|
||||
zh_CN
|
||||
zh_HK
|
||||
|
2039
po/bn_IN.po
2039
po/bn_IN.po
File diff suppressed because it is too large
Load Diff
15
po/cs.po
15
po/cs.po
@ -5,21 +5,22 @@
|
||||
# Petr Kovar <pknbe@volny.cz>, 2009, 2010, 2011, 2012, 2014.
|
||||
# Adam Matoušek <adamatousek@gmail.com>, 2012, 2013.
|
||||
# Marek Černocký <marek@manet.cz>, 2012, 2013, 2014.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gnome-shell\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-09-22 07:36+0000\n"
|
||||
"PO-Revision-Date: 2014-09-22 15:16+0200\n"
|
||||
"Last-Translator: Petr Kovar <pknbe@volny.cz>\n"
|
||||
"POT-Creation-Date: 2014-09-22 19:42+0000\n"
|
||||
"PO-Revision-Date: 2014-09-23 07:05+0200\n"
|
||||
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
|
||||
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
|
||||
"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
"X-Generator: Virtaal 0.7.1\n"
|
||||
"X-Generator: Gtranslator 2.91.6\n"
|
||||
"X-Project-Style: gnome\n"
|
||||
|
||||
#: ../data/50-gnome-shell-system.xml.in.h:1
|
||||
@ -218,12 +219,11 @@ msgid "Keybinding to focus the active notification."
|
||||
msgstr "Klávesová zkratka k zaměření aktivního upozornění."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:29
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"Keybinding that pauses and resumes all running tweens, for debugging purposes"
|
||||
msgstr ""
|
||||
"Klávesová zkratka k pozastavení a opětovnému spuštění všech běžících ???; "
|
||||
"pro účely ladění"
|
||||
"Klávesová zkratka k pozastavení a opětovnému spuštění všech běžících animací "
|
||||
"tweens; pro účely ladění"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
|
||||
msgid "Which keyboard to use"
|
||||
@ -1455,7 +1455,6 @@ msgid "Disable"
|
||||
msgstr "Zakázáno"
|
||||
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "Nastavení ochrany osobních údajů"
|
||||
|
||||
|
47
po/de.po
47
po/de.po
@ -20,9 +20,9 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell master\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-09-15 07:36+0000\n"
|
||||
"PO-Revision-Date: 2014-09-15 18:29+0100\n"
|
||||
"Last-Translator: <dev@hmt.im>\n"
|
||||
"POT-Creation-Date: 2014-10-01 19:43+0000\n"
|
||||
"PO-Revision-Date: 2014-10-01 22:16+0100\n"
|
||||
"Last-Translator: Christian Kirbach <christian.kirbach@gmail.com>\n"
|
||||
"Language-Team: Deutsch <gnome-de@gnome.org>\n"
|
||||
"Language: de_DE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
@ -409,28 +409,28 @@ msgstr "Häufig"
|
||||
msgid "All"
|
||||
msgstr "Alle"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1789
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "Neues Fenster"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1815 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "Aus Favoriten entfernen"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1821
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "Zu Favoriten hinzufügen"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1830
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "Details anzeigen"
|
||||
|
||||
#: ../js/ui/appFavorites.js:124
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "%s wurde zu Ihren Favoriten hinzugefügt"
|
||||
|
||||
#: ../js/ui/appFavorites.js:158
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "%s wurde aus Ihren Favoriten entfernt"
|
||||
@ -1175,7 +1175,7 @@ msgstr "Installieren"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "»%s« von extensions.gnome.org herunterladen und installieren?"
|
||||
|
||||
#: ../js/ui/keyboard.js:692 ../js/ui/status/keyboard.js:523
|
||||
#: ../js/ui/keyboard.js:700 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "Tastatur"
|
||||
|
||||
@ -1231,39 +1231,39 @@ msgstr "Quelle zeigen"
|
||||
msgid "Web Page"
|
||||
msgstr "Webseite"
|
||||
|
||||
#: ../js/ui/messageTray.js:1326
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "Öffnen"
|
||||
|
||||
#: ../js/ui/messageTray.js:1333
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "Entfernen"
|
||||
|
||||
#: ../js/ui/messageTray.js:1630
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "Benachrichtigungen"
|
||||
|
||||
#: ../js/ui/messageTray.js:1637
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "Nachrichten leeren"
|
||||
|
||||
#: ../js/ui/messageTray.js:1656
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "Benachrichtigungseinstellungen"
|
||||
|
||||
#: ../js/ui/messageTray.js:1709
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "Benachrichtigungsfeldmenü"
|
||||
|
||||
#: ../js/ui/messageTray.js:1926
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "Keine Nachrichten"
|
||||
|
||||
#: ../js/ui/messageTray.js:1968
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "Benachrichtigungsfeld"
|
||||
|
||||
#: ../js/ui/messageTray.js:2971
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "Systeminformationen"
|
||||
|
||||
@ -1357,11 +1357,11 @@ msgstr "Sperrung fehlgeschlagen"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "Sperrung wurde von einer Anwendung blockiert"
|
||||
|
||||
#: ../js/ui/search.js:594
|
||||
#: ../js/ui/search.js:611
|
||||
msgid "Searching…"
|
||||
msgstr "Suche läuft …"
|
||||
|
||||
#: ../js/ui/search.js:596
|
||||
#: ../js/ui/search.js:613
|
||||
msgid "No results."
|
||||
msgstr "Keine Ergebnisse."
|
||||
|
||||
@ -1411,7 +1411,7 @@ msgstr "Visuelle Warnungen"
|
||||
|
||||
#: ../js/ui/status/accessibility.js:75
|
||||
msgid "Sticky Keys"
|
||||
msgstr "Klebrige Tasten"
|
||||
msgstr "Einrastfunktion"
|
||||
|
||||
#: ../js/ui/status/accessibility.js:78
|
||||
msgid "Slow Keys"
|
||||
@ -1419,7 +1419,7 @@ msgstr "Tastenverzögerung"
|
||||
|
||||
#: ../js/ui/status/accessibility.js:81
|
||||
msgid "Bounce Keys"
|
||||
msgstr "Springende Tasten"
|
||||
msgstr "Tastenanschlagfunktion"
|
||||
|
||||
#: ../js/ui/status/accessibility.js:84
|
||||
msgid "Mouse Keys"
|
||||
@ -1476,7 +1476,6 @@ msgid "Disable"
|
||||
msgstr "Deaktivieren"
|
||||
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "Einstellungen zur Privatsphäre"
|
||||
|
||||
|
21
po/es.po
21
po/es.po
@ -10,8 +10,8 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell.master\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-09-20 07:41+0000\n"
|
||||
"PO-Revision-Date: 2014-09-20 19:01+0200\n"
|
||||
"POT-Creation-Date: 2014-10-06 07:46+0000\n"
|
||||
"PO-Revision-Date: 2014-10-06 13:00+0200\n"
|
||||
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
|
||||
"Language-Team: Español; Castellano <gnome-es-list@gnome.org>\n"
|
||||
"Language: es\n"
|
||||
@ -1000,22 +1000,22 @@ msgstr "Mostrar aplicaciones"
|
||||
msgid "Dash"
|
||||
msgstr "Tablero"
|
||||
|
||||
#: ../js/ui/dateMenu.js:96
|
||||
#: ../js/ui/dateMenu.js:97
|
||||
msgid "Open Calendar"
|
||||
msgstr "Abrir calendario"
|
||||
|
||||
#: ../js/ui/dateMenu.js:100
|
||||
#: ../js/ui/dateMenu.js:101
|
||||
msgid "Open Clocks"
|
||||
msgstr "Abrir Relojes"
|
||||
|
||||
#: ../js/ui/dateMenu.js:107
|
||||
#: ../js/ui/dateMenu.js:108
|
||||
msgid "Date & Time Settings"
|
||||
msgstr "Configuración de hora y fecha"
|
||||
|
||||
#. Translators: This is the date format to use when the calendar popup is
|
||||
#. * shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
#. */
|
||||
#: ../js/ui/dateMenu.js:204
|
||||
#: ../js/ui/dateMenu.js:132
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%A, %e de %B de %Y"
|
||||
|
||||
@ -1159,7 +1159,7 @@ msgstr "Instalar"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "¿Descargar e instalar «%s» desde extensions.gnome.org?"
|
||||
|
||||
#: ../js/ui/keyboard.js:692 ../js/ui/status/keyboard.js:523
|
||||
#: ../js/ui/keyboard.js:700 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "Teclado"
|
||||
|
||||
@ -1338,11 +1338,11 @@ msgstr "No se pudo bloquear"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "Una aplicación impidió el bloqueo"
|
||||
|
||||
#: ../js/ui/search.js:594
|
||||
#: ../js/ui/search.js:611
|
||||
msgid "Searching…"
|
||||
msgstr "Buscando…"
|
||||
|
||||
#: ../js/ui/search.js:596
|
||||
#: ../js/ui/search.js:613
|
||||
msgid "No results."
|
||||
msgstr "No se encontraron resultados."
|
||||
|
||||
@ -1457,7 +1457,6 @@ msgid "Disable"
|
||||
msgstr "Desactivar"
|
||||
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "Configuración de privacidad"
|
||||
|
||||
@ -1583,7 +1582,7 @@ msgstr "Configuración de Wi-Fi"
|
||||
|
||||
#: ../js/ui/status/network.js:1281
|
||||
msgid "Turn On"
|
||||
msgstr "Enceder"
|
||||
msgstr "Encender"
|
||||
|
||||
#: ../js/ui/status/network.js:1298
|
||||
msgid "Hotspot Active"
|
||||
|
207
po/fa.po
207
po/fa.po
@ -9,8 +9,8 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell master\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-08-28 07:38+0000\n"
|
||||
"PO-Revision-Date: 2014-08-28 20:57+0430\n"
|
||||
"POT-Creation-Date: 2014-10-06 19:42+0000\n"
|
||||
"PO-Revision-Date: 2014-10-10 10:51+0330\n"
|
||||
"Last-Translator: Arash Mousavi <mousavi.arash@gmail.com>\n"
|
||||
"Language-Team: Persian <>\n"
|
||||
"Language: fa\n"
|
||||
@ -19,7 +19,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n!=1);\n"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
"X-Generator: Gtranslator 2.91.6\n"
|
||||
"X-Generator: Poedit 1.6.9\n"
|
||||
|
||||
#: ../data/50-gnome-shell-system.xml.in.h:1
|
||||
msgid "System"
|
||||
@ -81,16 +81,10 @@ msgstr ""
|
||||
"F2."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
||||
#| msgid "Uuids of extensions to enable"
|
||||
msgid "UUIDs of extensions to enable"
|
||||
msgstr "شناسههای UUID افزونهها جهت فعالسازی"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:4
|
||||
#| msgid ""
|
||||
#| "GNOME Shell extensions have a uuid property; this key lists extensions "
|
||||
#| "which should be loaded. Any extension that wants to be loaded needs to be "
|
||||
#| "in this list. You can also manipulate this list with the EnableExtension "
|
||||
#| "and DisableExtension DBus methods on org.gnome.Shell."
|
||||
msgid ""
|
||||
"GNOME Shell extensions have a UUID property; this key lists extensions which "
|
||||
"should be loaded. Any extension that wants to be loaded needs to be in this "
|
||||
@ -143,14 +137,10 @@ msgid "History for the looking glass dialog"
|
||||
msgstr "تاریخچه برای نما محاوره شیشهای"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:13
|
||||
#| msgid "Always show the 'Log out' menuitem in the user menu."
|
||||
msgid "Always show the 'Log out' menu item in the user menu."
|
||||
msgstr "همیشه «خروج از سیستم» را در منو کاربر نمایش بده."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:14
|
||||
#| msgid ""
|
||||
#| "This key overrides the automatic hiding of the 'Log out' menuitem in "
|
||||
#| "single-user, single-session situations."
|
||||
msgid ""
|
||||
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
|
||||
"user, single-session situations."
|
||||
@ -307,18 +297,17 @@ msgstr ""
|
||||
msgid "Captive Portal"
|
||||
msgstr "پرتال درگیر"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:127
|
||||
#: ../js/extensionPrefs/main.js:123
|
||||
#, javascript-format
|
||||
msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "خطایی هنگام باز کردن محاورهی ترجیحات برای %s رُخ داد:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:159
|
||||
#| msgid "Configure GNOME Shell Extensions"
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "افزونههای گنومشل"
|
||||
|
||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:143
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:429
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:452
|
||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||
#: ../js/ui/status/network.js:915
|
||||
msgid "Cancel"
|
||||
@ -378,50 +367,47 @@ msgstr "عدم توانایی در تجزیه فرمان:"
|
||||
|
||||
#: ../js/misc/util.js:156
|
||||
#, javascript-format
|
||||
#| msgid "Execution of '%s' failed:"
|
||||
msgid "Execution of “%s” failed:"
|
||||
msgstr "اجرای «%s» شکست خورد:"
|
||||
|
||||
#: ../js/portalHelper/main.js:85
|
||||
#| msgid "Authentication Required"
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "تغییر مسیر برای تایید هویت وب"
|
||||
|
||||
#: ../js/ui/appDisplay.js:660
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr "برنامههای بیشتر استفاده شده در اینجا نمایش داده میشود"
|
||||
|
||||
#: ../js/ui/appDisplay.js:771
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
msgstr "پُراستفاده"
|
||||
|
||||
#: ../js/ui/appDisplay.js:778
|
||||
#: ../js/ui/appDisplay.js:890
|
||||
msgid "All"
|
||||
msgstr "همه"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1650
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "پنجرهی جدید"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1673 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "حذف از مورد پسندها"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1679
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "اضافه کردن به مورد پسندها"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1688
|
||||
#| msgid "Show Text"
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "نمایش جزئیات"
|
||||
|
||||
#: ../js/ui/appFavorites.js:122
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "مورد %s به مورد پسندهای شما اضافه شد."
|
||||
|
||||
#: ../js/ui/appFavorites.js:156
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "مورد %s ازمورد پسندهای شما حذف شد."
|
||||
@ -613,11 +599,11 @@ msgstr "باز کردن با %s"
|
||||
msgid "Eject"
|
||||
msgstr "بیرون دادن"
|
||||
|
||||
#: ../js/ui/components/keyring.js:93 ../js/ui/components/polkitAgent.js:285
|
||||
#: ../js/ui/components/keyring.js:94 ../js/ui/components/polkitAgent.js:285
|
||||
msgid "Password:"
|
||||
msgstr "گذرواژه"
|
||||
|
||||
#: ../js/ui/components/keyring.js:113
|
||||
#: ../js/ui/components/keyring.js:120
|
||||
msgid "Type again:"
|
||||
msgstr "تلاش مجدد:"
|
||||
|
||||
@ -656,9 +642,6 @@ msgstr "تایید هویت برای شبکه بیسیم لازم است"
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:319
|
||||
#, javascript-format
|
||||
#| msgid ""
|
||||
#| "Passwords or encryption keys are required to access the wireless network "
|
||||
#| "'%s'."
|
||||
msgid ""
|
||||
"Passwords or encryption keys are required to access the wireless network "
|
||||
"“%s”."
|
||||
@ -694,7 +677,6 @@ msgstr "گذرواژه شبکه پهنباند تلفن همراه"
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:346
|
||||
#, javascript-format
|
||||
#| msgid "A password is required to connect to '%s'."
|
||||
msgid "A password is required to connect to “%s”."
|
||||
msgstr "برای اتصال به «%s» گذرواژه لازم است."
|
||||
|
||||
@ -744,23 +726,18 @@ msgstr "بیصدا"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:953
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%H∶%M"
|
||||
msgid "%H∶%M"
|
||||
msgstr "%OH∶%OM"
|
||||
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:960
|
||||
#| msgid "<b>Yesterday</b>, <b>%H:%M</b>"
|
||||
msgid "Yesterday, %H∶%M"
|
||||
msgstr "<b>دیروز</b>، <b>%OH:%OM"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 24h format. i.e. "Monday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:967
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%H∶%M"
|
||||
msgid "%A, %H∶%M"
|
||||
msgstr "%A، %OH∶%OM"
|
||||
|
||||
@ -768,8 +745,6 @@ msgstr "%A، %OH∶%OM"
|
||||
#. followed by a time string in 24h format.
|
||||
#. i.e. "May 25, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:974
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%H∶%M"
|
||||
msgid "%B %d, %H∶%M"
|
||||
msgstr "%d %B، %OH∶%OM"
|
||||
|
||||
@ -782,8 +757,6 @@ msgstr "%Od %OB %OY، %OH:%OM"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:986
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%l∶%M %p"
|
||||
msgid "%l∶%M %p"
|
||||
msgstr "%Ol∶%OM %p"
|
||||
|
||||
@ -796,7 +769,6 @@ msgstr "دیروز، %OI:%OM"
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1000
|
||||
#| msgid "%a %l:%M %p"
|
||||
msgid "%A, %l∶%M %p"
|
||||
msgstr "%A، %OH:%OM"
|
||||
|
||||
@ -804,7 +776,6 @@ msgstr "%A، %OH:%OM"
|
||||
#. followed by a time string in 12h format.
|
||||
#. i.e. "May 25, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1007
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d, %l∶%M %p"
|
||||
msgstr "%Od %B، %OH:%OM"
|
||||
|
||||
@ -812,7 +783,6 @@ msgstr "%Od %B، %OH:%OM"
|
||||
#. number followed by a time string in 12h format.
|
||||
#. i.e. "May 25 2012, 2:30 pm"*/
|
||||
#: ../js/ui/components/telepathyClient.js:1013
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d %Y, %l∶%M %p"
|
||||
msgstr "%Od %B، %OH:%OM"
|
||||
|
||||
@ -1004,7 +974,7 @@ msgstr "نمایش حساب"
|
||||
msgid "Unknown reason"
|
||||
msgstr "دلیل ناشناخته"
|
||||
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:228
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:154
|
||||
msgid "Windows"
|
||||
msgstr "پنجرهها"
|
||||
|
||||
@ -1016,105 +986,105 @@ msgstr "نمایش برنامهها"
|
||||
msgid "Dash"
|
||||
msgstr "دَش"
|
||||
|
||||
#: ../js/ui/dateMenu.js:96
|
||||
#: ../js/ui/dateMenu.js:97
|
||||
msgid "Open Calendar"
|
||||
msgstr "بازکردن تقویم"
|
||||
|
||||
#: ../js/ui/dateMenu.js:100
|
||||
#: ../js/ui/dateMenu.js:101
|
||||
msgid "Open Clocks"
|
||||
msgstr "باز کردن ساعتها"
|
||||
|
||||
#: ../js/ui/dateMenu.js:107
|
||||
#: ../js/ui/dateMenu.js:108
|
||||
msgid "Date & Time Settings"
|
||||
msgstr "تنظیمات تاریخ و ساعت"
|
||||
|
||||
#. Translators: This is the date format to use when the calendar popup is
|
||||
#. * shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
#. */
|
||||
#: ../js/ui/dateMenu.js:204
|
||||
#: ../js/ui/dateMenu.js:132
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%A %Od %B"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:66
|
||||
#: ../js/ui/endSessionDialog.js:64
|
||||
#, javascript-format
|
||||
msgctxt "title"
|
||||
msgid "Log Out %s"
|
||||
msgstr "خروج از %s"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#: ../js/ui/endSessionDialog.js:65
|
||||
msgctxt "title"
|
||||
msgid "Log Out"
|
||||
msgstr "خروج از سیستم"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:69
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#, javascript-format
|
||||
msgid "%s will be logged out automatically in %d second."
|
||||
msgid_plural "%s will be logged out automatically in %d seconds."
|
||||
msgstr[0] "%s به طور خودکار در مدت %Id ثانیه از سیستم خارج خواهد شد."
|
||||
msgstr[1] "%s به طور خودکار در مدت %Id ثانیه از سیستم خارج خواهد شد."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:74
|
||||
#: ../js/ui/endSessionDialog.js:72
|
||||
#, javascript-format
|
||||
msgid "You will be logged out automatically in %d second."
|
||||
msgid_plural "You will be logged out automatically in %d seconds."
|
||||
msgstr[0] "شما پس از %Id ثانیه به طور خودکار از سیستم خارج میشوید."
|
||||
msgstr[1] "شما پس از %Id ثانیه به طور خودکار از سیستم خارج میشوید."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:80
|
||||
#: ../js/ui/endSessionDialog.js:78
|
||||
msgctxt "button"
|
||||
msgid "Log Out"
|
||||
msgstr "خروج از سیستم"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:86
|
||||
#: ../js/ui/endSessionDialog.js:84
|
||||
msgctxt "title"
|
||||
msgid "Power Off"
|
||||
msgstr "خاموش کردن"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "نصب بروزرسانیها و خاموش کردن"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:89
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#, javascript-format
|
||||
msgid "The system will power off automatically in %d second."
|
||||
msgid_plural "The system will power off automatically in %d seconds."
|
||||
msgstr[0] "سیستم پس از %Id ثانیه به طور خودکار خاموش میشود."
|
||||
msgstr[1] "سیستم پس از %Id ثانیه به طور خودکار خاموش میشود."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:93
|
||||
#: ../js/ui/endSessionDialog.js:91
|
||||
msgctxt "checkbox"
|
||||
msgid "Install pending software updates"
|
||||
msgstr "نصب بروزرسانیهایِ در انتظار"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:96 ../js/ui/endSessionDialog.js:113
|
||||
#: ../js/ui/endSessionDialog.js:94 ../js/ui/endSessionDialog.js:111
|
||||
msgctxt "button"
|
||||
msgid "Restart"
|
||||
msgstr "راهاندازی مجدد"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:98
|
||||
#: ../js/ui/endSessionDialog.js:96
|
||||
msgctxt "button"
|
||||
msgid "Power Off"
|
||||
msgstr "خاموش کردن"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#: ../js/ui/endSessionDialog.js:103
|
||||
msgctxt "title"
|
||||
msgid "Restart"
|
||||
msgstr "راهاندازی مجدد"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:107
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#, javascript-format
|
||||
msgid "The system will restart automatically in %d second."
|
||||
msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgstr[0] "سیستم پس از %Id ثانیه به طور خودکار مجددا راهاندازی میشود."
|
||||
msgstr[1] "سیستم پس از %Id ثانیه به طور خودکار مجددا راهاندازی میشود."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "راهاندازی مجدد و نصب بروزرسانیها"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:123
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, javascript-format
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural ""
|
||||
@ -1126,44 +1096,42 @@ msgstr[1] ""
|
||||
"سیستم پس از %Id ثانیه به طور خودکار مجددا راهاندازی میشود و بروزرسانیهای را "
|
||||
"نصب میکند."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
#| msgctxt "button"
|
||||
#| msgid "Restart & Install"
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
msgid "Restart & Install"
|
||||
msgstr "راهاندازی مجدد و نصب"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:130
|
||||
#: ../js/ui/endSessionDialog.js:128
|
||||
msgctxt "button"
|
||||
msgid "Install & Power Off"
|
||||
msgstr "نصب و خاموش کردن"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:131
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
msgctxt "checkbox"
|
||||
msgid "Power off after updates are installed"
|
||||
msgstr "خاموش کردن بعد از نصب بروزرسانیها"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:315
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr ""
|
||||
"درحال اجرا بر روی انرژی باتری: لطفا قبل از نصب بروزرسانیها، به برق وصل کنید."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:332
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr "تعدادی از برنامهها مشغول هستند یا کارهای ذخیره نشده دارند."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:339
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
msgstr "کاربران دیگر وارد سیستم هستند."
|
||||
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login */
|
||||
#: ../js/ui/endSessionDialog.js:619
|
||||
#: ../js/ui/endSessionDialog.js:640
|
||||
#, javascript-format
|
||||
msgid "%s (remote)"
|
||||
msgstr "%s (دوردست)"
|
||||
|
||||
#. Translators: Console here refers to a tty like a VT console */
|
||||
#: ../js/ui/endSessionDialog.js:622
|
||||
#: ../js/ui/endSessionDialog.js:643
|
||||
#, javascript-format
|
||||
msgid "%s (console)"
|
||||
msgstr "%s (پایانه)"
|
||||
@ -1174,11 +1142,10 @@ msgstr "نصب"
|
||||
|
||||
#: ../js/ui/extensionDownloader.js:204
|
||||
#, javascript-format
|
||||
#| msgid "Download and install '%s' from extensions.gnome.org?"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "بارگیری و نصب «%s» از extensions.gnome.org؟"
|
||||
|
||||
#: ../js/ui/keyboard.js:653 ../js/ui/status/keyboard.js:339
|
||||
#: ../js/ui/keyboard.js:700 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "صفحهکلید"
|
||||
|
||||
@ -1200,8 +1167,8 @@ msgstr "مخفی کردن خطاها"
|
||||
msgid "Show Errors"
|
||||
msgstr "نمایش خطاها"
|
||||
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:62
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "Enabled"
|
||||
msgstr "به کار انداختن"
|
||||
|
||||
@ -1209,7 +1176,7 @@ msgstr "به کار انداختن"
|
||||
#. because it's disabled by rfkill (airplane mode) */
|
||||
#. translators:
|
||||
#. * The device has been disabled
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:169
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
||||
msgid "Disabled"
|
||||
msgstr "از کار انداختن"
|
||||
@ -1234,39 +1201,39 @@ msgstr "نمایش منبع"
|
||||
msgid "Web Page"
|
||||
msgstr "صفحهی وب"
|
||||
|
||||
#: ../js/ui/messageTray.js:1325
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "بازکردن"
|
||||
|
||||
#: ../js/ui/messageTray.js:1332
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "حذف"
|
||||
|
||||
#: ../js/ui/messageTray.js:1629
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "اعلانها"
|
||||
|
||||
#: ../js/ui/messageTray.js:1636
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "پاک کردن پیامها"
|
||||
|
||||
#: ../js/ui/messageTray.js:1655
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "تنظیمات اعلانها"
|
||||
|
||||
#: ../js/ui/messageTray.js:1708
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "منو سینی"
|
||||
|
||||
#: ../js/ui/messageTray.js:1925
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "پیامی وجود ندارد"
|
||||
|
||||
#: ../js/ui/messageTray.js:1963
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "سینی پیام"
|
||||
|
||||
#: ../js/ui/messageTray.js:2966
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "اطلاعات سیستم"
|
||||
|
||||
@ -1294,7 +1261,7 @@ msgstr "نمایکلی"
|
||||
#. in the search entry when no search is
|
||||
#. active; it should not exceed ~30
|
||||
#. characters. */
|
||||
#: ../js/ui/overview.js:250
|
||||
#: ../js/ui/overview.js:246
|
||||
msgid "Type to search…"
|
||||
msgstr "برای جستجو تایپ کنید..."
|
||||
|
||||
@ -1325,7 +1292,6 @@ msgid "Close"
|
||||
msgstr "بستن"
|
||||
|
||||
#: ../js/ui/runDialog.js:277
|
||||
#| msgid "Estimating…"
|
||||
msgid "Restarting…"
|
||||
msgstr "درحال راهاندازی مجدد..."
|
||||
|
||||
@ -1358,27 +1324,27 @@ msgstr "نمیتوان قفل کرد"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "قفل توسط یک برنامه مسدود شده بود"
|
||||
|
||||
#: ../js/ui/search.js:606
|
||||
#: ../js/ui/search.js:611
|
||||
msgid "Searching…"
|
||||
msgstr "درحال حستجو..."
|
||||
|
||||
#: ../js/ui/search.js:652
|
||||
#: ../js/ui/search.js:613
|
||||
msgid "No results."
|
||||
msgstr "بدون نتیجه."
|
||||
|
||||
#: ../js/ui/shellEntry.js:27
|
||||
#: ../js/ui/shellEntry.js:25
|
||||
msgid "Copy"
|
||||
msgstr "رونوشت"
|
||||
|
||||
#: ../js/ui/shellEntry.js:32
|
||||
#: ../js/ui/shellEntry.js:30
|
||||
msgid "Paste"
|
||||
msgstr "چسباندن"
|
||||
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
#: ../js/ui/shellEntry.js:97
|
||||
msgid "Show Text"
|
||||
msgstr "نمایش متن"
|
||||
|
||||
#: ../js/ui/shellEntry.js:101
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
msgid "Hide Text"
|
||||
msgstr "مخفیکردن متن"
|
||||
|
||||
@ -1464,26 +1430,27 @@ msgstr "متصل نیست"
|
||||
msgid "Brightness"
|
||||
msgstr "روشنایی"
|
||||
|
||||
#: ../js/ui/status/keyboard.js:406
|
||||
#: ../js/ui/status/keyboard.js:547
|
||||
msgid "Show Keyboard Layout"
|
||||
msgstr "نمایش چیدمان صفحهکلید"
|
||||
|
||||
#: ../js/ui/status/location.js:56
|
||||
#| msgid "Notifications"
|
||||
#: ../js/ui/status/location.js:65
|
||||
msgid "Location"
|
||||
msgstr "مکان"
|
||||
|
||||
#: ../js/ui/status/location.js:63 ../js/ui/status/location.js:167
|
||||
#| msgid "Disabled"
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
msgid "Disable"
|
||||
msgstr "از کار انداختن"
|
||||
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/status/location.js:73
|
||||
msgid "Privacy Settings"
|
||||
msgstr "تنظیمات حریمخصوصی"
|
||||
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "In Use"
|
||||
msgstr "درحال استفاده"
|
||||
|
||||
#: ../js/ui/status/location.js:170
|
||||
#| msgid "Enabled"
|
||||
#: ../js/ui/status/location.js:180
|
||||
msgid "Enable"
|
||||
msgstr "به کار انداختن"
|
||||
|
||||
@ -1497,37 +1464,31 @@ msgid "Off"
|
||||
msgstr "خاموش"
|
||||
|
||||
#: ../js/ui/status/network.js:459
|
||||
#| msgid "Connect"
|
||||
msgid "Connected"
|
||||
msgstr "متصل شده"
|
||||
|
||||
#. Translators: this is for network devices that are physically present but are not
|
||||
#. under NetworkManager's control (and thus cannot be used in the menu) */
|
||||
#: ../js/ui/status/network.js:463
|
||||
#| msgid "unmanaged"
|
||||
msgid "Unmanaged"
|
||||
msgstr "مدیریت نشده"
|
||||
|
||||
#: ../js/ui/status/network.js:465
|
||||
#| msgid "disconnecting..."
|
||||
msgid "Disconnecting"
|
||||
msgstr "درحال قطع ارتباط"
|
||||
|
||||
#: ../js/ui/status/network.js:471 ../js/ui/status/network.js:1301
|
||||
#| msgid "Connection"
|
||||
msgid "Connecting"
|
||||
msgstr "درحال اتصال"
|
||||
|
||||
#. Translators: this is for network connections that require some kind of key or password */
|
||||
#: ../js/ui/status/network.js:474
|
||||
#| msgid "authentication required"
|
||||
msgid "Authentication required"
|
||||
msgstr "تایید هویت لازم است"
|
||||
|
||||
#. Translators: this is for devices that require some kind of firmware or kernel
|
||||
#. module, which is missing */
|
||||
#: ../js/ui/status/network.js:482
|
||||
#| msgid "firmware missing"
|
||||
msgid "Firmware missing"
|
||||
msgstr "میانافزار موجود نیست"
|
||||
|
||||
@ -1542,7 +1503,6 @@ msgid "Connection failed"
|
||||
msgstr "اتصال شکست خورد"
|
||||
|
||||
#: ../js/ui/status/network.js:504
|
||||
#| msgid "Wi-Fi Settings"
|
||||
msgid "Wired Settings"
|
||||
msgstr "تنظیمات اتصال سیمی"
|
||||
|
||||
@ -1559,7 +1519,6 @@ msgid "Use as Internet connection"
|
||||
msgstr "استفاده به عنوان اتصال اینترنت"
|
||||
|
||||
#: ../js/ui/status/network.js:813
|
||||
#| msgid "Airplane Mode"
|
||||
msgid "Airplane Mode is On"
|
||||
msgstr "حالت هواپیمایی روشن است"
|
||||
|
||||
@ -1568,12 +1527,10 @@ msgid "Wi-Fi is disabled when airplane mode is on."
|
||||
msgstr "در زمان روشن بودن حالت هواپیمایی وای-فای غیرفعال میشود."
|
||||
|
||||
#: ../js/ui/status/network.js:815
|
||||
#| msgid "Airplane Mode"
|
||||
msgid "Turn Off Airplane Mode"
|
||||
msgstr "خاموش کردن حالت هواپیمایی"
|
||||
|
||||
#: ../js/ui/status/network.js:824
|
||||
#| msgid "Wi-Fi Settings"
|
||||
msgid "Wi-Fi is Off"
|
||||
msgstr "بیسیم خاموش است"
|
||||
|
||||
@ -1582,7 +1539,6 @@ msgid "Wi-Fi needs to be turned on in order to connect to a network."
|
||||
msgstr "برای اتصال به شبکه باید وای-فای روشن شود."
|
||||
|
||||
#: ../js/ui/status/network.js:826
|
||||
#| msgid "Turn On"
|
||||
msgid "Turn On Wi-Fi"
|
||||
msgstr "روشن کردن بیسیم"
|
||||
|
||||
@ -1636,7 +1592,6 @@ msgid "Network Settings"
|
||||
msgstr "تنظیمات شبکه"
|
||||
|
||||
#: ../js/ui/status/network.js:1482
|
||||
#| msgid "Settings"
|
||||
msgid "VPN Settings"
|
||||
msgstr "تنظیمات VPN"
|
||||
|
||||
@ -1730,17 +1685,16 @@ msgstr "ورود به سیستم بعنوان کاربری دیگر"
|
||||
msgid "Unlock Window"
|
||||
msgstr "بازکردن قفل پنجره"
|
||||
|
||||
#: ../js/ui/viewSelector.js:232
|
||||
#: ../js/ui/viewSelector.js:158
|
||||
msgid "Applications"
|
||||
msgstr "برنامهها"
|
||||
|
||||
#: ../js/ui/viewSelector.js:236
|
||||
#: ../js/ui/viewSelector.js:162
|
||||
msgid "Search"
|
||||
msgstr "جستجو"
|
||||
|
||||
#: ../js/ui/windowAttentionHandler.js:19
|
||||
#, javascript-format
|
||||
#| msgid "'%s' is ready"
|
||||
msgid "“%s” is ready"
|
||||
msgstr "«%s» آماده است"
|
||||
|
||||
@ -1832,25 +1786,24 @@ msgstr[1] "%Iu ورودی"
|
||||
msgid "System Sounds"
|
||||
msgstr "صداهای سیستم"
|
||||
|
||||
#: ../src/main.c:371
|
||||
#: ../src/main.c:373
|
||||
msgid "Print version"
|
||||
msgstr "چاپ نسخه"
|
||||
|
||||
#: ../src/main.c:377
|
||||
#: ../src/main.c:379
|
||||
msgid "Mode used by GDM for login screen"
|
||||
msgstr "حالت استفاده شده توسط GDM برای صفحه ورود به سیستم"
|
||||
|
||||
#: ../src/main.c:383
|
||||
#: ../src/main.c:385
|
||||
msgid "Use a specific mode, e.g. \"gdm\" for login screen"
|
||||
msgstr "استفاده از حالت مشخص، مثال «gdm» برای صفحه ورود به سیستم"
|
||||
|
||||
#: ../src/main.c:389
|
||||
#: ../src/main.c:391
|
||||
msgid "List possible modes"
|
||||
msgstr "فهرست کردن حالتهای ممکن"
|
||||
|
||||
#: ../src/shell-app.c:666
|
||||
#, c-format
|
||||
#| msgid "Failed to launch '%s'"
|
||||
msgid "Failed to launch “%s”"
|
||||
msgstr "راهاندازی «%s» شکست خورد"
|
||||
|
||||
|
308
po/gl.po
308
po/gl.po
@ -11,8 +11,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gnome-shell master\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-08-25 23:06+0200\n"
|
||||
"PO-Revision-Date: 2014-08-25 23:08+0200\n"
|
||||
"POT-Creation-Date: 2014-09-23 01:50+0200\n"
|
||||
"PO-Revision-Date: 2014-09-23 01:51+0200\n"
|
||||
"Last-Translator: Fran Dieguez <frandieguez@gnome.org>\n"
|
||||
"Language-Team: gnome-l10n-gl@gnome.org\n"
|
||||
"Language: gl\n"
|
||||
@ -300,17 +300,17 @@ msgstr "Atrasar os cambios de foco no modo rato até que o punteiro se pare"
|
||||
msgid "Captive Portal"
|
||||
msgstr "Portal cautivo"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:127
|
||||
#: ../js/extensionPrefs/main.js:123
|
||||
#, javascript-format
|
||||
msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "Produciuse un erro ao cargar o diálogo de preferenzas para %s:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:159
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "Extensións de GNOME Shell"
|
||||
|
||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:143
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:429
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:452
|
||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||
#: ../js/ui/status/network.js:915
|
||||
msgid "Cancel"
|
||||
@ -334,15 +334,23 @@ msgstr "Iniciar sesión"
|
||||
msgid "Choose Session"
|
||||
msgstr "Escolla unha sesión"
|
||||
|
||||
#. translators: this message is shown below the user list on the
|
||||
#. login screen. It can be activated to reveal an entry for
|
||||
#. manually entering the username.
|
||||
#: ../js/gdm/loginDialog.js:429
|
||||
msgid "Not listed?"
|
||||
msgstr "Non está na lista?"
|
||||
|
||||
#. Translators: this message is shown below the username entry field
|
||||
#. to clue the user in on how to login to the local network realm
|
||||
#: ../js/gdm/loginDialog.js:614
|
||||
#, javascript-format
|
||||
msgid "(e.g., user or %s)"
|
||||
msgstr "(p.ex., usuario ou %s)"
|
||||
|
||||
#. TTLS and PEAP are actually much more complicated, but this complication
|
||||
#. is not visible here since we only care about phase2 authentication
|
||||
#. (and don't even care of which one)
|
||||
#: ../js/gdm/loginDialog.js:619 ../js/ui/components/networkAgent.js:269
|
||||
#: ../js/ui/components/networkAgent.js:287
|
||||
msgid "Username: "
|
||||
@ -356,6 +364,11 @@ msgstr "Xanela de inicio de sesión"
|
||||
msgid "Authentication error"
|
||||
msgstr "Erro de autenticación"
|
||||
|
||||
#. We don't show fingerprint messages directly since it's
|
||||
#. not the main auth service. Instead we use the messages
|
||||
#. as a cue to display our own message.
|
||||
#. Translators: this message is shown below the password entry field
|
||||
#. to indicate the user can swipe their finger instead
|
||||
#: ../js/gdm/util.js:453
|
||||
msgid "(or swipe finger)"
|
||||
msgstr "(ou pase o dedo)"
|
||||
@ -364,6 +377,8 @@ msgstr "(ou pase o dedo)"
|
||||
msgid "Command not found"
|
||||
msgstr "Orde non atopada"
|
||||
|
||||
#. Replace "Error invoking GLib.shell_parse_argv: " with
|
||||
#. something nicer
|
||||
#: ../js/misc/util.js:148
|
||||
msgid "Could not parse command:"
|
||||
msgstr "Non foi posíbel analizar a orde:"
|
||||
@ -373,44 +388,46 @@ msgstr "Non foi posíbel analizar a orde:"
|
||||
msgid "Execution of “%s” failed:"
|
||||
msgstr "Produciuse un fallo na execución de «%s»:"
|
||||
|
||||
#. TRANSLATORS: this is the title of the wifi captive portal login
|
||||
#. window, until we know the title of the actual login page
|
||||
#: ../js/portalHelper/main.js:85
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "Redirección web de autenticación"
|
||||
|
||||
#: ../js/ui/appDisplay.js:660
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr "Os aplicativos usados recentemente aparecerán aquí"
|
||||
|
||||
#: ../js/ui/appDisplay.js:771
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
msgstr "Frecuentes"
|
||||
|
||||
#: ../js/ui/appDisplay.js:778
|
||||
#: ../js/ui/appDisplay.js:890
|
||||
msgid "All"
|
||||
msgstr "Todos"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1650
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "Xanela nova"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1673 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "Retirar dos marcadores"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1679
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "Engadir aos favoritos"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1688
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "Mostrar detalles"
|
||||
|
||||
#: ../js/ui/appFavorites.js:122
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "%s foi engadido aos seus favoritos."
|
||||
|
||||
#: ../js/ui/appFavorites.js:156
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "%s retirouse dos seus marcadores."
|
||||
@ -426,14 +443,14 @@ msgstr "Cambiar fondo de escritorio…"
|
||||
|
||||
#. Translators: Shown in calendar event list for all day events
|
||||
#. * Keep it short, best if you can use less then 10 characters
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/calendar.js:67
|
||||
msgctxt "event list time"
|
||||
msgid "All Day"
|
||||
msgstr "Todo o día"
|
||||
|
||||
#. Translators: Shown in calendar event list, if 24h format,
|
||||
#. \u2236 is a ratio character, similar to : */
|
||||
#. \u2236 is a ratio character, similar to :
|
||||
#: ../js/ui/calendar.js:73
|
||||
msgctxt "event list time"
|
||||
msgid "%H∶%M"
|
||||
@ -441,7 +458,7 @@ msgstr "%H∶%M"
|
||||
|
||||
#. Translators: Shown in calendar event list, if 12h format,
|
||||
#. \u2236 is a ratio character, similar to : and \u2009 is
|
||||
#. a thin space */
|
||||
#. a thin space
|
||||
#: ../js/ui/calendar.js:82
|
||||
msgctxt "event list time"
|
||||
msgid "%l∶%M %p"
|
||||
@ -451,43 +468,43 @@ msgstr "%l∶%M %p"
|
||||
#. *
|
||||
#. * NOTE: These grid abbreviations are always shown together
|
||||
#. * and in order, e.g. "S M T W T F S".
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/calendar.js:113
|
||||
msgctxt "grid sunday"
|
||||
msgid "S"
|
||||
msgstr "D"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Monday */
|
||||
#. Translators: Calendar grid abbreviation for Monday
|
||||
#: ../js/ui/calendar.js:115
|
||||
msgctxt "grid monday"
|
||||
msgid "M"
|
||||
msgstr "L"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Tuesday */
|
||||
#. Translators: Calendar grid abbreviation for Tuesday
|
||||
#: ../js/ui/calendar.js:117
|
||||
msgctxt "grid tuesday"
|
||||
msgid "T"
|
||||
msgstr "M"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Wednesday */
|
||||
#. Translators: Calendar grid abbreviation for Wednesday
|
||||
#: ../js/ui/calendar.js:119
|
||||
msgctxt "grid wednesday"
|
||||
msgid "W"
|
||||
msgstr "W"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Thursday */
|
||||
#. Translators: Calendar grid abbreviation for Thursday
|
||||
#: ../js/ui/calendar.js:121
|
||||
msgctxt "grid thursday"
|
||||
msgid "T"
|
||||
msgstr "X"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Friday */
|
||||
#. Translators: Calendar grid abbreviation for Friday
|
||||
#: ../js/ui/calendar.js:123
|
||||
msgctxt "grid friday"
|
||||
msgid "F"
|
||||
msgstr "V"
|
||||
|
||||
#. Translators: Calendar grid abbreviation for Saturday */
|
||||
#. Translators: Calendar grid abbreviation for Saturday
|
||||
#: ../js/ui/calendar.js:125
|
||||
msgctxt "grid saturday"
|
||||
msgid "S"
|
||||
@ -498,43 +515,43 @@ msgstr "S"
|
||||
#. * NOTE: These list abbreviations are normally not shown together
|
||||
#. * so they need to be unique (e.g. Tuesday and Thursday cannot
|
||||
#. * both be 'T').
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/calendar.js:138
|
||||
msgctxt "list sunday"
|
||||
msgid "Su"
|
||||
msgstr "Do"
|
||||
|
||||
#. Translators: Event list abbreviation for Monday */
|
||||
#. Translators: Event list abbreviation for Monday
|
||||
#: ../js/ui/calendar.js:140
|
||||
msgctxt "list monday"
|
||||
msgid "M"
|
||||
msgstr "L"
|
||||
|
||||
#. Translators: Event list abbreviation for Tuesday */
|
||||
#. Translators: Event list abbreviation for Tuesday
|
||||
#: ../js/ui/calendar.js:142
|
||||
msgctxt "list tuesday"
|
||||
msgid "T"
|
||||
msgstr "M"
|
||||
|
||||
#. Translators: Event list abbreviation for Wednesday */
|
||||
#. Translators: Event list abbreviation for Wednesday
|
||||
#: ../js/ui/calendar.js:144
|
||||
msgctxt "list wednesday"
|
||||
msgid "W"
|
||||
msgstr "W"
|
||||
|
||||
#. Translators: Event list abbreviation for Thursday */
|
||||
#. Translators: Event list abbreviation for Thursday
|
||||
#: ../js/ui/calendar.js:146
|
||||
msgctxt "list thursday"
|
||||
msgid "Th"
|
||||
msgstr "X"
|
||||
|
||||
#. Translators: Event list abbreviation for Friday */
|
||||
#. Translators: Event list abbreviation for Friday
|
||||
#: ../js/ui/calendar.js:148
|
||||
msgctxt "list friday"
|
||||
msgid "F"
|
||||
msgstr "V"
|
||||
|
||||
#. Translators: Event list abbreviation for Saturday */
|
||||
#. Translators: Event list abbreviation for Saturday
|
||||
#: ../js/ui/calendar.js:150
|
||||
msgctxt "list saturday"
|
||||
msgid "S"
|
||||
@ -548,18 +565,18 @@ msgstr "Anterior mes"
|
||||
msgid "Next month"
|
||||
msgstr "Seguinte mes"
|
||||
|
||||
#. Translators: Text to show if there are no events */
|
||||
#. Translators: Text to show if there are no events
|
||||
#: ../js/ui/calendar.js:781
|
||||
msgid "Nothing Scheduled"
|
||||
msgstr "Nada programado"
|
||||
|
||||
#. Translators: Shown on calendar heading when selected day occurs on current year */
|
||||
#. Translators: Shown on calendar heading when selected day occurs on current year
|
||||
#: ../js/ui/calendar.js:799
|
||||
msgctxt "calendar heading"
|
||||
msgid "%A, %B %d"
|
||||
msgstr "%A, %d de %B"
|
||||
|
||||
#. Translators: Shown on calendar heading when selected day occurs on different year */
|
||||
#. Translators: Shown on calendar heading when selected day occurs on different year
|
||||
#: ../js/ui/calendar.js:802
|
||||
msgctxt "calendar heading"
|
||||
msgid "%A, %B %d, %Y"
|
||||
@ -602,11 +619,11 @@ msgstr "Abrir con %s"
|
||||
msgid "Eject"
|
||||
msgstr "Expulsar"
|
||||
|
||||
#: ../js/ui/components/keyring.js:93 ../js/ui/components/polkitAgent.js:285
|
||||
#: ../js/ui/components/keyring.js:94 ../js/ui/components/polkitAgent.js:285
|
||||
msgid "Password:"
|
||||
msgstr "Contrasinal:"
|
||||
|
||||
#: ../js/ui/components/keyring.js:113
|
||||
#: ../js/ui/components/keyring.js:120
|
||||
msgid "Type again:"
|
||||
msgstr "Escriba de novo:"
|
||||
|
||||
@ -615,6 +632,7 @@ msgstr "Escriba de novo:"
|
||||
msgid "Connect"
|
||||
msgstr "Conectar"
|
||||
|
||||
#. Cisco LEAP
|
||||
#: ../js/ui/components/networkAgent.js:231
|
||||
#: ../js/ui/components/networkAgent.js:243
|
||||
#: ../js/ui/components/networkAgent.js:271
|
||||
@ -623,6 +641,7 @@ msgstr "Conectar"
|
||||
msgid "Password: "
|
||||
msgstr "Contrasinal: "
|
||||
|
||||
#. static WEP
|
||||
#: ../js/ui/components/networkAgent.js:236
|
||||
msgid "Key: "
|
||||
msgstr "Chave: "
|
||||
@ -700,19 +719,23 @@ msgstr "Autenticar"
|
||||
#. Translators: "that didn't work" refers to the fact that the
|
||||
#. * requested authentication was not gained; this can happen
|
||||
#. * because of an authentication error (like invalid password),
|
||||
#. * for instance. */
|
||||
#. * for instance.
|
||||
#: ../js/ui/components/polkitAgent.js:271 ../js/ui/shellMountOperation.js:383
|
||||
msgid "Sorry, that didn't work. Please try again."
|
||||
msgstr "Desculpe, iso non funcionou. Ténteo de novo."
|
||||
|
||||
#. FIXME: We don't have a 'chat room' icon (bgo #653737) use
|
||||
#. system-users for now as Empathy does.
|
||||
#: ../js/ui/components/telepathyClient.js:240
|
||||
msgid "Invitation"
|
||||
msgstr "Convite"
|
||||
|
||||
#. We got the TpContact
|
||||
#: ../js/ui/components/telepathyClient.js:300
|
||||
msgid "Call"
|
||||
msgstr "Chamar"
|
||||
|
||||
#. We got the TpContact
|
||||
#: ../js/ui/components/telepathyClient.js:316
|
||||
msgid "File Transfer"
|
||||
msgstr "Transferencia de ficheiro"
|
||||
@ -729,77 +752,85 @@ msgstr "Desactivar silencio"
|
||||
msgid "Mute"
|
||||
msgstr "Silenciar"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#. Translators: Time in 24h format
|
||||
#: ../js/ui/components/telepathyClient.js:953
|
||||
msgid "%H∶%M"
|
||||
msgstr "%H∶%M"
|
||||
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30"
|
||||
#: ../js/ui/components/telepathyClient.js:960
|
||||
#, no-c-format
|
||||
msgid "Yesterday, %H∶%M"
|
||||
msgstr "Onte, %H:%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 24h format. i.e. "Monday, 14:30" */
|
||||
#. string in 24h format. i.e. "Monday, 14:30"
|
||||
#: ../js/ui/components/telepathyClient.js:967
|
||||
#, no-c-format
|
||||
msgid "%A, %H∶%M"
|
||||
msgstr "%A ás %H:%M"
|
||||
|
||||
#. Translators: this is the month name and day number
|
||||
#. followed by a time string in 24h format.
|
||||
#. i.e. "May 25, 14:30" */
|
||||
#. i.e. "May 25, 14:30"
|
||||
#: ../js/ui/components/telepathyClient.js:974
|
||||
#, no-c-format
|
||||
msgid "%B %d, %H∶%M"
|
||||
msgstr "%d de %B ás %H:%M"
|
||||
|
||||
#. Translators: this is the month name, day number, year
|
||||
#. number followed by a time string in 24h format.
|
||||
#. i.e. "May 25 2012, 14:30" */
|
||||
#. i.e. "May 25 2012, 14:30"
|
||||
#: ../js/ui/components/telepathyClient.js:980
|
||||
#, no-c-format
|
||||
msgid "%B %d %Y, %H∶%M"
|
||||
msgstr "%d de %B de %Y ás %H:%M"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#. Translators: Time in 24h format
|
||||
#: ../js/ui/components/telepathyClient.js:986
|
||||
msgid "%l∶%M %p"
|
||||
msgstr "%l:%M %p"
|
||||
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 12h format. i.e. "Yesterday, 2:30 pm" */
|
||||
#. time string in 12h format. i.e. "Yesterday, 2:30 pm"
|
||||
#: ../js/ui/components/telepathyClient.js:993
|
||||
#, no-c-format
|
||||
msgid "Yesterday, %l∶%M %p"
|
||||
msgstr "Onte, %H:%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm"
|
||||
#: ../js/ui/components/telepathyClient.js:1000
|
||||
#, no-c-format
|
||||
msgid "%A, %l∶%M %p"
|
||||
msgstr "%A, %l∶%M %p"
|
||||
|
||||
#. Translators: this is the month name and day number
|
||||
#. followed by a time string in 12h format.
|
||||
#. i.e. "May 25, 2:30 pm" */
|
||||
#. i.e. "May 25, 2:30 pm"
|
||||
#: ../js/ui/components/telepathyClient.js:1007
|
||||
#, no-c-format
|
||||
msgid "%B %d, %l∶%M %p"
|
||||
msgstr "%d de %B, %l∶%M %p"
|
||||
|
||||
#. Translators: this is the month name, day number, year
|
||||
#. number followed by a time string in 12h format.
|
||||
#. i.e. "May 25 2012, 2:30 pm"*/
|
||||
#. i.e. "May 25 2012, 2:30 pm"
|
||||
#: ../js/ui/components/telepathyClient.js:1013
|
||||
#, no-c-format
|
||||
msgid "%B %d %Y, %l∶%M %p"
|
||||
msgstr "%d de %B de %Y, %l∶%M %p"
|
||||
|
||||
#. Translators: this is the other person changing their old IM name to their new
|
||||
#. IM name. */
|
||||
#. IM name.
|
||||
#: ../js/ui/components/telepathyClient.js:1045
|
||||
#, javascript-format
|
||||
msgid "%s is now known as %s"
|
||||
msgstr "Agora %s chámase %s"
|
||||
|
||||
#. translators: argument is a room name like
|
||||
#. * room@jabber.org for example. */
|
||||
#. * room@jabber.org for example.
|
||||
#: ../js/ui/components/telepathyClient.js:1149
|
||||
#, javascript-format
|
||||
msgid "Invitation to %s"
|
||||
@ -807,7 +838,7 @@ msgstr "Convite a %s"
|
||||
|
||||
#. translators: first argument is the name of a contact and the second
|
||||
#. * one the name of a room. "Alice is inviting you to join room@jabber.org
|
||||
#. * for example. */
|
||||
#. * for example.
|
||||
#: ../js/ui/components/telepathyClient.js:1157
|
||||
#, javascript-format
|
||||
msgid "%s is inviting you to join %s"
|
||||
@ -826,19 +857,19 @@ msgstr "Rexeitar"
|
||||
msgid "Accept"
|
||||
msgstr "Aceptar"
|
||||
|
||||
#. translators: argument is a contact name like Alice for example. */
|
||||
#. translators: argument is a contact name like Alice for example.
|
||||
#: ../js/ui/components/telepathyClient.js:1184
|
||||
#, javascript-format
|
||||
msgid "Video call from %s"
|
||||
msgstr "Videochamada de %s"
|
||||
|
||||
#. translators: argument is a contact name like Alice for example. */
|
||||
#. translators: argument is a contact name like Alice for example.
|
||||
#: ../js/ui/components/telepathyClient.js:1187
|
||||
#, javascript-format
|
||||
msgid "Call from %s"
|
||||
msgstr "Chamada de %s"
|
||||
|
||||
#. translators: this is a button label (verb), not a noun */
|
||||
#. translators: this is a button label (verb), not a noun
|
||||
#: ../js/ui/components/telepathyClient.js:1201
|
||||
msgid "Answer"
|
||||
msgstr "Responder"
|
||||
@ -847,13 +878,13 @@ msgstr "Responder"
|
||||
#. * the contact's alias and the second one is the
|
||||
#. * file name. The string will be something
|
||||
#. * like: "Alice is sending you test.ogg"
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/components/telepathyClient.js:1222
|
||||
#, javascript-format
|
||||
msgid "%s is sending you %s"
|
||||
msgstr "%s esta enviándolle %s"
|
||||
|
||||
#. To translators: The parameter is the contact's alias */
|
||||
#. To translators: The parameter is the contact's alias
|
||||
#: ../js/ui/components/telepathyClient.js:1251
|
||||
#, javascript-format
|
||||
msgid "%s would like permission to see when you are online"
|
||||
@ -967,7 +998,7 @@ msgid "Internal error"
|
||||
msgstr "Erro interno"
|
||||
|
||||
#. translators: argument is the account name, like
|
||||
#. * name@jabber.org for example. */
|
||||
#. * name@jabber.org for example.
|
||||
#: ../js/ui/components/telepathyClient.js:1393
|
||||
#, javascript-format
|
||||
msgid "Unable to connect to %s"
|
||||
@ -981,7 +1012,7 @@ msgstr "Ver conta"
|
||||
msgid "Unknown reason"
|
||||
msgstr "Razón descoñecida"
|
||||
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:228
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:154
|
||||
msgid "Windows"
|
||||
msgstr "Xanelas"
|
||||
|
||||
@ -989,6 +1020,8 @@ msgstr "Xanelas"
|
||||
msgid "Show Applications"
|
||||
msgstr "Mostrar aplicativos"
|
||||
|
||||
#. Translators: this is the name of the dock/favorites area on
|
||||
#. the left of the overview
|
||||
#: ../js/ui/dash.js:445
|
||||
msgid "Dash"
|
||||
msgstr "Taboleiro"
|
||||
@ -1007,91 +1040,91 @@ msgstr "Preferencias de data e hora"
|
||||
|
||||
#. Translators: This is the date format to use when the calendar popup is
|
||||
#. * shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/dateMenu.js:204
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%a, %e de %B, %Y"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:66
|
||||
#: ../js/ui/endSessionDialog.js:64
|
||||
#, javascript-format
|
||||
msgctxt "title"
|
||||
msgid "Log Out %s"
|
||||
msgstr "Saír da sesión %s"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#: ../js/ui/endSessionDialog.js:65
|
||||
msgctxt "title"
|
||||
msgid "Log Out"
|
||||
msgstr "Saír da sesión"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:69
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#, javascript-format
|
||||
msgid "%s will be logged out automatically in %d second."
|
||||
msgid_plural "%s will be logged out automatically in %d seconds."
|
||||
msgstr[0] "Vaise pechar a sesión de %s en %d segundo."
|
||||
msgstr[1] "Vaise pechar a sesión de %s en %d segundos."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:74
|
||||
#: ../js/ui/endSessionDialog.js:72
|
||||
#, javascript-format
|
||||
msgid "You will be logged out automatically in %d second."
|
||||
msgid_plural "You will be logged out automatically in %d seconds."
|
||||
msgstr[0] "A súa sesión pecharase automaticamente en %d segundo."
|
||||
msgstr[1] "A súa sesión pecharase automaticamente en %d segundos."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:80
|
||||
#: ../js/ui/endSessionDialog.js:78
|
||||
msgctxt "button"
|
||||
msgid "Log Out"
|
||||
msgstr "Saír da sesión"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:86
|
||||
#: ../js/ui/endSessionDialog.js:84
|
||||
msgctxt "title"
|
||||
msgid "Power Off"
|
||||
msgstr "Apagar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "Instalar anovacións e apagar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:89
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#, javascript-format
|
||||
msgid "The system will power off automatically in %d second."
|
||||
msgid_plural "The system will power off automatically in %d seconds."
|
||||
msgstr[0] "O sistema apagarase automaticamente en %d segundo."
|
||||
msgstr[1] "O sistema apagarase automaticamente en %d segundos."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:93
|
||||
#: ../js/ui/endSessionDialog.js:91
|
||||
msgctxt "checkbox"
|
||||
msgid "Install pending software updates"
|
||||
msgstr "Instalar anovacións de software pendentes"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:96 ../js/ui/endSessionDialog.js:113
|
||||
#: ../js/ui/endSessionDialog.js:94 ../js/ui/endSessionDialog.js:111
|
||||
msgctxt "button"
|
||||
msgid "Restart"
|
||||
msgstr "Reiniciar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:98
|
||||
#: ../js/ui/endSessionDialog.js:96
|
||||
msgctxt "button"
|
||||
msgid "Power Off"
|
||||
msgstr "Apagar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#: ../js/ui/endSessionDialog.js:103
|
||||
msgctxt "title"
|
||||
msgid "Restart"
|
||||
msgstr "Reiniciar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:107
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#, javascript-format
|
||||
msgid "The system will restart automatically in %d second."
|
||||
msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgstr[0] "O sistema reiniciarase automaticamente en %d segundo."
|
||||
msgstr[1] "O sistema reiniciarase automaticamente en %d segundos."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "Reiniciar e instalar actualizacións"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:123
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, javascript-format
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural ""
|
||||
@ -1103,41 +1136,41 @@ msgstr[1] ""
|
||||
"O sistema reiniciarase automaticamente e instalará as actualizacións en %d "
|
||||
"segundos."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
msgid "Restart & Install"
|
||||
msgstr "Reiniciar e instalar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:130
|
||||
#: ../js/ui/endSessionDialog.js:128
|
||||
msgctxt "button"
|
||||
msgid "Install & Power Off"
|
||||
msgstr "Instalar e apagar"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:131
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
msgctxt "checkbox"
|
||||
msgid "Power off after updates are installed"
|
||||
msgstr "Apagar despois de instalar as anovacións"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:315
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr "Con enerxía da batería: enchufar antes de instalar anovacións."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:332
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr "Algúns aplicativos están ocupados ou teñen traballo sen gardar."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:339
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
msgstr "Hai outros usuarios conectados."
|
||||
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login */
|
||||
#: ../js/ui/endSessionDialog.js:619
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login
|
||||
#: ../js/ui/endSessionDialog.js:640
|
||||
#, javascript-format
|
||||
msgid "%s (remote)"
|
||||
msgstr "%s (remoto)"
|
||||
|
||||
#. Translators: Console here refers to a tty like a VT console */
|
||||
#: ../js/ui/endSessionDialog.js:622
|
||||
#. Translators: Console here refers to a tty like a VT console
|
||||
#: ../js/ui/endSessionDialog.js:643
|
||||
#, javascript-format
|
||||
msgid "%s (console)"
|
||||
msgstr "%s (consola)"
|
||||
@ -1151,7 +1184,7 @@ msgstr "Instalar"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "Desexa descargar e instalar «%s» desde extensions.gnome.org?"
|
||||
|
||||
#: ../js/ui/keyboard.js:653 ../js/ui/status/keyboard.js:339
|
||||
#: ../js/ui/keyboard.js:692 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "Teclado"
|
||||
|
||||
@ -1159,7 +1192,7 @@ msgstr "Teclado"
|
||||
msgid "No extensions installed"
|
||||
msgstr "Non hai ningunha extensión instalada"
|
||||
|
||||
#. Translators: argument is an extension UUID. */
|
||||
#. Translators: argument is an extension UUID.
|
||||
#: ../js/ui/lookingGlass.js:697
|
||||
#, javascript-format
|
||||
msgid "%s has not emitted any errors."
|
||||
@ -1173,16 +1206,16 @@ msgstr "Ocultar erros"
|
||||
msgid "Show Errors"
|
||||
msgstr "Mostrar erros"
|
||||
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:62
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "Enabled"
|
||||
msgstr "Activado"
|
||||
|
||||
#. Translators: this is for a network device that cannot be activated
|
||||
#. because it's disabled by rfkill (airplane mode) */
|
||||
#. because it's disabled by rfkill (airplane mode)
|
||||
#. translators:
|
||||
#. * The device has been disabled
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:169
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
||||
msgid "Disabled"
|
||||
msgstr "Desactivado"
|
||||
@ -1207,39 +1240,39 @@ msgstr "Ver fonte"
|
||||
msgid "Web Page"
|
||||
msgstr "Páxina web"
|
||||
|
||||
#: ../js/ui/messageTray.js:1325
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "Abrir"
|
||||
|
||||
#: ../js/ui/messageTray.js:1332
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "Retirar"
|
||||
|
||||
#: ../js/ui/messageTray.js:1629
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "Notificacións"
|
||||
|
||||
#: ../js/ui/messageTray.js:1636
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "Limpar mensaxes"
|
||||
|
||||
#: ../js/ui/messageTray.js:1655
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "Preferencias das notificacións"
|
||||
|
||||
#: ../js/ui/messageTray.js:1708
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "Menú da bandexa do sistema"
|
||||
|
||||
#: ../js/ui/messageTray.js:1925
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "Non hai mensaxes"
|
||||
|
||||
#: ../js/ui/messageTray.js:1963
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "Bandexa de mensaxes"
|
||||
|
||||
#: ../js/ui/messageTray.js:2966
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "Información do sistema"
|
||||
|
||||
@ -1266,8 +1299,8 @@ msgstr "Vista xeral"
|
||||
#. Translators: this is the text displayed
|
||||
#. in the search entry when no search is
|
||||
#. active; it should not exceed ~30
|
||||
#. characters. */
|
||||
#: ../js/ui/overview.js:250
|
||||
#. characters.
|
||||
#: ../js/ui/overview.js:246
|
||||
msgid "Type to search…"
|
||||
msgstr "Escriba para buscar…"
|
||||
|
||||
@ -1276,7 +1309,7 @@ msgid "Quit"
|
||||
msgstr "Saír"
|
||||
|
||||
#. Translators: If there is no suitable word for "Activities"
|
||||
#. in your language, you can use the word for "Overview". */
|
||||
#. in your language, you can use the word for "Overview".
|
||||
#: ../js/ui/panel.js:567
|
||||
msgid "Activities"
|
||||
msgstr "Actividades"
|
||||
@ -1285,6 +1318,11 @@ msgstr "Actividades"
|
||||
msgid "Top Bar"
|
||||
msgstr "Barra superior"
|
||||
|
||||
#. Translators: this MUST be either "toggle-switch-us"
|
||||
#. (for toggle switches containing the English words
|
||||
#. "ON" and "OFF") or "toggle-switch-intl" (for toggle
|
||||
#. switches containing "◯" and "|"). Other values will
|
||||
#. simply result in invisible toggle switches.
|
||||
#: ../js/ui/popupMenu.js:269
|
||||
msgid "toggle-switch-us"
|
||||
msgstr "toggle-switch-intl"
|
||||
@ -1302,7 +1340,7 @@ msgid "Restarting…"
|
||||
msgstr "Restimando…"
|
||||
|
||||
#. Translators: This is a time format for a date in
|
||||
#. long format */
|
||||
#. long format
|
||||
#: ../js/ui/screenShield.js:88
|
||||
msgid "%A, %B %d"
|
||||
msgstr "%A, %d de %B"
|
||||
@ -1322,6 +1360,13 @@ msgstr "Bloquear"
|
||||
msgid "GNOME needs to lock the screen"
|
||||
msgstr "GNOME precisa bloquear a pantalla"
|
||||
|
||||
#. We could not become modal, so we can't activate the
|
||||
#. screenshield. The user is probably very upset at this
|
||||
#. point, but any application using global grabs is broken
|
||||
#. Just tell him to stop using this app
|
||||
#.
|
||||
#. XXX: another option is to kick the user into the gdm login
|
||||
#. screen, where we're not affected by grabs
|
||||
#: ../js/ui/screenShield.js:833 ../js/ui/screenShield.js:1304
|
||||
msgid "Unable to lock"
|
||||
msgstr "Non foi posíbel bloquear"
|
||||
@ -1330,27 +1375,27 @@ msgstr "Non foi posíbel bloquear"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "Un aplicativo impediu o bloqueo"
|
||||
|
||||
#: ../js/ui/search.js:606
|
||||
#: ../js/ui/search.js:594
|
||||
msgid "Searching…"
|
||||
msgstr "Buscando…"
|
||||
|
||||
#: ../js/ui/search.js:652
|
||||
#: ../js/ui/search.js:596
|
||||
msgid "No results."
|
||||
msgstr "Sen resultados."
|
||||
|
||||
#: ../js/ui/shellEntry.js:27
|
||||
#: ../js/ui/shellEntry.js:25
|
||||
msgid "Copy"
|
||||
msgstr "Copiar"
|
||||
|
||||
#: ../js/ui/shellEntry.js:32
|
||||
#: ../js/ui/shellEntry.js:30
|
||||
msgid "Paste"
|
||||
msgstr "Pegar"
|
||||
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
#: ../js/ui/shellEntry.js:97
|
||||
msgid "Show Text"
|
||||
msgstr "Mostrar texto"
|
||||
|
||||
#: ../js/ui/shellEntry.js:101
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
msgid "Hide Text"
|
||||
msgstr "Ocultar texto"
|
||||
|
||||
@ -1406,6 +1451,8 @@ msgstr "Contraste alto"
|
||||
msgid "Large Text"
|
||||
msgstr "Texto grande"
|
||||
|
||||
#. The Bluetooth menu only appears when Bluetooth is in use,
|
||||
#. so just statically build it with a "Turn Off" menu item.
|
||||
#: ../js/ui/status/bluetooth.js:49
|
||||
msgid "Bluetooth"
|
||||
msgstr "Bluetooth"
|
||||
@ -1436,23 +1483,27 @@ msgstr "Non conectado"
|
||||
msgid "Brightness"
|
||||
msgstr "Brillo"
|
||||
|
||||
#: ../js/ui/status/keyboard.js:406
|
||||
#: ../js/ui/status/keyboard.js:547
|
||||
msgid "Show Keyboard Layout"
|
||||
msgstr "Mostrar a distribución do teclado"
|
||||
|
||||
#: ../js/ui/status/location.js:56
|
||||
#: ../js/ui/status/location.js:65
|
||||
msgid "Location"
|
||||
msgstr "Localización"
|
||||
|
||||
#: ../js/ui/status/location.js:63 ../js/ui/status/location.js:167
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
msgid "Disable"
|
||||
msgstr "Desactivar"
|
||||
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/status/location.js:73
|
||||
msgid "Privacy Settings"
|
||||
msgstr "Preferencias da privacidade"
|
||||
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "In Use"
|
||||
msgstr "En uso"
|
||||
|
||||
#: ../js/ui/status/location.js:170
|
||||
#: ../js/ui/status/location.js:180
|
||||
msgid "Enable"
|
||||
msgstr "Activar"
|
||||
|
||||
@ -1470,7 +1521,7 @@ msgid "Connected"
|
||||
msgstr "Conectado"
|
||||
|
||||
#. Translators: this is for network devices that are physically present but are not
|
||||
#. under NetworkManager's control (and thus cannot be used in the menu) */
|
||||
#. under NetworkManager's control (and thus cannot be used in the menu)
|
||||
#: ../js/ui/status/network.js:463
|
||||
msgid "Unmanaged"
|
||||
msgstr "Sen xestionar"
|
||||
@ -1483,19 +1534,19 @@ msgstr "Desconectando…"
|
||||
msgid "Connecting"
|
||||
msgstr "Conectando"
|
||||
|
||||
#. Translators: this is for network connections that require some kind of key or password */
|
||||
#. Translators: this is for network connections that require some kind of key or password
|
||||
#: ../js/ui/status/network.js:474
|
||||
msgid "Authentication required"
|
||||
msgstr "Requírese autenticación"
|
||||
|
||||
#. Translators: this is for devices that require some kind of firmware or kernel
|
||||
#. module, which is missing */
|
||||
#. module, which is missing
|
||||
#: ../js/ui/status/network.js:482
|
||||
msgid "Firmware missing"
|
||||
msgstr "Falta o «firmware»"
|
||||
|
||||
#. Translators: this is for a network device that cannot be activated (for example it
|
||||
#. is disabled by rfkill, or it has no coverage */
|
||||
#. is disabled by rfkill, or it has no coverage
|
||||
#: ../js/ui/status/network.js:486
|
||||
msgid "Unavailable"
|
||||
msgstr "Non dispoñíbel"
|
||||
@ -1580,7 +1631,7 @@ msgstr "Punto wifi activo"
|
||||
msgid "connecting..."
|
||||
msgstr "conectando…"
|
||||
|
||||
#. Translators: this is for network connections that require some kind of key or password */
|
||||
#. Translators: this is for network connections that require some kind of key or password
|
||||
#: ../js/ui/status/network.js:1412
|
||||
msgid "authentication required"
|
||||
msgstr "requírese autenticación"
|
||||
@ -1617,15 +1668,19 @@ msgstr "Preferencias de enerxía"
|
||||
msgid "Fully Charged"
|
||||
msgstr "Carga completa"
|
||||
|
||||
#. 0 is reported when UPower does not have enough data
|
||||
#. to estimate battery life
|
||||
#: ../js/ui/status/power.js:72 ../js/ui/status/power.js:78
|
||||
msgid "Estimating…"
|
||||
msgstr "Estimando…"
|
||||
|
||||
#. Translators: this is <hours>:<minutes> Remaining (<percentage>)
|
||||
#: ../js/ui/status/power.js:86
|
||||
#, javascript-format
|
||||
msgid "%d∶%02d Remaining (%d%%)"
|
||||
msgstr "Faltan %d:%02d (%d%%)"
|
||||
|
||||
#. Translators: this is <hours>:<minutes> Until Full (<percentage>)
|
||||
#: ../js/ui/status/power.js:91
|
||||
#, javascript-format
|
||||
msgid "%d∶%02d Until Full (%d%%)"
|
||||
@ -1639,6 +1694,9 @@ msgstr "SAI"
|
||||
msgid "Battery"
|
||||
msgstr "Batería"
|
||||
|
||||
#. The menu only appears when airplane mode is on, so just
|
||||
#. statically build it as if it was on, rather than dynamically
|
||||
#. changing the menu contents.
|
||||
#: ../js/ui/status/rfkill.js:83
|
||||
msgid "Airplane Mode"
|
||||
msgstr "Modo avión"
|
||||
@ -1687,11 +1745,11 @@ msgstr "Iniciar sesión como outro usuario"
|
||||
msgid "Unlock Window"
|
||||
msgstr "Desbloquear xanela"
|
||||
|
||||
#: ../js/ui/viewSelector.js:232
|
||||
#: ../js/ui/viewSelector.js:158
|
||||
msgid "Applications"
|
||||
msgstr "Aplicativos"
|
||||
|
||||
#: ../js/ui/viewSelector.js:236
|
||||
#: ../js/ui/viewSelector.js:162
|
||||
msgid "Search"
|
||||
msgstr "Buscar"
|
||||
|
||||
@ -1706,7 +1764,7 @@ msgstr "Desexa manter estas preferencias de pantalla?"
|
||||
|
||||
#. Translators: this and the following message should be limited in lenght,
|
||||
#. to avoid ellipsizing the labels.
|
||||
#. */
|
||||
#.
|
||||
#: ../js/ui/windowManager.js:84
|
||||
msgid "Revert Settings"
|
||||
msgstr "Reverter preferencias"
|
||||
@ -1788,21 +1846,21 @@ msgstr[1] "%u entradas"
|
||||
msgid "System Sounds"
|
||||
msgstr "Sons do sistema"
|
||||
|
||||
#: ../src/main.c:371
|
||||
#: ../src/main.c:373
|
||||
msgid "Print version"
|
||||
msgstr "Imprimir versión"
|
||||
|
||||
#: ../src/main.c:377
|
||||
#: ../src/main.c:379
|
||||
msgid "Mode used by GDM for login screen"
|
||||
msgstr "Modo usado por GDM para a pantalla de inicio"
|
||||
|
||||
#: ../src/main.c:383
|
||||
#: ../src/main.c:385
|
||||
msgid "Use a specific mode, e.g. \"gdm\" for login screen"
|
||||
msgstr ""
|
||||
"Usar un modo específico, por exemplo, «gdm» para a pantalla de inicio de "
|
||||
"sesión"
|
||||
|
||||
#: ../src/main.c:389
|
||||
#: ../src/main.c:391
|
||||
msgid "List possible modes"
|
||||
msgstr "Listar os modos posíbeis"
|
||||
|
||||
|
242
po/gu.po
242
po/gu.po
@ -9,8 +9,8 @@ msgstr ""
|
||||
"Project-Id-Version: gu\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug."
|
||||
"cgi?product=gnome-shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-08-26 07:37+0000\n"
|
||||
"PO-Revision-Date: 2014-09-08 12:52+0530\n"
|
||||
"POT-Creation-Date: 2014-10-01 07:39+0000\n"
|
||||
"PO-Revision-Date: 2014-10-01 15:51+0530\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: American English <kde-i18n-doc@kde.org>\n"
|
||||
"Language: \n"
|
||||
@ -63,7 +63,7 @@ msgstr "GNOME Shell ઍક્સટેન્શનને રૂપરેખા
|
||||
|
||||
#: ../data/gnome-shell-wayland.desktop.in.in.h:1
|
||||
msgid "GNOME Shell (wayland compositor)"
|
||||
msgstr ""
|
||||
msgstr "GNOME Shell (વેલૅન્ડ કંપોઝીટર)"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:1
|
||||
msgid "Enable internal tools useful for developers and testers from Alt-F2"
|
||||
@ -76,12 +76,10 @@ msgid ""
|
||||
msgstr "Alt-F2 સંવાદની મદદથી આંતરિક ડિબગીંગ અને મોનિટરીંગ સાધનોને વાપરવા પરવાનગી આપે છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
||||
#| msgid "Uuids of extensions to enable"
|
||||
msgid "UUIDs of extensions to enable"
|
||||
msgstr "સક્રિય કરવા માટે એક્સટેન્શનનું UUIDs"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:4
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "GNOME Shell extensions have a uuid property; this key lists extensions "
|
||||
#| "which should be loaded. Any extension that wants to be loaded needs to be "
|
||||
@ -93,14 +91,14 @@ msgid ""
|
||||
"list. You can also manipulate this list with the EnableExtension and "
|
||||
"DisableExtension D-Bus methods on org.gnome.Shell."
|
||||
msgstr ""
|
||||
"GNOME Shell ઍક્સટેન્શન પાસે uuid ગુણધર્મ છે; આ કી ઍક્સટેન્શનની યાદી કરે છે કે જેને લાવેલ હોવુ "
|
||||
"GNOME Shell ઍક્સટેન્શન પાસે UUID ગુણધર્મ છે; આ કી ઍક્સટેન્શનની યાદી કરે છે કે જેને લાવેલ હોવુ "
|
||||
"જોઇએ. કોઇપણ ઍક્સટેન્શન કે જેને આ યાદીમાં લાવવાની જરૂર છે. તમે પણ org.gnome.Shell પર "
|
||||
"EnableExtension અને DisableExtension DBus પદ્દતિઓ સાથે આ યાદીને કુશળતાપૂર્વક વાપરી "
|
||||
"શકો છો."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
|
||||
msgid "Disables the validation of extension version compatibility"
|
||||
msgstr ""
|
||||
msgstr "ઍક્સટેન્શન આવૃત્તિ સુસંગતતાની માન્યતાને નિષ્ક્રિય કરે છે"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:6
|
||||
msgid ""
|
||||
@ -108,6 +106,9 @@ msgid ""
|
||||
"running version. Enabling this option will disable this check and try to "
|
||||
"load all extensions regardless of the versions they claim to support."
|
||||
msgstr ""
|
||||
"GNOME Shell એ ફક્ત ઍક્સટેન્શનને લાવશે કે જે હાલની ચાલતી આવૃત્તિને આધાર આપવા માટે દાવો કરે છે. "
|
||||
"આ વિકલ્પને સક્રિય કરવાનું આ ચકાસણીને નિષ્ક્રિય કરશે અને આવૃત્તિને બાદ કરતા બધા ઍક્સટેન્શનને "
|
||||
"લાવવાનો પ્રયત્ન કરે છે જે તેઓ આધાર આપવા માટે દાવો કરે છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
|
||||
msgid "List of desktop file IDs for favorite applications"
|
||||
@ -121,7 +122,7 @@ msgstr "કાર્યક્રમો આ ઓળખકર્તાઓ સાથ
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:9
|
||||
msgid "App Picker View"
|
||||
msgstr ""
|
||||
msgstr "કાર્યક્રમ પસંદકર્તા દૃશ્ય"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:10
|
||||
msgid "Index of the currently selected view in the application picker."
|
||||
@ -136,12 +137,10 @@ msgid "History for the looking glass dialog"
|
||||
msgstr "ગ્લાસ સંવાદને જોવા માટે ઇતિહાસ"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:13
|
||||
#| msgid "Always show the 'Log out' menuitem in the user menu."
|
||||
msgid "Always show the 'Log out' menu item in the user menu."
|
||||
msgstr "વપરાશકર્તા મેનુમાં હંમેશા 'બહાર નીકળો' મેનુ વસ્તુને બતાવો."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:14
|
||||
#, fuzzy
|
||||
#| msgid ""
|
||||
#| "This key overrides the automatic hiding of the 'Log out' menuitem in "
|
||||
#| "single-user, single-session situations."
|
||||
@ -149,7 +148,8 @@ msgid ""
|
||||
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
|
||||
"user, single-session situations."
|
||||
msgstr ""
|
||||
"આ કી એકજ વપરાશકર્તામાં 'બહાર નીકળો' મેનુવસ્તુને આપમેળે છુપાવવા આ કીને ઓવરરાઇડ કરવામાં "
|
||||
"આ કી એકજ વપરાશકર્તા, એકજ-સત્ર પરિસ્થિતિઓમાં 'બહાર નીકળો' મેનુવસ્તુને આપમેળે છુપાવવા આ કીને "
|
||||
"ઓવરરાઇડ કરવામાં "
|
||||
"આવી છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:15
|
||||
@ -192,12 +192,10 @@ msgid "Keybinding to open the \"Show Applications\" view of the Activities Overv
|
||||
msgstr "પ્રવૃત્તિ ઝાંખીનાં \"કાર્યક્રમો બતાવો\" દૃશ્યને ખોલવા માટે કિબાઇન્ડીંગ."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
|
||||
#| msgid "Keybinding to open the \"Show Applications\" view"
|
||||
msgid "Keybinding to open the overview"
|
||||
msgstr "ઝાંખીને ખોલવા માટે કિબાઇન્ડીંગ"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:24
|
||||
#| msgid "Keybinding to open the \"Show Applications\" view"
|
||||
msgid "Keybinding to open the Activities Overview."
|
||||
msgstr "પ્રવૃત્તિ ઝાંખીને ખોલવા માટે કિબાઇન્ડીંગ"
|
||||
|
||||
@ -219,7 +217,7 @@ msgstr "સક્રિય સૂચના પર પ્રકાશ નાં
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:29
|
||||
msgid "Keybinding that pauses and resumes all running tweens, for debugging purposes"
|
||||
msgstr ""
|
||||
msgstr "કીબાઇન્ડીંગ કે જે બધી ચાલતી ટ્વીનને અટકાવે છે અને પાછુ લાવે છે, ડિબગીંગ હેતુઓ માટે"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
|
||||
msgid "Which keyboard to use"
|
||||
@ -231,13 +229,15 @@ msgstr "વાપરવા માટે કિબોર્ડનો પ્રક
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:32
|
||||
msgid "Limit switcher to current workspace."
|
||||
msgstr ""
|
||||
msgstr "વર્તમાન કામ કરવાની જગ્યા માટે સ્વિચર મર્યાદિત કરી છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:33
|
||||
msgid ""
|
||||
"If true, only applications that have windows on the current workspace are "
|
||||
"shown in the switcher. Otherwise, all applications are included."
|
||||
msgstr ""
|
||||
"જો true હોય તો, ફક્ત કાર્યક્રમો કે જેની પાસે હાલની કાર્ય કરવાની જગ્યા પર વિન્ડો છે તે "
|
||||
"સ્વીચરમાં બતાવેલ છે. નહિંતો, બધા કાર્યક્રમનો સમાવેલ છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:34
|
||||
msgid "The application icon mode."
|
||||
@ -258,6 +258,8 @@ msgid ""
|
||||
"If true, only windows from the current workspace are shown in the switcher. "
|
||||
"Otherwise, all windows are included."
|
||||
msgstr ""
|
||||
"જો true હોય તો, હાલની કાર્ય કરવાની જગ્યામાંથી વિન્ડો સ્વીચરમાં બતાવેલ છે. નહિં તો, બધી "
|
||||
"વિન્ડોને સમાવેલ છે."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
|
||||
msgid "Attach modal dialog to the parent window"
|
||||
@ -281,24 +283,23 @@ msgstr "ફક્ત પ્રાથમિક મોનિટર પર કા
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:42
|
||||
msgid "Delay focus changes in mouse mode until the pointer stops moving"
|
||||
msgstr ""
|
||||
msgstr "માઉસ સ્થિતિમાં ફેરફારો કરવામાં વિલંબ જ્યાં સુધી પોઇંટર ખસેડવાનું બંધ થાય"
|
||||
|
||||
#: ../data/org.gnome.Shell.PortalHelper.desktop.in.h:1
|
||||
msgid "Captive Portal"
|
||||
msgstr ""
|
||||
msgstr "કૅપ્ટીવ પોર્ટલ"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:127
|
||||
#: ../js/extensionPrefs/main.js:123
|
||||
#, javascript-format
|
||||
msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "ત્યાં %s માટે પસંદગી સંવાદને લાવવામાં ભૂલ હતી:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:159
|
||||
#| msgid "Configure GNOME Shell Extensions"
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "GNOME Shell ઍક્સટેન્શન"
|
||||
|
||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:143
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:429
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:452
|
||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||
#: ../js/ui/status/network.js:915
|
||||
msgid "Cancel"
|
||||
@ -319,7 +320,6 @@ msgid "Sign In"
|
||||
msgstr "પ્રવેશો"
|
||||
|
||||
#: ../js/gdm/loginDialog.js:269
|
||||
#| msgid "Switch Session"
|
||||
msgid "Choose Session"
|
||||
msgstr "સત્ર પસંદ કરો"
|
||||
|
||||
@ -359,50 +359,47 @@ msgstr "આદેશનું પદચ્છેદન કરી શક્યા
|
||||
|
||||
#: ../js/misc/util.js:156
|
||||
#, javascript-format
|
||||
#| msgid "Execution of '%s' failed:"
|
||||
msgid "Execution of “%s” failed:"
|
||||
msgstr "“%s” ને અમલમાં મૂકવાનુ નિષ્ફળ:"
|
||||
|
||||
#: ../js/portalHelper/main.js:85
|
||||
#| msgid "Authentication Required"
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "વેબ સત્તાધિકરણ દિશામાન"
|
||||
|
||||
#: ../js/ui/appDisplay.js:660
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr "વારંવાર વપરાતા કાર્યક્રમો અહિંયા દેખાશે"
|
||||
|
||||
#: ../js/ui/appDisplay.js:771
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
msgstr "સામાન્ય"
|
||||
|
||||
#: ../js/ui/appDisplay.js:778
|
||||
#: ../js/ui/appDisplay.js:890
|
||||
msgid "All"
|
||||
msgstr "બધા"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1650
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "નવી વિન્ડો"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1673 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "પસંદીદાઓ માંથી દૂર કરો"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1679
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "પસંદીદાને ઉમેરો"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1688
|
||||
#| msgid "Show Text"
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "વિગતો બતાવો"
|
||||
|
||||
#: ../js/ui/appFavorites.js:122
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "%s ને તમારી પસંદીદામાં ઉમેરી દેવામાં આવ્યુ છે."
|
||||
|
||||
#: ../js/ui/appFavorites.js:156
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "%s ને તમારી પસંદીદામાંથી દૂર કરી દેવામાં આવ્યુ છે."
|
||||
@ -594,11 +591,11 @@ msgstr "%s સાથે ખોલો"
|
||||
msgid "Eject"
|
||||
msgstr "રદ કરો"
|
||||
|
||||
#: ../js/ui/components/keyring.js:93 ../js/ui/components/polkitAgent.js:285
|
||||
#: ../js/ui/components/keyring.js:94 ../js/ui/components/polkitAgent.js:285
|
||||
msgid "Password:"
|
||||
msgstr "પાસવર્ડ:"
|
||||
|
||||
#: ../js/ui/components/keyring.js:113
|
||||
#: ../js/ui/components/keyring.js:120
|
||||
msgid "Type again:"
|
||||
msgstr "ફરીથી પ્રયત્ન કરો:"
|
||||
|
||||
@ -637,9 +634,6 @@ msgstr "વાયરલેસ નેટવર્ક દ્દારાસત્
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:319
|
||||
#, javascript-format
|
||||
#| msgid ""
|
||||
#| "Passwords or encryption keys are required to access the wireless network "
|
||||
#| "'%s'."
|
||||
msgid ""
|
||||
"Passwords or encryption keys are required to access the wireless network "
|
||||
"“%s”."
|
||||
@ -675,7 +669,6 @@ msgstr "મોબાઇલ બ્રોડબેન્ડ નેટવર્ક
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:346
|
||||
#, javascript-format
|
||||
#| msgid "A password is required to connect to '%s'."
|
||||
msgid "A password is required to connect to “%s”."
|
||||
msgstr "પાસવર્ડ “%s” સાથે જોડાવા માટે જરૂરી છે."
|
||||
|
||||
@ -731,14 +724,12 @@ msgstr "%H∶%M"
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:960
|
||||
#| msgid "<b>Yesterday</b>, <b>%H:%M</b>"
|
||||
msgid "Yesterday, %H∶%M"
|
||||
msgstr "ગઇ કાલે, %H:%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 24h format. i.e. "Monday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:967
|
||||
#| msgid "%A, %B %d"
|
||||
msgid "%A, %H∶%M"
|
||||
msgstr "%A, %H∶%M"
|
||||
|
||||
@ -758,8 +749,6 @@ msgstr "%B %d %Y, %H∶%M"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:986
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%l:%M %p"
|
||||
msgid "%l∶%M %p"
|
||||
msgstr "%l∶%M %p"
|
||||
|
||||
@ -772,7 +761,6 @@ msgstr "ગઈકાલે ∶%l:%M %p"
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1000
|
||||
#| msgid "%a %l:%M %p"
|
||||
msgid "%A, %l∶%M %p"
|
||||
msgstr "%A, %l∶%M %p"
|
||||
|
||||
@ -780,7 +768,6 @@ msgstr "%A, %l∶%M %p"
|
||||
#. followed by a time string in 12h format.
|
||||
#. i.e. "May 25, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1007
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d, %l∶%M %p"
|
||||
msgstr "%B %d, %l∶%M %p"
|
||||
|
||||
@ -788,7 +775,6 @@ msgstr "%B %d, %l∶%M %p"
|
||||
#. number followed by a time string in 12h format.
|
||||
#. i.e. "May 25 2012, 2:30 pm"*/
|
||||
#: ../js/ui/components/telepathyClient.js:1013
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d %Y, %l∶%M %p"
|
||||
msgstr "%B %d %Y, %l∶%M %p"
|
||||
|
||||
@ -975,7 +961,7 @@ msgstr "ખાતામાં જુઓ"
|
||||
msgid "Unknown reason"
|
||||
msgstr "અજ્ઞાત કારણ"
|
||||
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:228
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:154
|
||||
msgid "Windows"
|
||||
msgstr "વિન્ડો"
|
||||
|
||||
@ -1006,131 +992,129 @@ msgstr "તારીખ અને સમય સુયોજનો"
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%A %B %e, %Y"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:66
|
||||
#: ../js/ui/endSessionDialog.js:64
|
||||
#, javascript-format
|
||||
msgctxt "title"
|
||||
msgid "Log Out %s"
|
||||
msgstr "%s માંથી બહાર નીકળો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#: ../js/ui/endSessionDialog.js:65
|
||||
msgctxt "title"
|
||||
msgid "Log Out"
|
||||
msgstr "બહાર નીકળો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:69
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#, javascript-format
|
||||
msgid "%s will be logged out automatically in %d second."
|
||||
msgid_plural "%s will be logged out automatically in %d seconds."
|
||||
msgstr[0] "%s એ %d સેકંડમાં આપમેળે બહાર નીકળી જશે."
|
||||
msgstr[1] "%s એ %d સેકંડોમાં આપમેળે બહાર નીકળી જશે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:74
|
||||
#: ../js/ui/endSessionDialog.js:72
|
||||
#, javascript-format
|
||||
msgid "You will be logged out automatically in %d second."
|
||||
msgid_plural "You will be logged out automatically in %d seconds."
|
||||
msgstr[0] "તમે %d સેકંડમાં આપમેળે બહાર નીકળી જશે."
|
||||
msgstr[1] "તમે %d સેકંડોમાં આપમેળે બહાર નીકળી જશે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:80
|
||||
#: ../js/ui/endSessionDialog.js:78
|
||||
msgctxt "button"
|
||||
msgid "Log Out"
|
||||
msgstr "બહાર નીકળો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:86
|
||||
#: ../js/ui/endSessionDialog.js:84
|
||||
msgctxt "title"
|
||||
msgid "Power Off"
|
||||
msgstr "પાવર બંધ"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#| msgid "Install Updates & Restart"
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "સુધારા સ્થાપિત કરો અને પાવર બંધ કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:89
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#, javascript-format
|
||||
msgid "The system will power off automatically in %d second."
|
||||
msgid_plural "The system will power off automatically in %d seconds."
|
||||
msgstr[0] "સિસ્ટમ %d સેકંડમાં આપમેળે પાવર બંધ થઇ જશે."
|
||||
msgstr[1] "સિસ્ટમ %d સેકંડમાં આપમેળે પાવર બંધ થઇ જશે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:93
|
||||
#: ../js/ui/endSessionDialog.js:91
|
||||
msgctxt "checkbox"
|
||||
msgid "Install pending software updates"
|
||||
msgstr "બાકી રહેલા સોફ્ટવેર સુધારાને સ્થાપિત કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:96 ../js/ui/endSessionDialog.js:113
|
||||
#: ../js/ui/endSessionDialog.js:94 ../js/ui/endSessionDialog.js:111
|
||||
msgctxt "button"
|
||||
msgid "Restart"
|
||||
msgstr "પુન:શરૂ કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:98
|
||||
#: ../js/ui/endSessionDialog.js:96
|
||||
msgctxt "button"
|
||||
msgid "Power Off"
|
||||
msgstr "પાવર બંધ"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#: ../js/ui/endSessionDialog.js:103
|
||||
msgctxt "title"
|
||||
msgid "Restart"
|
||||
msgstr "પુન:શરૂ કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:107
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#, javascript-format
|
||||
msgid "The system will restart automatically in %d second."
|
||||
msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgstr[0] "સિસ્ટમ %d સેકંડમાં આપમેળે પુન:શરૂ થઇ જશે."
|
||||
msgstr[1] "સિસ્ટમ %d સેકંડોમાં આપમેળે પુન:શરૂ થઇ જશે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#| msgid "Install Updates & Restart"
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "સુધારા સ્થાપિત કરો અને પુન:શરૂ કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:123
|
||||
#, fuzzy, javascript-format
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, javascript-format
|
||||
#| msgid "The system will restart automatically in %d second."
|
||||
#| msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural "The system will automatically restart and install updates in %d seconds."
|
||||
msgstr[0] "સિસ્ટમ %d સેકંડમાં આપમેળે પુન:શરૂ થઇ જશે."
|
||||
msgstr[1] "સિસ્ટમ %d સેકંડોમાં આપમેળે પુન:શરૂ થઇ જશે."
|
||||
msgstr[0] "સિસ્ટમ %d સેકંડમાં આપમેળે સુધારાઓને પુન:શરૂ અને સ્થાપિત કરશે."
|
||||
msgstr[1] "સિસ્ટમ %d સેકંડોમાં આપમેળે સુધારાઓને પુન:શરૂ અને સ્થાપિત કરશે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
msgid "Restart & Install"
|
||||
msgstr "પુન:શરૂ કરો અને સ્થાપિત કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:130
|
||||
#: ../js/ui/endSessionDialog.js:128
|
||||
msgctxt "button"
|
||||
msgid "Install & Power Off"
|
||||
msgstr "સ્થાપિત કરો અને પાવર બંધ "
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:131
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
msgctxt "checkbox"
|
||||
msgid "Power off after updates are installed"
|
||||
msgstr "સુધારા સ્થાપિત થાય પછી પાવર બંધ કરો"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:315
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr "બેટરી પાવર પર ચાલી રહ્યુ છે: મહેરબાની કરીને સુધારા સ્થાપિત કરતા પહેલાં પ્લગઇન કરો."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:332
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr "અમુક કાર્યક્રમો વ્યસ્ત છે અથવા તેની પાસે અસંગ્રહેલ કામ છે."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:339
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
msgstr "બીજા વપરાશકર્તાઓ પ્રવેશેલ છે."
|
||||
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login */
|
||||
#: ../js/ui/endSessionDialog.js:619
|
||||
#: ../js/ui/endSessionDialog.js:640
|
||||
#, javascript-format
|
||||
msgid "%s (remote)"
|
||||
msgstr "%s (દૂરસ્થ)"
|
||||
|
||||
#. Translators: Console here refers to a tty like a VT console */
|
||||
#: ../js/ui/endSessionDialog.js:622
|
||||
#: ../js/ui/endSessionDialog.js:643
|
||||
#, javascript-format
|
||||
msgid "%s (console)"
|
||||
msgstr "%s (કન્સોલ)"
|
||||
@ -1141,11 +1125,10 @@ msgstr "સ્થાપિત કરો"
|
||||
|
||||
#: ../js/ui/extensionDownloader.js:204
|
||||
#, javascript-format
|
||||
#| msgid "Download and install '%s' from extensions.gnome.org?"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "extensions.gnome.org માંથી “%s” ને સ્થાપિત અને ડાઉનલોડ કરો?"
|
||||
|
||||
#: ../js/ui/keyboard.js:653 ../js/ui/status/keyboard.js:339
|
||||
#: ../js/ui/keyboard.js:700 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "કિબોર્ડ"
|
||||
|
||||
@ -1167,8 +1150,8 @@ msgstr "ભૂલો છુપાડો"
|
||||
msgid "Show Errors"
|
||||
msgstr "ભૂલો બતાવો"
|
||||
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:62
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "Enabled"
|
||||
msgstr "સક્રિય"
|
||||
|
||||
@ -1176,7 +1159,7 @@ msgstr "સક્રિય"
|
||||
#. because it's disabled by rfkill (airplane mode) */
|
||||
#. translators:
|
||||
#. * The device has been disabled
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:169
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
||||
msgid "Disabled"
|
||||
msgstr "નિષ્ક્રિય"
|
||||
@ -1201,39 +1184,39 @@ msgstr "સ્ત્રોત દર્શાવો"
|
||||
msgid "Web Page"
|
||||
msgstr "વેબ પાનું"
|
||||
|
||||
#: ../js/ui/messageTray.js:1325
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "ખોલો"
|
||||
|
||||
#: ../js/ui/messageTray.js:1332
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "દૂર કરો"
|
||||
|
||||
#: ../js/ui/messageTray.js:1629
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "સૂચનાઓ"
|
||||
|
||||
#: ../js/ui/messageTray.js:1636
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "સંદેશા સાફ કરો"
|
||||
|
||||
#: ../js/ui/messageTray.js:1655
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "સૂચના સુયોજનો"
|
||||
|
||||
#: ../js/ui/messageTray.js:1708
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "ટ્રે મેનુ"
|
||||
|
||||
#: ../js/ui/messageTray.js:1925
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "સંદેશા નથી"
|
||||
|
||||
#: ../js/ui/messageTray.js:1963
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "સંદેશો ટ્રે"
|
||||
|
||||
#: ../js/ui/messageTray.js:2966
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "સિસ્ટમ જાણકારી"
|
||||
|
||||
@ -1261,7 +1244,7 @@ msgstr "ઝાંખી"
|
||||
#. in the search entry when no search is
|
||||
#. active; it should not exceed ~30
|
||||
#. characters. */
|
||||
#: ../js/ui/overview.js:250
|
||||
#: ../js/ui/overview.js:246
|
||||
msgid "Type to search…"
|
||||
msgstr "શોધવા માટે ટાઇપ કરો..."
|
||||
|
||||
@ -1292,7 +1275,6 @@ msgid "Close"
|
||||
msgstr "બંધ કરો"
|
||||
|
||||
#: ../js/ui/runDialog.js:277
|
||||
#| msgid "Estimating…"
|
||||
msgid "Restarting…"
|
||||
msgstr "પુન:શરૂ કરી રહ્યા છે…"
|
||||
|
||||
@ -1325,27 +1307,27 @@ msgstr "તાળુ મારવામાં અસમર્થ"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "તાળુ કાર્યક્રમ દ્દારા બ્લોક થયેલ છે"
|
||||
|
||||
#: ../js/ui/search.js:606
|
||||
#: ../js/ui/search.js:607
|
||||
msgid "Searching…"
|
||||
msgstr "શોધી રહ્યા છે..."
|
||||
|
||||
#: ../js/ui/search.js:652
|
||||
#: ../js/ui/search.js:609
|
||||
msgid "No results."
|
||||
msgstr "પરિણામો નથી."
|
||||
|
||||
#: ../js/ui/shellEntry.js:27
|
||||
#: ../js/ui/shellEntry.js:25
|
||||
msgid "Copy"
|
||||
msgstr "નકલ કરો"
|
||||
|
||||
#: ../js/ui/shellEntry.js:32
|
||||
#: ../js/ui/shellEntry.js:30
|
||||
msgid "Paste"
|
||||
msgstr "ચોંટાડો"
|
||||
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
#: ../js/ui/shellEntry.js:97
|
||||
msgid "Show Text"
|
||||
msgstr "લખાણ બતાવો"
|
||||
|
||||
#: ../js/ui/shellEntry.js:101
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
msgid "Hide Text"
|
||||
msgstr "લખાણ છુપાડો"
|
||||
|
||||
@ -1418,14 +1400,12 @@ msgstr "બ્લુટુથ સુયોજનો"
|
||||
|
||||
#: ../js/ui/status/bluetooth.js:104
|
||||
#, javascript-format
|
||||
#| msgid "Connected (private)"
|
||||
msgid "%d Connected Device"
|
||||
msgid_plural "%d Connected Devices"
|
||||
msgstr[0] "%d જોડાયેલ ઉપકરણ"
|
||||
msgstr[1] "%d જોડાયેલ ઉપકરણો"
|
||||
|
||||
#: ../js/ui/status/bluetooth.js:106 ../js/ui/status/network.js:1309
|
||||
#| msgid "Connect"
|
||||
msgid "Not Connected"
|
||||
msgstr "જોડાયેલ નથી"
|
||||
|
||||
@ -1433,26 +1413,28 @@ msgstr "જોડાયેલ નથી"
|
||||
msgid "Brightness"
|
||||
msgstr "તેજસ્વિતા"
|
||||
|
||||
#: ../js/ui/status/keyboard.js:406
|
||||
#: ../js/ui/status/keyboard.js:547
|
||||
msgid "Show Keyboard Layout"
|
||||
msgstr "કીબોર્ડ લેઆઉટને બતાવો"
|
||||
|
||||
#: ../js/ui/status/location.js:56
|
||||
#| msgid "Notifications"
|
||||
#: ../js/ui/status/location.js:65
|
||||
msgid "Location"
|
||||
msgstr "સ્થાન"
|
||||
|
||||
#: ../js/ui/status/location.js:63 ../js/ui/status/location.js:167
|
||||
#| msgid "Disabled"
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
msgid "Disable"
|
||||
msgstr "નિષ્ક્રિય"
|
||||
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "ખાનગી સુયોજનો"
|
||||
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "In Use"
|
||||
msgstr "વપરાશમાં"
|
||||
|
||||
#: ../js/ui/status/location.js:170
|
||||
#| msgid "Enabled"
|
||||
#: ../js/ui/status/location.js:180
|
||||
msgid "Enable"
|
||||
msgstr "સક્રિય"
|
||||
|
||||
@ -1462,42 +1444,35 @@ msgstr "<અજ્ઞાત>"
|
||||
|
||||
#: ../js/ui/status/network.js:457 ../js/ui/status/network.js:1307
|
||||
#: ../js/ui/status/network.js:1511
|
||||
#| msgid "Offline"
|
||||
msgid "Off"
|
||||
msgstr "બંધ"
|
||||
|
||||
#: ../js/ui/status/network.js:459
|
||||
#| msgid "Connect"
|
||||
msgid "Connected"
|
||||
msgstr "જોડાયેલ"
|
||||
|
||||
#. Translators: this is for network devices that are physically present but are not
|
||||
#. under NetworkManager's control (and thus cannot be used in the menu) */
|
||||
#: ../js/ui/status/network.js:463
|
||||
#| msgid "unmanaged"
|
||||
msgid "Unmanaged"
|
||||
msgstr "સંચાલિત થયેલ નથી"
|
||||
|
||||
#: ../js/ui/status/network.js:465
|
||||
#| msgid "disconnecting..."
|
||||
msgid "Disconnecting"
|
||||
msgstr "જોડાઇ તૂટી રહ્યુ છે"
|
||||
|
||||
#: ../js/ui/status/network.js:471 ../js/ui/status/network.js:1301
|
||||
#| msgid "Connection"
|
||||
msgid "Connecting"
|
||||
msgstr "જોડાઇ રહ્યા છે"
|
||||
|
||||
#. Translators: this is for network connections that require some kind of key or password */
|
||||
#: ../js/ui/status/network.js:474
|
||||
#| msgid "authentication required"
|
||||
msgid "Authentication required"
|
||||
msgstr "સત્તાધિકરણ જરૂરી"
|
||||
|
||||
#. Translators: this is for devices that require some kind of firmware or kernel
|
||||
#. module, which is missing */
|
||||
#: ../js/ui/status/network.js:482
|
||||
#| msgid "firmware missing"
|
||||
msgid "Firmware missing"
|
||||
msgstr "ફર્મવેર ગેરહાજર"
|
||||
|
||||
@ -1512,17 +1487,14 @@ msgid "Connection failed"
|
||||
msgstr "જોડાણ નિષ્ફળ"
|
||||
|
||||
#: ../js/ui/status/network.js:504
|
||||
#| msgid "Settings"
|
||||
msgid "Wired Settings"
|
||||
msgstr "વાયર થયેલ સુયોજનો"
|
||||
|
||||
#: ../js/ui/status/network.js:546 ../js/ui/status/network.js:624
|
||||
#| msgid "Mobile broadband"
|
||||
msgid "Mobile Broadband Settings"
|
||||
msgstr "મોબાઇલ બ્રોડબેન્ડ સુયોજનો"
|
||||
|
||||
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1305
|
||||
#| msgid "hardware disabled"
|
||||
msgid "Hardware Disabled"
|
||||
msgstr "હાર્ડવેર નિષ્ક્રિય"
|
||||
|
||||
@ -1555,31 +1527,26 @@ msgid "Turn On Wi-Fi"
|
||||
msgstr "Wi-Fi ચાલુ કરો"
|
||||
|
||||
#: ../js/ui/status/network.js:851
|
||||
#| msgid "Network"
|
||||
msgid "Wi-Fi Networks"
|
||||
msgstr "Wi-Fi નેટવર્ક"
|
||||
|
||||
#: ../js/ui/status/network.js:853
|
||||
#| msgid "Enable networking"
|
||||
msgid "Select a network"
|
||||
msgstr "નેટવર્ક પસંદ કરો"
|
||||
|
||||
#: ../js/ui/status/network.js:882
|
||||
#| msgid "Network"
|
||||
msgid "No Networks"
|
||||
msgstr "નેટવર્ક નથી"
|
||||
|
||||
#: ../js/ui/status/network.js:903 ../js/ui/status/rfkill.js:112
|
||||
msgid "Use hardware switch to turn off"
|
||||
msgstr ""
|
||||
msgstr "બંધ કરવા માટે હાર્ડવેર સ્વીચને વાપરો"
|
||||
|
||||
#: ../js/ui/status/network.js:1173
|
||||
#| msgid "Network"
|
||||
msgid "Select Network"
|
||||
msgstr "નેટવર્ક પસંદ કરો"
|
||||
|
||||
#: ../js/ui/status/network.js:1179
|
||||
#| msgid "Settings"
|
||||
msgid "Wi-Fi Settings"
|
||||
msgstr "Wi-Fi સુયોજનો"
|
||||
|
||||
@ -1609,7 +1576,6 @@ msgid "Network Settings"
|
||||
msgstr "નેટવર્ક સુયોજનો"
|
||||
|
||||
#: ../js/ui/status/network.js:1482
|
||||
#| msgid "Settings"
|
||||
msgid "VPN Settings"
|
||||
msgstr "VPN સુયોજનો"
|
||||
|
||||
@ -1645,7 +1611,7 @@ msgstr "%d∶%02d બાકી રહેલ છે (%d%%)"
|
||||
#: ../js/ui/status/power.js:91
|
||||
#, javascript-format
|
||||
msgid "%d∶%02d Until Full (%d%%)"
|
||||
msgstr ""
|
||||
msgstr "%d∶%02d જ્યાં સુધી સંપૂર્ણ થાય (%d%%)"
|
||||
|
||||
#: ../js/ui/status/power.js:119
|
||||
msgid "UPS"
|
||||
@ -1660,7 +1626,6 @@ msgid "Airplane Mode"
|
||||
msgstr "ઍરપ્લેન સ્થિતિ"
|
||||
|
||||
#: ../js/ui/status/rfkill.js:85
|
||||
#| msgid "Open"
|
||||
msgid "On"
|
||||
msgstr "ચાલુ"
|
||||
|
||||
@ -1674,7 +1639,7 @@ msgstr "બહાર નીકળો"
|
||||
|
||||
#: ../js/ui/status/system.js:341
|
||||
msgid "Orientation Lock"
|
||||
msgstr ""
|
||||
msgstr "દિશા તાળુ"
|
||||
|
||||
#: ../js/ui/status/system.js:349
|
||||
msgid "Suspend"
|
||||
@ -1704,17 +1669,16 @@ msgstr "બીજા વપરાશકર્તા તરીકે પ્રવ
|
||||
msgid "Unlock Window"
|
||||
msgstr "વિન્ડોનું તાળુ ખોલો"
|
||||
|
||||
#: ../js/ui/viewSelector.js:232
|
||||
#: ../js/ui/viewSelector.js:158
|
||||
msgid "Applications"
|
||||
msgstr "કાર્યક્રમો"
|
||||
|
||||
#: ../js/ui/viewSelector.js:236
|
||||
#: ../js/ui/viewSelector.js:162
|
||||
msgid "Search"
|
||||
msgstr "શોધો"
|
||||
|
||||
#: ../js/ui/windowAttentionHandler.js:19
|
||||
#, javascript-format
|
||||
#| msgid "'%s' is ready"
|
||||
msgid "“%s” is ready"
|
||||
msgstr "“%s” તૈયાર છે"
|
||||
|
||||
@ -1726,20 +1690,19 @@ msgstr "શું તમને આ દર્શાવ સુયોજનોન
|
||||
#. to avoid ellipsizing the labels.
|
||||
#. */
|
||||
#: ../js/ui/windowManager.js:84
|
||||
#| msgid "Power Settings"
|
||||
msgid "Revert Settings"
|
||||
msgstr "સુયોજનોને પાછા લાવો"
|
||||
|
||||
#: ../js/ui/windowManager.js:88
|
||||
msgid "Keep Changes"
|
||||
msgstr ""
|
||||
msgstr "ફેરફારો કરો"
|
||||
|
||||
#: ../js/ui/windowManager.js:107
|
||||
#, javascript-format
|
||||
msgid "Settings changes will revert in %d second"
|
||||
msgid_plural "Settings changes will revert in %d seconds"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "સુયોજન ફેરફારો એ %d સેકંડમાં પાછા આવશે"
|
||||
msgstr[1] "સુયોજન ફેરફારો એ %d સેકંડોમાં પાછા આવશે"
|
||||
|
||||
#: ../js/ui/windowMenu.js:34
|
||||
msgid "Minimize"
|
||||
@ -1807,25 +1770,24 @@ msgstr[1] "%u ઇનપુટો"
|
||||
msgid "System Sounds"
|
||||
msgstr "સિસ્ટમ અવાજો"
|
||||
|
||||
#: ../src/main.c:371
|
||||
#: ../src/main.c:373
|
||||
msgid "Print version"
|
||||
msgstr "ા"
|
||||
|
||||
#: ../src/main.c:377
|
||||
#: ../src/main.c:379
|
||||
msgid "Mode used by GDM for login screen"
|
||||
msgstr "લૉગિન સ્ક્રીન માટે GDM દ્દારા વાપરેલ સ્થિતિ"
|
||||
|
||||
#: ../src/main.c:383
|
||||
#: ../src/main.c:385
|
||||
msgid "Use a specific mode, e.g. \"gdm\" for login screen"
|
||||
msgstr "ખાસ સ્થિતિને વાપરો, દા.ત. પ્રવેશ સ્ક્રીન માટે \"gdm\""
|
||||
|
||||
#: ../src/main.c:389
|
||||
#: ../src/main.c:391
|
||||
msgid "List possible modes"
|
||||
msgstr "શક્ય સ્થિતિઓની યાદી કરો"
|
||||
|
||||
#: ../src/shell-app.c:666
|
||||
#, c-format
|
||||
#| msgid "Failed to launch '%s'"
|
||||
msgid "Failed to launch “%s”"
|
||||
msgstr "“%s” ને શરૂ કરવામાં નિષ્ફળતા"
|
||||
|
||||
|
113
po/hi.po
113
po/hi.po
@ -11,8 +11,8 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell.master.hi\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-09-19 07:33+0000\n"
|
||||
"PO-Revision-Date: 2014-09-19 21:36+0630\n"
|
||||
"POT-Creation-Date: 2014-09-19 19:40+0000\n"
|
||||
"PO-Revision-Date: 2014-09-23 15:37+0630\n"
|
||||
"Last-Translator: rajesh <rajesh>\n"
|
||||
"Language-Team: Hindi <kde-i18n-doc@kde.org>\n"
|
||||
"Language: hi\n"
|
||||
@ -81,16 +81,10 @@ msgstr ""
|
||||
"Alt-F2 संवाद का उपयोग करके आंतरिक डिबगिंग और निगरानी उपकरण तक पहुँच पायें."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
||||
#| msgid "Uuids of extensions to enable"
|
||||
msgid "UUIDs of extensions to enable"
|
||||
msgstr "एक्सटेंशन का UUIDs सक्रिय किया जाना है"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:4
|
||||
#| msgid ""
|
||||
#| "GNOME Shell extensions have a uuid property; this key lists extensions "
|
||||
#| "which should be loaded. Any extension that wants to be loaded needs to be "
|
||||
#| "in this list. You can also manipulate this list with the EnableExtension "
|
||||
#| "and DisableExtension DBus methods on org.gnome.Shell."
|
||||
msgid ""
|
||||
"GNOME Shell extensions have a UUID property; this key lists extensions which "
|
||||
"should be loaded. Any extension that wants to be loaded needs to be in this "
|
||||
@ -107,7 +101,7 @@ msgstr ""
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
|
||||
msgid "Disables the validation of extension version compatibility"
|
||||
msgstr ""
|
||||
msgstr "विस्तार संस्करण संगतता के वैधीकरण को निष्क्रिय करता है"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:6
|
||||
msgid ""
|
||||
@ -115,6 +109,10 @@ msgid ""
|
||||
"running version. Enabling this option will disable this check and try to "
|
||||
"load all extensions regardless of the versions they claim to support."
|
||||
msgstr ""
|
||||
"गनोम शेल केवल वही विस्तार लोड करेगा जो मौजूदा कार्यशील संस्करण के समर्थन का "
|
||||
"दावा करता है. इस विकल्प का सक्रिय करना इस चेक को निष्क्रिय करेगा और सभी "
|
||||
"विस्तार को लोड करने की कोशिश करेगा उन संस्करण से अलग जिसके समर्थन का वे दावा "
|
||||
"करते हैं."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
|
||||
msgid "List of desktop file IDs for favorite applications"
|
||||
@ -133,7 +131,7 @@ msgstr "एप्प पिकर दृश्य"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:10
|
||||
msgid "Index of the currently selected view in the application picker."
|
||||
msgstr ""
|
||||
msgstr "अनुप्रयोग पिकर में मौजूदा चयनित दृश्य की सूची."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:11
|
||||
msgid "History for command (Alt-F2) dialog"
|
||||
@ -144,14 +142,10 @@ msgid "History for the looking glass dialog"
|
||||
msgstr "ग्लास खोज संवाद के लिए इतिहास"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:13
|
||||
#| msgid "Always show the 'Log out' menuitem in the user menu."
|
||||
msgid "Always show the 'Log out' menu item in the user menu."
|
||||
msgstr "हमेशा 'लॉग आउट' मेन्यू मद को उपयोक्ता मेन्यू में दिखाएँ."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:14
|
||||
#| msgid ""
|
||||
#| "This key overrides the automatic hiding of the 'Log out' menuitem in "
|
||||
#| "single-user, single-session situations."
|
||||
msgid ""
|
||||
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
|
||||
"user, single-session situations."
|
||||
@ -206,16 +200,14 @@ msgstr ""
|
||||
"कीबाइंडिंग"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
|
||||
#, fuzzy
|
||||
#| msgid "Keybinding to open the \"Show Applications\" view"
|
||||
msgid "Keybinding to open the overview"
|
||||
msgstr "\"अनुप्रयोग दिखाएँ\" दृश्य खोलने के लिए खोलने के लिए कीबाइंडिंग"
|
||||
msgstr "सारांश खोलने के लिए कीबाइंडिंग"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:24
|
||||
#, fuzzy
|
||||
#| msgid "Keybinding to open the \"Show Applications\" view"
|
||||
msgid "Keybinding to open the Activities Overview."
|
||||
msgstr "\"अनुप्रयोग दिखाएँ\" दृश्य खोलने के लिए खोलने के लिए कीबाइंडिंग"
|
||||
msgstr "गतिविधि सारांश खोलने के लिए कीबाइंडिंग"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:25
|
||||
msgid "Keybinding to toggle the visibility of the message tray"
|
||||
@ -237,6 +229,8 @@ msgstr "सक्रिय अधिसूचना फोकस करने
|
||||
msgid ""
|
||||
"Keybinding that pauses and resumes all running tweens, for debugging purposes"
|
||||
msgstr ""
|
||||
"डिबगिंग उद्देश्य के लिए कीबाइंडिंग जो सभी कार्यशील ट्विन्स को रोकता है और "
|
||||
"पुनर्बहाल करता है"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:30
|
||||
msgid "Which keyboard to use"
|
||||
@ -248,13 +242,15 @@ msgstr "उपयोग करने के लिए कीबोर्ड क
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:32
|
||||
msgid "Limit switcher to current workspace."
|
||||
msgstr ""
|
||||
msgstr "मौजूदा कार्यस्थान में स्विचर सीमित करें."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:33
|
||||
msgid ""
|
||||
"If true, only applications that have windows on the current workspace are "
|
||||
"shown in the switcher. Otherwise, all applications are included."
|
||||
msgstr ""
|
||||
"यदि सही है, मौजूदा कार्यस्थान पर विंडोयुक्त अनुप्रयोग इस स्विचर में दिखेगा. "
|
||||
"अन्यथा, सभी अनुप्रयोग शामिल किए जाते हैं."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:34
|
||||
msgid "The application icon mode."
|
||||
@ -276,6 +272,8 @@ msgid ""
|
||||
"If true, only windows from the current workspace are shown in the switcher. "
|
||||
"Otherwise, all windows are included."
|
||||
msgstr ""
|
||||
"यदि सही है, मौजूदा कार्यस्थान से आनेवाला विंडो इस स्विचर में दिखेगा. अन्यथा, "
|
||||
"सभी विंडो शामिल किए जाते हैं."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
|
||||
msgid "Attach modal dialog to the parent window"
|
||||
@ -315,7 +313,6 @@ msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "%s के लिए वरीयता संवाद लोड करने में एक त्रुटि थी:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
#| msgid "Configure GNOME Shell Extensions"
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "गनोम शेल एक्सटेंशन"
|
||||
|
||||
@ -341,7 +338,6 @@ msgid "Sign In"
|
||||
msgstr "साइन इन"
|
||||
|
||||
#: ../js/gdm/loginDialog.js:269
|
||||
#| msgid "Switch Session"
|
||||
msgid "Choose Session"
|
||||
msgstr "सत्र चुनें"
|
||||
|
||||
@ -381,18 +377,16 @@ msgstr "कमांड का विश्लेषण नहीं कर स
|
||||
|
||||
#: ../js/misc/util.js:156
|
||||
#, javascript-format
|
||||
#| msgid "Execution of '%s' failed:"
|
||||
msgid "Execution of “%s” failed:"
|
||||
msgstr "“%s” का निष्पादन विफल:"
|
||||
|
||||
#: ../js/portalHelper/main.js:85
|
||||
#| msgid "Authentication Required"
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "वेब सत्यापन रिडायरेक्ट"
|
||||
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr ""
|
||||
msgstr "बारंबार उपयोग वाला अनुप्रयोग यहाँ प्रकट होगा"
|
||||
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
@ -402,20 +396,19 @@ msgstr "बारंबार"
|
||||
msgid "All"
|
||||
msgstr "सभी"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1789
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "नया विंडो"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1815 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "पसंदीदा से हटाएँ"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1821
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "पसंदीदा में जोड़ें"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1830
|
||||
#| msgid "Show Text"
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "विवरण दिखाएँ"
|
||||
|
||||
@ -659,9 +652,6 @@ msgstr "बेतार संजाल के द्वारा सत्य
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:319
|
||||
#, javascript-format
|
||||
#| msgid ""
|
||||
#| "Passwords or encryption keys are required to access the wireless network "
|
||||
#| "'%s'."
|
||||
msgid ""
|
||||
"Passwords or encryption keys are required to access the wireless network "
|
||||
"“%s”."
|
||||
@ -697,7 +687,6 @@ msgstr "मोबाइल ब्रॉडबैंज संजाल कूट
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:346
|
||||
#, javascript-format
|
||||
#| msgid "A password is required to connect to '%s'."
|
||||
msgid "A password is required to connect to “%s”."
|
||||
msgstr "“%s” में कनेक्ट होने के लिए एक कूटशब्द जरूरी है."
|
||||
|
||||
@ -753,14 +742,12 @@ msgstr "%H∶%M"
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:960
|
||||
#| msgid "<b>Yesterday</b>, <b>%H:%M</b>"
|
||||
msgid "Yesterday, %H∶%M"
|
||||
msgstr "कल %H∶%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 24h format. i.e. "Monday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:967
|
||||
#| msgid "%A, %B %d"
|
||||
msgid "%A, %H∶%M"
|
||||
msgstr "%A, %H∶%M"
|
||||
|
||||
@ -780,8 +767,6 @@ msgstr "%B %d %Y, %H∶%M"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:986
|
||||
#| msgctxt "event list time"
|
||||
#| msgid "%l:%M %p"
|
||||
msgid "%l∶%M %p"
|
||||
msgstr "%l∶%M %p"
|
||||
|
||||
@ -794,7 +779,6 @@ msgstr "कल, %l∶%M %p"
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1000
|
||||
#| msgid "%a %l:%M %p"
|
||||
msgid "%A, %l∶%M %p"
|
||||
msgstr "%A, %l∶%M %p"
|
||||
|
||||
@ -802,7 +786,6 @@ msgstr "%A, %l∶%M %p"
|
||||
#. followed by a time string in 12h format.
|
||||
#. i.e. "May 25, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1007
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d, %l∶%M %p"
|
||||
msgstr "%B %d, %l∶%M %p"
|
||||
|
||||
@ -810,7 +793,6 @@ msgstr "%B %d, %l∶%M %p"
|
||||
#. number followed by a time string in 12h format.
|
||||
#. i.e. "May 25 2012, 2:30 pm"*/
|
||||
#: ../js/ui/components/telepathyClient.js:1013
|
||||
#| msgid "%a %b %e, %l:%M %p"
|
||||
msgid "%B %d %Y, %l∶%M %p"
|
||||
msgstr "%B %d %Y, %l∶%M %p"
|
||||
|
||||
@ -1069,7 +1051,6 @@ msgid "Power Off"
|
||||
msgstr "बंद करें"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
#| msgid "Install Updates & Restart"
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "अद्यतन संस्थापित करें और बंद करें"
|
||||
@ -1109,20 +1090,21 @@ msgstr[0] "यह तंत्र %d सेकेंड में स्वत
|
||||
msgstr[1] "यह तंत्र %d सेकेंडों में स्वतः फिर आरंभ हो जाएगा."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
#| msgid "Install Updates & Restart"
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "अद्यतन संस्थापित करें और फिर आरंभ करें"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, fuzzy, javascript-format
|
||||
#, javascript-format
|
||||
#| msgid "The system will restart automatically in %d second."
|
||||
#| msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural ""
|
||||
"The system will automatically restart and install updates in %d seconds."
|
||||
msgstr[0] "यह तंत्र %d सेकेंड में स्वतः फिर आरंभ हो जाएगा."
|
||||
msgstr[1] "यह तंत्र %d सेकेंडों में स्वतः फिर आरंभ हो जाएगा."
|
||||
msgstr[0] ""
|
||||
"यह तंत्र %d सेकेंड में स्वतः फिर आरंभ हो जाएगा और अद्यतन संस्थापित करेगा."
|
||||
msgstr[1] ""
|
||||
"यह तंत्र %d सेकेंड में स्वतः फिर आरंभ हो जाएगा और अद्यतन संस्थापित करेगा."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
@ -1141,11 +1123,11 @@ msgstr "अद्यतन संस्थापित होने के ब
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr ""
|
||||
msgstr "बैटरी ऊर्जा पर चल रहा है: अद्यतन संस्थापन के पहले प्लगिन करें."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr ""
|
||||
msgstr "कुछ अनुप्रयोग व्यस्त हैं या बिना सहेजा कार्य है."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
@ -1169,7 +1151,6 @@ msgstr "संस्थापित करें"
|
||||
|
||||
#: ../js/ui/extensionDownloader.js:204
|
||||
#, javascript-format
|
||||
#| msgid "Download and install '%s' from extensions.gnome.org?"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "“%s” को extensions.gnome.org से डाउनलोड कर संस्थापित करें?"
|
||||
|
||||
@ -1320,7 +1301,6 @@ msgid "Close"
|
||||
msgstr "बंद करें"
|
||||
|
||||
#: ../js/ui/runDialog.js:277
|
||||
#| msgid "Estimating…"
|
||||
msgid "Restarting…"
|
||||
msgstr "फिर आरंभ कर रहा है..."
|
||||
|
||||
@ -1446,14 +1426,12 @@ msgstr "ब्लूटूथ सेटिंग्स"
|
||||
|
||||
#: ../js/ui/status/bluetooth.js:104
|
||||
#, javascript-format
|
||||
#| msgid "Connected (private)"
|
||||
msgid "%d Connected Device"
|
||||
msgid_plural "%d Connected Devices"
|
||||
msgstr[0] "%d कनेक्टेड युक्ति"
|
||||
msgstr[1] "%d कनेक्टेड युक्ति"
|
||||
|
||||
#: ../js/ui/status/bluetooth.js:106 ../js/ui/status/network.js:1309
|
||||
#| msgid "Connect"
|
||||
msgid "Not Connected"
|
||||
msgstr "मत कनेक्ट करें"
|
||||
|
||||
@ -1466,17 +1444,14 @@ msgid "Show Keyboard Layout"
|
||||
msgstr "कुंजीपट लेआउट दिखाएँ"
|
||||
|
||||
#: ../js/ui/status/location.js:65
|
||||
#| msgid "Notifications"
|
||||
msgid "Location"
|
||||
msgstr "स्थान"
|
||||
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
#| msgid "Disabled"
|
||||
msgid "Disable"
|
||||
msgstr "निष्क्रिय करें"
|
||||
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "गोपनीयता विन्यास"
|
||||
|
||||
@ -1485,7 +1460,6 @@ msgid "In Use"
|
||||
msgstr "उपयोग में"
|
||||
|
||||
#: ../js/ui/status/location.js:180
|
||||
#| msgid "Enabled"
|
||||
msgid "Enable"
|
||||
msgstr "सक्रिय करें"
|
||||
|
||||
@ -1495,42 +1469,35 @@ msgstr "<अज्ञात>"
|
||||
|
||||
#: ../js/ui/status/network.js:457 ../js/ui/status/network.js:1307
|
||||
#: ../js/ui/status/network.js:1511
|
||||
#| msgid "Offline"
|
||||
msgid "Off"
|
||||
msgstr "बंद"
|
||||
|
||||
#: ../js/ui/status/network.js:459
|
||||
#| msgid "Connect"
|
||||
msgid "Connected"
|
||||
msgstr "कनेक्टेड"
|
||||
|
||||
#. Translators: this is for network devices that are physically present but are not
|
||||
#. under NetworkManager's control (and thus cannot be used in the menu) */
|
||||
#: ../js/ui/status/network.js:463
|
||||
#| msgid "unmanaged"
|
||||
msgid "Unmanaged"
|
||||
msgstr "अप्रबंधित"
|
||||
|
||||
#: ../js/ui/status/network.js:465
|
||||
#| msgid "disconnecting..."
|
||||
msgid "Disconnecting"
|
||||
msgstr "डिसकनेक्ट कर रहा है"
|
||||
|
||||
#: ../js/ui/status/network.js:471 ../js/ui/status/network.js:1301
|
||||
#| msgid "Connection"
|
||||
msgid "Connecting"
|
||||
msgstr "कनेक्शन"
|
||||
|
||||
#. Translators: this is for network connections that require some kind of key or password */
|
||||
#: ../js/ui/status/network.js:474
|
||||
#| msgid "authentication required"
|
||||
msgid "Authentication required"
|
||||
msgstr "सत्यापन जरूरी"
|
||||
|
||||
#. Translators: this is for devices that require some kind of firmware or kernel
|
||||
#. module, which is missing */
|
||||
#: ../js/ui/status/network.js:482
|
||||
#| msgid "firmware missing"
|
||||
msgid "Firmware missing"
|
||||
msgstr "फर्मवेयर अनुपस्थित"
|
||||
|
||||
@ -1545,17 +1512,14 @@ msgid "Connection failed"
|
||||
msgstr "कनेक्शन असफल"
|
||||
|
||||
#: ../js/ui/status/network.js:504
|
||||
#| msgid "Settings"
|
||||
msgid "Wired Settings"
|
||||
msgstr "बेतार सेटिंग"
|
||||
|
||||
#: ../js/ui/status/network.js:546 ../js/ui/status/network.js:624
|
||||
#| msgid "Mobile broadband"
|
||||
msgid "Mobile Broadband Settings"
|
||||
msgstr "मोबाइल ब्रॉडबैंड सेटिंग"
|
||||
|
||||
#: ../js/ui/status/network.js:588 ../js/ui/status/network.js:1305
|
||||
#| msgid "hardware disabled"
|
||||
msgid "Hardware Disabled"
|
||||
msgstr "हार्डवेयर निष्क्रिय"
|
||||
|
||||
@ -1569,7 +1533,7 @@ msgstr "हवाई जहाज मोड चालू है"
|
||||
|
||||
#: ../js/ui/status/network.js:814
|
||||
msgid "Wi-Fi is disabled when airplane mode is on."
|
||||
msgstr ""
|
||||
msgstr "वाई-फ़ाइल निष्क्रिय है जब हवाईजहाज अवस्था चालू है."
|
||||
|
||||
#: ../js/ui/status/network.js:815
|
||||
msgid "Turn Off Airplane Mode"
|
||||
@ -1581,7 +1545,7 @@ msgstr "वाई फाई बंद करें"
|
||||
|
||||
#: ../js/ui/status/network.js:825
|
||||
msgid "Wi-Fi needs to be turned on in order to connect to a network."
|
||||
msgstr ""
|
||||
msgstr "वाई-फ़ाई को चलाने की जरूरत है ताकि संजाल से जोड़ा जा सके."
|
||||
|
||||
#: ../js/ui/status/network.js:826
|
||||
msgid "Turn On Wi-Fi"
|
||||
@ -1592,7 +1556,6 @@ msgid "Wi-Fi Networks"
|
||||
msgstr " वाई फाई संजाल"
|
||||
|
||||
#: ../js/ui/status/network.js:853
|
||||
#| msgid "Enable networking"
|
||||
msgid "Select a network"
|
||||
msgstr "एक नेटवर्क चुनें"
|
||||
|
||||
@ -1602,14 +1565,13 @@ msgstr "कोई संजाल नहीं"
|
||||
|
||||
#: ../js/ui/status/network.js:903 ../js/ui/status/rfkill.js:112
|
||||
msgid "Use hardware switch to turn off"
|
||||
msgstr ""
|
||||
msgstr "बंद करने के लिए हार्डवेयर स्विच का उपयोग करें"
|
||||
|
||||
#: ../js/ui/status/network.js:1173
|
||||
msgid "Select Network"
|
||||
msgstr "एक नेटवर्क चुनें"
|
||||
|
||||
#: ../js/ui/status/network.js:1179
|
||||
#| msgid "Settings"
|
||||
msgid "Wi-Fi Settings"
|
||||
msgstr "वाइ फाइ सेटिंग"
|
||||
|
||||
@ -1639,7 +1601,6 @@ msgid "Network Settings"
|
||||
msgstr "नेटवर्क सेटिंग्स"
|
||||
|
||||
#: ../js/ui/status/network.js:1482
|
||||
#| msgid "Settings"
|
||||
msgid "VPN Settings"
|
||||
msgstr "वीपीएन सेटिंग"
|
||||
|
||||
@ -1690,7 +1651,6 @@ msgid "Airplane Mode"
|
||||
msgstr "हवाई जहाज मोड"
|
||||
|
||||
#: ../js/ui/status/rfkill.js:85
|
||||
#| msgid "Open"
|
||||
msgid "On"
|
||||
msgstr "चालू"
|
||||
|
||||
@ -1744,7 +1704,6 @@ msgstr "ढूँढें"
|
||||
|
||||
#: ../js/ui/windowAttentionHandler.js:19
|
||||
#, javascript-format
|
||||
#| msgid "'%s' is ready"
|
||||
msgid "“%s” is ready"
|
||||
msgstr "“%s” तैयार है"
|
||||
|
||||
@ -1756,7 +1715,6 @@ msgstr "क्या आप इस प्रदर्शन जमावट क
|
||||
#. to avoid ellipsizing the labels.
|
||||
#. */
|
||||
#: ../js/ui/windowManager.js:84
|
||||
#| msgid "Power Settings"
|
||||
msgid "Revert Settings"
|
||||
msgstr "सेटिंग्स में वापस जाएँ"
|
||||
|
||||
@ -1768,8 +1726,8 @@ msgstr "परिवर्तन बनाए रखें"
|
||||
#, javascript-format
|
||||
msgid "Settings changes will revert in %d second"
|
||||
msgid_plural "Settings changes will revert in %d seconds"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "सेटिंग बदलाव %d सेकेंड में वापस होगा"
|
||||
msgstr[1] "सेटिंग बदलाव %d सेकेंड में वापस होगा"
|
||||
|
||||
#: ../js/ui/windowMenu.js:34
|
||||
msgid "Minimize"
|
||||
@ -1793,7 +1751,7 @@ msgstr "आकार बदलें"
|
||||
|
||||
#: ../js/ui/windowMenu.js:65
|
||||
msgid "Move Titlebar Onscreen"
|
||||
msgstr ""
|
||||
msgstr "ऑनस्क्रीन शीर्षकपट्टी खिसकाएँ"
|
||||
|
||||
#: ../js/ui/windowMenu.js:70
|
||||
msgid "Always on Top"
|
||||
@ -1855,7 +1813,6 @@ msgstr "संभावित अवस्था सूचीबद्ध कर
|
||||
|
||||
#: ../src/shell-app.c:666
|
||||
#, c-format
|
||||
#| msgid "Failed to launch '%s'"
|
||||
msgid "Failed to launch “%s”"
|
||||
msgstr "“%s” लॉन्च करने में विफल"
|
||||
|
||||
|
962
po/sr@latin.po
962
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
228
po/te.po
228
po/te.po
@ -1,7 +1,7 @@
|
||||
# Telugu translation for gnome-shell.
|
||||
# Copyright (C) 2011, 2012 Swecha telugu translations team <localization@swecha.net>
|
||||
# This file is distributed under the same license as the gnome-shell package.
|
||||
# Krishnababu Krothapalli <kkrothap@redhat.com>, 2011, 2012, 2013.
|
||||
# Krishnababu Krothapalli <kkrothap@redhat.com>, 2011, 2012, 2013, 2014.
|
||||
# Hari Krishna <hari@swecha.net>, 2011.
|
||||
# Sasi Bhushan Boddepalli <sasi@swecha.net>, 2012.
|
||||
# Praveen Illa <mail2ipn@gmail.com>, 2011, 2012, 2013, 2014.
|
||||
@ -10,16 +10,16 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell gnome-3-0\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-08-26 19:34+0000\n"
|
||||
"PO-Revision-Date: 2014-08-27 10:45+0530\n"
|
||||
"Last-Translator: Praveen Illa <mail2ipn@gmail.com>\n"
|
||||
"Language-Team: indlinux-telugu@lists.sourceforge.net\n"
|
||||
"POT-Creation-Date: 2014-09-23 07:38+0000\n"
|
||||
"PO-Revision-Date: 2014-09-23 15:55+0530\n"
|
||||
"Last-Translator: Krishnababu Krothapalli <kkrothap@redhat.com>\n"
|
||||
"Language-Team: American English <kde-i18n-doc@kde.org>\n"
|
||||
"Language: te\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Virtaal 0.7.1\n"
|
||||
"X-Generator: Lokalize 1.5\n"
|
||||
"X-Project-Style: gnome\n"
|
||||
|
||||
#: ../data/50-gnome-shell-system.xml.in.h:1
|
||||
@ -69,14 +69,16 @@ msgstr "గ్నోమ్ షెల్ (వేల్యాండ్ సృష
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:1
|
||||
msgid "Enable internal tools useful for developers and testers from Alt-F2"
|
||||
msgstr "అభివృద్ధికారులకు మరియు పరీక్షకులకు ఉపయోగపడే సాధనాలను Alt-F2 నుండి చేతనపరుచు"
|
||||
msgstr ""
|
||||
"అభివృద్ధికారులకు మరియు పరీక్షకులకు ఉపయోగపడే సాధనాలను Alt-F2 నుండి చేతనపరుచు"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:2
|
||||
msgid ""
|
||||
"Allows access to internal debugging and monitoring tools using the Alt-F2 "
|
||||
"dialog."
|
||||
msgstr ""
|
||||
"Alt-F2 డైలాగుని వాడి అంతర్గత దోషశుద్ది మరియు సాధనాలను పర్యవేక్షించుటకు సౌలభ్యతను అనుమతిస్తుంది."
|
||||
"Alt-F2 డైలాగుని వాడి అంతర్గత దోషశుద్ది మరియు సాధనాలను పర్యవేక్షించుటకు "
|
||||
"సౌలభ్యతను అనుమతిస్తుంది."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:3
|
||||
msgid "UUIDs of extensions to enable"
|
||||
@ -89,8 +91,10 @@ msgid ""
|
||||
"list. You can also manipulate this list with the EnableExtension and "
|
||||
"DisableExtension D-Bus methods on org.gnome.Shell."
|
||||
msgstr ""
|
||||
"గ్నోమ్ షెల్ పొడిగింతలు ఒక UUID లక్షణాన్ని కలిగివున్నాయి; ఏ పొడిగింతలు లోడుచేయదగినవి కాదో ఈ కీ జాబితాచేయును. "
|
||||
"ఏ పొడిగింత లోడవ్వాలో అది ఈ జాబితా నందు ఉండాలి. అంతేకాకుండా మీరు ఈ జాబితాను పాడిగింతను చేతనపరుచు లేదా "
|
||||
"గ్నోమ్ షెల్ పొడిగింతలు ఒక UUID లక్షణాన్ని కలిగివున్నాయి; ఏ పొడిగింతలు "
|
||||
"లోడుచేయదగినవి కాదో ఈ కీ జాబితాచేయును. "
|
||||
"ఏ పొడిగింత లోడవ్వాలో అది ఈ జాబితా నందు ఉండాలి. అంతేకాకుండా మీరు ఈ జాబితాను "
|
||||
"పాడిగింతను చేతనపరుచు లేదా "
|
||||
"పొడిగింతను అచేతనపరుచు డిబస్ పద్ధతులలో గ్నోమ్ షెల్ నందు మార్చవచ్చును."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:5
|
||||
@ -103,8 +107,10 @@ msgid ""
|
||||
"running version. Enabling this option will disable this check and try to "
|
||||
"load all extensions regardless of the versions they claim to support."
|
||||
msgstr ""
|
||||
"ప్రస్తుతం నడుస్తున్న రూపాంతరం తోడ్పాటుందని పేర్కొంటేనే గ్నోమ్ షెల్ పొడిగింతలను లోడు చేస్తుంది. ఈ "
|
||||
"ఐచ్ఛికాన్ని చేతనం చేస్తే ఈ తనిఖీని అచేనించి, తోడ్పాటు ఉన్నాదా లేదా అనే విషయంతో సంబంధం లేకుండా అన్ని "
|
||||
"ప్రస్తుతం నడుస్తున్న రూపాంతరం తోడ్పాటుందని పేర్కొంటేనే గ్నోమ్ షెల్ "
|
||||
"పొడిగింతలను లోడు చేస్తుంది. ఈ "
|
||||
"ఐచ్ఛికాన్ని చేతనం చేస్తే ఈ తనిఖీని అచేనించి, తోడ్పాటు ఉన్నాదా లేదా అనే "
|
||||
"విషయంతో సంబంధం లేకుండా అన్ని "
|
||||
"పొడిగింతలను నింపుటకు ప్రయత్నిస్తుంది"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:7
|
||||
@ -115,7 +121,8 @@ msgstr "ప్రియమైన అనువర్తనాల కోసం డ
|
||||
msgid ""
|
||||
"The applications corresponding to these identifiers will be displayed in the "
|
||||
"favorites area."
|
||||
msgstr "ఈ గుర్తింపకాలకు అనుగుణమైన అనువర్తనాలు ప్రియమైన ప్రదేశములో ప్రదర్శించబడతాయి."
|
||||
msgstr ""
|
||||
"ఈ గుర్తింపకాలకు అనుగుణమైన అనువర్తనాలు ప్రియమైన ప్రదేశములో ప్రదర్శించబడతాయి."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:9
|
||||
msgid "App Picker View"
|
||||
@ -142,13 +149,16 @@ msgid ""
|
||||
"This key overrides the automatic hiding of the 'Log out' menu item in single-"
|
||||
"user, single-session situations."
|
||||
msgstr ""
|
||||
"ఏక-వాడుకరి, ఏక-ఘట్టం పరిస్థితులలో 'నిష్క్రమించు' మెనూ అంశము స్వయంచాలకంగా దాగుటను ఈ మీట భర్తీ "
|
||||
"ఏక-వాడుకరి, ఏక-ఘట్టం పరిస్థితులలో 'నిష్క్రమించు' మెనూ అంశము స్వయంచాలకంగా "
|
||||
"దాగుటను ఈ మీట భర్తీ "
|
||||
"చేస్తుంది."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:15
|
||||
msgid ""
|
||||
"Whether to remember password for mounting encrypted or remote filesystems"
|
||||
msgstr "ఎన్క్రిప్టెడ్ లేదా రిమోట్ దస్త్రవ్యవస్థల మౌంటు చేయుటకు సంకేతపదాలను గుర్తుంచుకోవాలా"
|
||||
msgstr ""
|
||||
"ఎన్క్రిప్టెడ్ లేదా రిమోట్ దస్త్రవ్యవస్థల మౌంటు చేయుటకు సంకేతపదాలను "
|
||||
"గుర్తుంచుకోవాలా"
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:16
|
||||
msgid ""
|
||||
@ -157,8 +167,10 @@ msgid ""
|
||||
"'Remember Password' checkbox will be present. This key sets the default "
|
||||
"state of the checkbox."
|
||||
msgstr ""
|
||||
"ఎన్క్రిప్టెడ్ పరికరం లేదా రిమోట్ దస్త్రవ్యవస్థ మౌంటవునప్పుడు షెల్ సంకేతపదం కొరకు అభ్యర్ధించును. భవిష్య "
|
||||
"వినియోగం కొరకు సంకేతపదం దాయగలిగితే 'సంకేతపదం గుర్తుంచు' చెక్బాక్స్ వస్తుంది. ఈ కీ చెక్బాక్స్ యొక్క "
|
||||
"ఎన్క్రిప్టెడ్ పరికరం లేదా రిమోట్ దస్త్రవ్యవస్థ మౌంటవునప్పుడు షెల్ సంకేతపదం "
|
||||
"కొరకు అభ్యర్ధించును. భవిష్య "
|
||||
"వినియోగం కొరకు సంకేతపదం దాయగలిగితే 'సంకేతపదం గుర్తుంచు' చెక్బాక్స్ వస్తుంది. "
|
||||
"ఈ కీ చెక్బాక్స్ యొక్క "
|
||||
"అప్రమేయ స్థితిని అమర్చును."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:17
|
||||
@ -184,7 +196,8 @@ msgstr "\"అనువర్తనములు చూపు\" దర్శనం
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:22
|
||||
msgid ""
|
||||
"Keybinding to open the \"Show Applications\" view of the Activities Overview."
|
||||
msgstr "కార్యకలాపాల అవలోకనం యొక్క \"అనువర్తనములు చూపించు\" వీక్షణం తెరువుటకు కీ బందనం."
|
||||
msgstr ""
|
||||
"కార్యకలాపాల అవలోకనం యొక్క \"అనువర్తనములు చూపించు\" వీక్షణం తెరువుటకు కీ బందనం."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:23
|
||||
msgid "Keybinding to open the overview"
|
||||
@ -235,7 +248,8 @@ msgid ""
|
||||
"shown in the switcher. Otherwise, all applications are included."
|
||||
msgstr ""
|
||||
"ఒకవేళ నిజమైతే, ప్రస్తుత కార్యక్షేత్రంలో ఉన్న అనువర్తనాల కిటికీలు మాత్రమే "
|
||||
"మార్పకంలో చూపించబడతాయి. లేదంటే, అన్ని అనువర్తనాలు ఉంచబడతాయి."
|
||||
"మార్పకంలో చూపించబడతాయి. లేదంటే, "
|
||||
"అన్ని అనువర్తనాలు ఉంచబడతాయి."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:34
|
||||
msgid "The application icon mode."
|
||||
@ -247,8 +261,10 @@ msgid ""
|
||||
"are 'thumbnail-only' (shows a thumbnail of the window), 'app-icon-"
|
||||
"only' (shows only the application icon) or 'both'."
|
||||
msgstr ""
|
||||
"స్విచర్ నందు కిటికీలు ఎలా చూపునో ఆకృతీకరించును. చెల్లునటువంటి సాధ్యాలు 'thumbnail-only' (విండో "
|
||||
"థంబ్నెయిల్ చూపును), 'app-icon-only' (అనువర్తన ప్రతిమ మాత్రమే చూపును) లేదా 'both'."
|
||||
"స్విచర్ నందు కిటికీలు ఎలా చూపునో ఆకృతీకరించును. చెల్లునటువంటి సాధ్యాలు "
|
||||
"'thumbnail-only' (విండో "
|
||||
"థంబ్నెయిల్ చూపును), 'app-icon-only' (అనువర్తన ప్రతిమ మాత్రమే చూపును) లేదా "
|
||||
"'both'."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:36
|
||||
msgid ""
|
||||
@ -256,7 +272,8 @@ msgid ""
|
||||
"Otherwise, all windows are included."
|
||||
msgstr ""
|
||||
"ఒకవేళ నిజమైతే, ప్రస్తుత కార్యక్షేత్రంలో ఉన్న కిటికీలు మాత్రమే మార్పకంలో "
|
||||
"చూపించబడతాయి. లేదంటే, అన్ని కిటికీలు ఉంచబడతాయి."
|
||||
"చూపించబడతాయి. లేదంటే, అన్ని కిటికీలు "
|
||||
"ఉంచబడతాయి."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:37
|
||||
msgid "Attach modal dialog to the parent window"
|
||||
@ -265,7 +282,9 @@ msgstr "పేరెంట్ కిటికీకు మోడల్ డైల
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:38
|
||||
msgid ""
|
||||
"This key overrides the key in org.gnome.mutter when running GNOME Shell."
|
||||
msgstr "గ్నోమ్ షెల్ నందు నడుచునప్పుడు ఈ కీ org.gnome.mutter నందలి కీను వోవర్రైడ్ చేయును."
|
||||
msgstr ""
|
||||
"గ్నోమ్ షెల్ నందు నడుచునప్పుడు ఈ కీ org.gnome.mutter నందలి కీను వోవర్రైడ్ "
|
||||
"చేయును."
|
||||
|
||||
#: ../data/org.gnome.shell.gschema.xml.in.in.h:39
|
||||
msgid "Enable edge tiling when dropping windows on screen edges"
|
||||
@ -287,17 +306,17 @@ msgstr "మౌసు రీతిలో కేంద్రీకరణ మార
|
||||
msgid "Captive Portal"
|
||||
msgstr "కాప్టివ్ పోర్టల్"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:127
|
||||
#: ../js/extensionPrefs/main.js:123
|
||||
#, javascript-format
|
||||
msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "%s కొరకు ప్రాధాన్యతల సంభాషణను నింపుటలో అక్కడ ఒక దోషం ఉన్నది:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:159
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "గ్నోమ్ షెల్ పొడిగింతలు"
|
||||
|
||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:143
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:429
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:452
|
||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||
#: ../js/ui/status/network.js:915
|
||||
msgid "Cancel"
|
||||
@ -364,40 +383,40 @@ msgstr "“%s” అమలు విఫలమైంది:"
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "జాల ధృవీకరణ దారిమార్పు"
|
||||
|
||||
#: ../js/ui/appDisplay.js:660
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr "తరచూ వాడే అనువర్తనాలు ఇక్కడ కనిపిస్తాయి"
|
||||
|
||||
#: ../js/ui/appDisplay.js:771
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
msgstr "తరచు"
|
||||
|
||||
#: ../js/ui/appDisplay.js:778
|
||||
#: ../js/ui/appDisplay.js:890
|
||||
msgid "All"
|
||||
msgstr "అన్ని"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1650
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "కొత్త కిటికీ"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1673 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "ఇష్టాంశాల నుండి తొలగించు"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1679
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "ఇష్టాంశాలకు జతచేయి"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1688
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "వివరాలను చూపించు"
|
||||
|
||||
#: ../js/ui/appFavorites.js:122
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "%s మీ ఇష్టాంశాలకు జతచేయబడింది."
|
||||
|
||||
#: ../js/ui/appFavorites.js:156
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "%s మీ ఇష్టాంశాల నుండి తీసివేయబడింది."
|
||||
@ -589,11 +608,11 @@ msgstr "%sతో తెరువు"
|
||||
msgid "Eject"
|
||||
msgstr "బయటకునెట్టు"
|
||||
|
||||
#: ../js/ui/components/keyring.js:93 ../js/ui/components/polkitAgent.js:285
|
||||
#: ../js/ui/components/keyring.js:94 ../js/ui/components/polkitAgent.js:285
|
||||
msgid "Password:"
|
||||
msgstr "సంకేతపదం:"
|
||||
|
||||
#: ../js/ui/components/keyring.js:113
|
||||
#: ../js/ui/components/keyring.js:120
|
||||
msgid "Type again:"
|
||||
msgstr "మళ్ళీ టంకించండి:"
|
||||
|
||||
@ -635,7 +654,9 @@ msgstr "వైర్లెస్ నెట్వర్క్ చేత ధ
|
||||
msgid ""
|
||||
"Passwords or encryption keys are required to access the wireless network "
|
||||
"“%s”."
|
||||
msgstr "నిస్తంత్రి నెట్వర్కు “%s” ప్రాప్యించుటకు సంకేతపదాలు లేదా ఎన్క్రిప్షన్ మీటలు అవసరం."
|
||||
msgstr ""
|
||||
"నిస్తంత్రి నెట్వర్కు “%s” ప్రాప్యించుటకు సంకేతపదాలు లేదా ఎన్క్రిప్షన్ మీటలు "
|
||||
"అవసరం."
|
||||
|
||||
#: ../js/ui/components/networkAgent.js:323
|
||||
msgid "Wired 802.1X authentication"
|
||||
@ -933,14 +954,16 @@ msgstr "ధృవీకరణపత్రం కొట్టివేయబడ
|
||||
msgid ""
|
||||
"Certificate uses an insecure cipher algorithm or is cryptographically weak"
|
||||
msgstr ""
|
||||
"ధృవీకరణపత్రం సురక్షితం కాని సైఫర్ ఆల్గార్దెమ్ వుపయోగించుచున్నది లేదా క్రిప్టోగ్రఫీ పరంగా బలహీనంగా వుంది"
|
||||
"ధృవీకరణపత్రం సురక్షితం కాని సైఫర్ ఆల్గార్దెమ్ వుపయోగించుచున్నది లేదా "
|
||||
"క్రిప్టోగ్రఫీ పరంగా బలహీనంగా వుంది"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1381
|
||||
msgid ""
|
||||
"The length of the server certificate, or the depth of the server certificate "
|
||||
"chain, exceed the limits imposed by the cryptography library"
|
||||
msgstr ""
|
||||
"సేవిక ధృవీకరణపత్రం యొక్క పొడవు, లేదా సేవిక ధృవీకరణపత్రం చైన్ యొక్క లోతు, క్రిప్టోగ్రఫీ లైబ్రరీ చేత "
|
||||
"సేవిక ధృవీకరణపత్రం యొక్క పొడవు, లేదా సేవిక ధృవీకరణపత్రం చైన్ యొక్క లోతు, "
|
||||
"క్రిప్టోగ్రఫీ లైబ్రరీ చేత "
|
||||
"నిర్దేశితమైన పరిమితులను మించును"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1383
|
||||
@ -962,7 +985,7 @@ msgstr "ఖాతాను చూడండి"
|
||||
msgid "Unknown reason"
|
||||
msgstr "తెలియని కారణం"
|
||||
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:228
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:154
|
||||
msgid "Windows"
|
||||
msgstr "కిటికీలు"
|
||||
|
||||
@ -993,128 +1016,132 @@ msgstr "తేదీ మరియు సమయం అమరికలు"
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%A %B %e, %Y"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:66
|
||||
#: ../js/ui/endSessionDialog.js:64
|
||||
#, javascript-format
|
||||
msgctxt "title"
|
||||
msgid "Log Out %s"
|
||||
msgstr "%s నిష్క్రమించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#: ../js/ui/endSessionDialog.js:65
|
||||
msgctxt "title"
|
||||
msgid "Log Out"
|
||||
msgstr "నిష్క్రమించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:69
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#, javascript-format
|
||||
msgid "%s will be logged out automatically in %d second."
|
||||
msgid_plural "%s will be logged out automatically in %d seconds."
|
||||
msgstr[0] "%s స్వయంచాలకంగా %d సెకనులో నిష్క్రమించును."
|
||||
msgstr[1] "%s స్వయంచాలకంగా %d సెకనులలో నిష్క్రమించును."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:74
|
||||
#: ../js/ui/endSessionDialog.js:72
|
||||
#, javascript-format
|
||||
msgid "You will be logged out automatically in %d second."
|
||||
msgid_plural "You will be logged out automatically in %d seconds."
|
||||
msgstr[0] "మీరు %d సెకనులో స్వయంచాలకంగా నిష్క్రమిస్తారు."
|
||||
msgstr[1] "మీరు %d సెకనులలో స్వయంచాలకంగా నిష్క్రమిస్తారు."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:80
|
||||
#: ../js/ui/endSessionDialog.js:78
|
||||
msgctxt "button"
|
||||
msgid "Log Out"
|
||||
msgstr "నిష్క్రమించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:86
|
||||
#: ../js/ui/endSessionDialog.js:84
|
||||
msgctxt "title"
|
||||
msgid "Power Off"
|
||||
msgstr "విద్యుత్ ఆపు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "నవీకరణలను స్థాపించి, విద్యుత్ ఆపు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:89
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#, javascript-format
|
||||
msgid "The system will power off automatically in %d second."
|
||||
msgid_plural "The system will power off automatically in %d seconds."
|
||||
msgstr[0] "%d సెకన్లలో వ్యవస్థ స్వయంచాలకంగా ఆపివేయబడుతుంది."
|
||||
msgstr[1] "%d సెకన్లలో వ్యవస్థ స్వయంచాలకంగా ఆపివేయబడుతుంది."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:93
|
||||
#: ../js/ui/endSessionDialog.js:91
|
||||
msgctxt "checkbox"
|
||||
msgid "Install pending software updates"
|
||||
msgstr "పెండింగులో ఉన్న సాఫ్ట్వేర్ నవీకరణలను స్థాపించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:96 ../js/ui/endSessionDialog.js:113
|
||||
#: ../js/ui/endSessionDialog.js:94 ../js/ui/endSessionDialog.js:111
|
||||
msgctxt "button"
|
||||
msgid "Restart"
|
||||
msgstr "పునఃప్రారంభించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:98
|
||||
#: ../js/ui/endSessionDialog.js:96
|
||||
msgctxt "button"
|
||||
msgid "Power Off"
|
||||
msgstr "విద్యుత్ ఆపు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#: ../js/ui/endSessionDialog.js:103
|
||||
msgctxt "title"
|
||||
msgid "Restart"
|
||||
msgstr "పునఃప్రారంభించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:107
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#, javascript-format
|
||||
msgid "The system will restart automatically in %d second."
|
||||
msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgstr[0] "%d సెకనులో వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
msgstr[1] "%d సెకనులలో వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "నవీకరణలను స్థాపించి, పునఃప్రారంభించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:123
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, javascript-format
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural ""
|
||||
"The system will automatically restart and install updates in %d seconds."
|
||||
msgstr[0] "%d క్షణాలలో నవీకరణలను స్థాపించి, వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
msgstr[1] "%d క్షణాలలో నవీకరణలను స్థాపించి, వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
msgstr[0] ""
|
||||
"%d క్షణాలలో నవీకరణలను స్థాపించి, వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
msgstr[1] ""
|
||||
"%d క్షణాలలో నవీకరణలను స్థాపించి, వ్యవస్థ స్వయంచాలకంగా పునఃప్రారంభించబడుతుంది."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
msgid "Restart & Install"
|
||||
msgstr "పునఃప్రారంభించి & స్థాపించు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:130
|
||||
#: ../js/ui/endSessionDialog.js:128
|
||||
msgctxt "button"
|
||||
msgid "Install & Power Off"
|
||||
msgstr "స్థాపించి & విద్యుత్ ఆపు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:131
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
msgctxt "checkbox"
|
||||
msgid "Power off after updates are installed"
|
||||
msgstr "నవీకరణలు స్థాపించిన తరువాత విద్యుత్ ఆపు"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:315
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr "బ్యాటరీ శక్తితో నడుస్తూంది: దయచేసి నవీకరణలు స్థాపించే ముందు విద్యుత్ అనుసంధానించండి."
|
||||
msgstr ""
|
||||
"బ్యాటరీ శక్తితో నడుస్తూంది: దయచేసి నవీకరణలు స్థాపించే ముందు విద్యుత్ "
|
||||
"అనుసంధానించండి."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:332
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr "కొన్ని అనువర్తనాలు బిజీగా ఉన్నాయి లేదా భద్రపరుచని పని ఉండిపోయింది."
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:339
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
msgstr "వేరే వాడుకరులు లాగిన్ అయివున్నారు."
|
||||
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login */
|
||||
#: ../js/ui/endSessionDialog.js:619
|
||||
#: ../js/ui/endSessionDialog.js:640
|
||||
#, javascript-format
|
||||
msgid "%s (remote)"
|
||||
msgstr "%s (రిమోట్)"
|
||||
|
||||
#. Translators: Console here refers to a tty like a VT console */
|
||||
#: ../js/ui/endSessionDialog.js:622
|
||||
#: ../js/ui/endSessionDialog.js:643
|
||||
#, javascript-format
|
||||
msgid "%s (console)"
|
||||
msgstr "%s (కన్సోల్)"
|
||||
@ -1128,7 +1155,7 @@ msgstr "స్థాపించు"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "extensions.gnome.org నుండి “%s” దింపుకొని, స్థాపించాలా?"
|
||||
|
||||
#: ../js/ui/keyboard.js:653 ../js/ui/status/keyboard.js:339
|
||||
#: ../js/ui/keyboard.js:692 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "కీబోర్డు"
|
||||
|
||||
@ -1150,8 +1177,8 @@ msgstr "దోషాలను దాయి"
|
||||
msgid "Show Errors"
|
||||
msgstr "దోషాలను చూపించు"
|
||||
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:62
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "Enabled"
|
||||
msgstr "చేతనమైనది"
|
||||
|
||||
@ -1159,7 +1186,7 @@ msgstr "చేతనమైనది"
|
||||
#. because it's disabled by rfkill (airplane mode) */
|
||||
#. translators:
|
||||
#. * The device has been disabled
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:169
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
||||
msgid "Disabled"
|
||||
msgstr "అచేతనమైనది"
|
||||
@ -1184,39 +1211,39 @@ msgstr "మూలాన్ని చూడు"
|
||||
msgid "Web Page"
|
||||
msgstr "జాల పుట"
|
||||
|
||||
#: ../js/ui/messageTray.js:1325
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "తెరువు"
|
||||
|
||||
#: ../js/ui/messageTray.js:1332
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "తీసివేయి"
|
||||
|
||||
#: ../js/ui/messageTray.js:1629
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "ప్రకటనలు"
|
||||
|
||||
#: ../js/ui/messageTray.js:1636
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "సందేశాలు తుడిచివేయి"
|
||||
|
||||
#: ../js/ui/messageTray.js:1655
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "ప్రకటనల అమరికలు"
|
||||
|
||||
#: ../js/ui/messageTray.js:1708
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "పళ్ళెం జాబితా"
|
||||
|
||||
#: ../js/ui/messageTray.js:1925
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "సందేశాలు లేవు"
|
||||
|
||||
#: ../js/ui/messageTray.js:1963
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "సందేశ పళ్ళెం"
|
||||
|
||||
#: ../js/ui/messageTray.js:2966
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "వ్యవస్థ సమాచారం"
|
||||
|
||||
@ -1244,7 +1271,7 @@ msgstr "పర్యావలోకనం"
|
||||
#. in the search entry when no search is
|
||||
#. active; it should not exceed ~30
|
||||
#. characters. */
|
||||
#: ../js/ui/overview.js:250
|
||||
#: ../js/ui/overview.js:246
|
||||
msgid "Type to search…"
|
||||
msgstr "వెతకడానికి టైపు చేయండి…"
|
||||
|
||||
@ -1307,27 +1334,27 @@ msgstr "తాళం వేయలేకపోతూంది"
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "తాళం ఒక అనువర్తనం చేత నిరోధించబడింది"
|
||||
|
||||
#: ../js/ui/search.js:606
|
||||
#: ../js/ui/search.js:594
|
||||
msgid "Searching…"
|
||||
msgstr "వెతుకుతోంది..."
|
||||
|
||||
#: ../js/ui/search.js:652
|
||||
#: ../js/ui/search.js:596
|
||||
msgid "No results."
|
||||
msgstr "ఏ ఫలితాలు లేవు."
|
||||
|
||||
#: ../js/ui/shellEntry.js:27
|
||||
#: ../js/ui/shellEntry.js:25
|
||||
msgid "Copy"
|
||||
msgstr "నకలించు"
|
||||
|
||||
#: ../js/ui/shellEntry.js:32
|
||||
#: ../js/ui/shellEntry.js:30
|
||||
msgid "Paste"
|
||||
msgstr "అతికించు"
|
||||
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
#: ../js/ui/shellEntry.js:97
|
||||
msgid "Show Text"
|
||||
msgstr "పాఠం చూపించు"
|
||||
|
||||
#: ../js/ui/shellEntry.js:101
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
msgid "Hide Text"
|
||||
msgstr "పాఠ్యం దాయి"
|
||||
|
||||
@ -1413,23 +1440,28 @@ msgstr "అనుసంధానించబడలేదు"
|
||||
msgid "Brightness"
|
||||
msgstr "ప్రకాశత"
|
||||
|
||||
#: ../js/ui/status/keyboard.js:406
|
||||
#: ../js/ui/status/keyboard.js:547
|
||||
msgid "Show Keyboard Layout"
|
||||
msgstr "కీబోర్డు నమూనాను చూపించు"
|
||||
|
||||
#: ../js/ui/status/location.js:56
|
||||
#: ../js/ui/status/location.js:65
|
||||
msgid "Location"
|
||||
msgstr "స్థానం"
|
||||
|
||||
#: ../js/ui/status/location.js:63 ../js/ui/status/location.js:167
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
msgid "Disable"
|
||||
msgstr "అచేతనించు"
|
||||
|
||||
#: ../js/ui/status/location.js:166
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "గోప్యతా అమరికలు"
|
||||
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "In Use"
|
||||
msgstr "వాడుకలో వుంది"
|
||||
|
||||
#: ../js/ui/status/location.js:170
|
||||
#: ../js/ui/status/location.js:180
|
||||
msgid "Enable"
|
||||
msgstr "చేతనించు"
|
||||
|
||||
@ -1664,11 +1696,11 @@ msgstr "వేరొక వాడుకరి వలె ప్రవేశిం
|
||||
msgid "Unlock Window"
|
||||
msgstr "కిటికీ తాళంతీయి"
|
||||
|
||||
#: ../js/ui/viewSelector.js:232
|
||||
#: ../js/ui/viewSelector.js:158
|
||||
msgid "Applications"
|
||||
msgstr "అనువర్తనాలు"
|
||||
|
||||
#: ../js/ui/viewSelector.js:236
|
||||
#: ../js/ui/viewSelector.js:162
|
||||
msgid "Search"
|
||||
msgstr "వెతుకు"
|
||||
|
||||
@ -1765,19 +1797,19 @@ msgstr[1] "%u ఇన్పుట్లు"
|
||||
msgid "System Sounds"
|
||||
msgstr "వ్యవస్థ శబ్దములు"
|
||||
|
||||
#: ../src/main.c:371
|
||||
#: ../src/main.c:373
|
||||
msgid "Print version"
|
||||
msgstr "ముద్రిత రూపాంతరం"
|
||||
|
||||
#: ../src/main.c:377
|
||||
#: ../src/main.c:379
|
||||
msgid "Mode used by GDM for login screen"
|
||||
msgstr "ప్రవేశ తెర కొరకు GDM చే ఉపయోగించబడిన రీతి"
|
||||
|
||||
#: ../src/main.c:383
|
||||
#: ../src/main.c:385
|
||||
msgid "Use a specific mode, e.g. \"gdm\" for login screen"
|
||||
msgstr "ఒక నిర్దిష్ట రీతిని వాడు, ఉదా. ప్రవేశ తెర కొరకు \"gdm\""
|
||||
|
||||
#: ../src/main.c:389
|
||||
#: ../src/main.c:391
|
||||
msgid "List possible modes"
|
||||
msgstr "సాధ్యమగు రీతులను జాబితాగా చేయి"
|
||||
|
||||
|
1877
po/uz@cyrillic.po
Normal file
1877
po/uz@cyrillic.po
Normal file
File diff suppressed because it is too large
Load Diff
927
po/zh_CN.po
927
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
281
po/zh_TW.po
281
po/zh_TW.po
@ -9,16 +9,16 @@ msgstr ""
|
||||
"Project-Id-Version: gnome-shell 3.3.90\n"
|
||||
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
|
||||
"shell&keywords=I18N+L10N&component=general\n"
|
||||
"POT-Creation-Date: 2014-08-15 21:08+0000\n"
|
||||
"PO-Revision-Date: 2014-08-19 09:31+0800\n"
|
||||
"Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n"
|
||||
"POT-Creation-Date: 2014-10-02 07:43+0000\n"
|
||||
"PO-Revision-Date: 2014-10-02 20:02+0800\n"
|
||||
"Last-Translator: Cheng-Chia Tseng <pswo10680@gmail.com>\n"
|
||||
"Language-Team: Chinese (Taiwan) <zh-l10n@lists.linux.org.tw>\n"
|
||||
"Language: zh_TW\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 1.6.5\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
|
||||
#: ../data/50-gnome-shell-system.xml.in.h:1
|
||||
msgid "System"
|
||||
@ -279,17 +279,17 @@ msgstr "在滑鼠模式中延遲焦點變更直到指標停止移動"
|
||||
msgid "Captive Portal"
|
||||
msgstr "網頁入口管制"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:127
|
||||
#: ../js/extensionPrefs/main.js:123
|
||||
#, javascript-format
|
||||
msgid "There was an error loading the preferences dialog for %s:"
|
||||
msgstr "載入 %s 的偏好設定對話盒時發生錯誤:"
|
||||
|
||||
#: ../js/extensionPrefs/main.js:159
|
||||
#: ../js/extensionPrefs/main.js:155
|
||||
msgid "GNOME Shell Extensions"
|
||||
msgstr "GNOME Shell 擴充功能"
|
||||
|
||||
#: ../js/gdm/authPrompt.js:147 ../js/ui/components/networkAgent.js:143
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:429
|
||||
#: ../js/ui/components/polkitAgent.js:166 ../js/ui/endSessionDialog.js:452
|
||||
#: ../js/ui/extensionDownloader.js:195 ../js/ui/shellMountOperation.js:399
|
||||
#: ../js/ui/status/network.js:915
|
||||
msgid "Cancel"
|
||||
@ -352,44 +352,44 @@ msgstr "無法分析指令:"
|
||||
msgid "Execution of “%s” failed:"
|
||||
msgstr "執行「%s」失敗:"
|
||||
|
||||
#: ../js/portalHelper/main.js:84
|
||||
#: ../js/portalHelper/main.js:85
|
||||
msgid "Web Authentication Redirect"
|
||||
msgstr "網頁核對重新導向"
|
||||
|
||||
#: ../js/ui/appDisplay.js:660
|
||||
#: ../js/ui/appDisplay.js:772
|
||||
msgid "Frequently used applications will appear here"
|
||||
msgstr "經常使用的應用程式會出現在這裡"
|
||||
|
||||
#: ../js/ui/appDisplay.js:771
|
||||
#: ../js/ui/appDisplay.js:883
|
||||
msgid "Frequent"
|
||||
msgstr "常用"
|
||||
|
||||
#: ../js/ui/appDisplay.js:778
|
||||
#: ../js/ui/appDisplay.js:890
|
||||
msgid "All"
|
||||
msgstr "全部"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1650
|
||||
#: ../js/ui/appDisplay.js:1790
|
||||
msgid "New Window"
|
||||
msgstr "新視窗"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1673 ../js/ui/dash.js:285
|
||||
#: ../js/ui/appDisplay.js:1816 ../js/ui/dash.js:285
|
||||
msgid "Remove from Favorites"
|
||||
msgstr "自喜好中移除"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1679
|
||||
#: ../js/ui/appDisplay.js:1822
|
||||
msgid "Add to Favorites"
|
||||
msgstr "加入喜好"
|
||||
|
||||
#: ../js/ui/appDisplay.js:1688
|
||||
#: ../js/ui/appDisplay.js:1831
|
||||
msgid "Show Details"
|
||||
msgstr "顯示詳細資訊"
|
||||
|
||||
#: ../js/ui/appFavorites.js:122
|
||||
#: ../js/ui/appFavorites.js:132
|
||||
#, javascript-format
|
||||
msgid "%s has been added to your favorites."
|
||||
msgstr "%s 已加入您的喜好中。"
|
||||
|
||||
#: ../js/ui/appFavorites.js:156
|
||||
#: ../js/ui/appFavorites.js:166
|
||||
#, javascript-format
|
||||
msgid "%s has been removed from your favorites."
|
||||
msgstr "%s 已經從您的喜好中移除。"
|
||||
@ -581,11 +581,11 @@ msgstr "用 %s 開啟"
|
||||
msgid "Eject"
|
||||
msgstr "退出"
|
||||
|
||||
#: ../js/ui/components/keyring.js:93 ../js/ui/components/polkitAgent.js:285
|
||||
#: ../js/ui/components/keyring.js:94 ../js/ui/components/polkitAgent.js:285
|
||||
msgid "Password:"
|
||||
msgstr "密碼: "
|
||||
|
||||
#: ../js/ui/components/keyring.js:113
|
||||
#: ../js/ui/components/keyring.js:120
|
||||
msgid "Type again:"
|
||||
msgstr "再輸入一次:"
|
||||
|
||||
@ -707,77 +707,77 @@ msgid "Mute"
|
||||
msgstr "靜音"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:957
|
||||
#: ../js/ui/components/telepathyClient.js:953
|
||||
msgid "%H∶%M"
|
||||
msgstr "%H∶%M"
|
||||
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 24h format. i.e. "Yesterday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:964
|
||||
#: ../js/ui/components/telepathyClient.js:960
|
||||
msgid "Yesterday, %H∶%M"
|
||||
msgstr "昨天 %H:%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 24h format. i.e. "Monday, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:971
|
||||
#: ../js/ui/components/telepathyClient.js:967
|
||||
msgid "%A, %H∶%M"
|
||||
msgstr "%A %H∶%M"
|
||||
|
||||
#. Translators: this is the month name and day number
|
||||
#. followed by a time string in 24h format.
|
||||
#. i.e. "May 25, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:978
|
||||
#: ../js/ui/components/telepathyClient.js:974
|
||||
msgid "%B %d, %H∶%M"
|
||||
msgstr "%m月%d日 %H∶%M"
|
||||
|
||||
#. Translators: this is the month name, day number, year
|
||||
#. number followed by a time string in 24h format.
|
||||
#. i.e. "May 25 2012, 14:30" */
|
||||
#: ../js/ui/components/telepathyClient.js:984
|
||||
#: ../js/ui/components/telepathyClient.js:980
|
||||
msgid "%B %d %Y, %H∶%M"
|
||||
msgstr "%Y年%m月%d日 %H:%M"
|
||||
|
||||
#. Translators: Time in 24h format */
|
||||
#: ../js/ui/components/telepathyClient.js:990
|
||||
#: ../js/ui/components/telepathyClient.js:986
|
||||
msgid "%l∶%M %p"
|
||||
msgstr "%p %l∶%M"
|
||||
|
||||
#. Translators: this is the word "Yesterday" followed by a
|
||||
#. time string in 12h format. i.e. "Yesterday, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:997
|
||||
#: ../js/ui/components/telepathyClient.js:993
|
||||
msgid "Yesterday, %l∶%M %p"
|
||||
msgstr "昨天 %p %l∶%M"
|
||||
|
||||
#. Translators: this is the week day name followed by a time
|
||||
#. string in 12h format. i.e. "Monday, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1004
|
||||
#: ../js/ui/components/telepathyClient.js:1000
|
||||
msgid "%A, %l∶%M %p"
|
||||
msgstr "%A%p %l∶%M"
|
||||
|
||||
#. Translators: this is the month name and day number
|
||||
#. followed by a time string in 12h format.
|
||||
#. i.e. "May 25, 2:30 pm" */
|
||||
#: ../js/ui/components/telepathyClient.js:1011
|
||||
#: ../js/ui/components/telepathyClient.js:1007
|
||||
msgid "%B %d, %l∶%M %p"
|
||||
msgstr "%m月%d日%p %l∶%M"
|
||||
|
||||
#. Translators: this is the month name, day number, year
|
||||
#. number followed by a time string in 12h format.
|
||||
#. i.e. "May 25 2012, 2:30 pm"*/
|
||||
#: ../js/ui/components/telepathyClient.js:1017
|
||||
#: ../js/ui/components/telepathyClient.js:1013
|
||||
msgid "%B %d %Y, %l∶%M %p"
|
||||
msgstr "%Y年%m月%d日%p %l∶%M"
|
||||
|
||||
#. Translators: this is the other person changing their old IM name to their new
|
||||
#. IM name. */
|
||||
#: ../js/ui/components/telepathyClient.js:1049
|
||||
#: ../js/ui/components/telepathyClient.js:1045
|
||||
#, javascript-format
|
||||
msgid "%s is now known as %s"
|
||||
msgstr "%s 現在被稱為 %s"
|
||||
|
||||
#. translators: argument is a room name like
|
||||
#. * room@jabber.org for example. */
|
||||
#: ../js/ui/components/telepathyClient.js:1153
|
||||
#: ../js/ui/components/telepathyClient.js:1149
|
||||
#, javascript-format
|
||||
msgid "Invitation to %s"
|
||||
msgstr "邀請加入 %s"
|
||||
@ -785,38 +785,38 @@ msgstr "邀請加入 %s"
|
||||
#. translators: first argument is the name of a contact and the second
|
||||
#. * one the name of a room. "Alice is inviting you to join room@jabber.org
|
||||
#. * for example. */
|
||||
#: ../js/ui/components/telepathyClient.js:1161
|
||||
#: ../js/ui/components/telepathyClient.js:1157
|
||||
#, javascript-format
|
||||
msgid "%s is inviting you to join %s"
|
||||
msgstr "%s 正在邀請您加入 %s"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1163
|
||||
#: ../js/ui/components/telepathyClient.js:1198
|
||||
#: ../js/ui/components/telepathyClient.js:1232
|
||||
#: ../js/ui/components/telepathyClient.js:1290
|
||||
#: ../js/ui/components/telepathyClient.js:1159
|
||||
#: ../js/ui/components/telepathyClient.js:1194
|
||||
#: ../js/ui/components/telepathyClient.js:1228
|
||||
#: ../js/ui/components/telepathyClient.js:1286
|
||||
msgid "Decline"
|
||||
msgstr "拒絕"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1169
|
||||
#: ../js/ui/components/telepathyClient.js:1238
|
||||
#: ../js/ui/components/telepathyClient.js:1295
|
||||
#: ../js/ui/components/telepathyClient.js:1165
|
||||
#: ../js/ui/components/telepathyClient.js:1234
|
||||
#: ../js/ui/components/telepathyClient.js:1291
|
||||
msgid "Accept"
|
||||
msgstr "接受"
|
||||
|
||||
#. translators: argument is a contact name like Alice for example. */
|
||||
#: ../js/ui/components/telepathyClient.js:1188
|
||||
#: ../js/ui/components/telepathyClient.js:1184
|
||||
#, javascript-format
|
||||
msgid "Video call from %s"
|
||||
msgstr "來自 %s 的視訊電話"
|
||||
|
||||
#. translators: argument is a contact name like Alice for example. */
|
||||
#: ../js/ui/components/telepathyClient.js:1191
|
||||
#: ../js/ui/components/telepathyClient.js:1187
|
||||
#, javascript-format
|
||||
msgid "Call from %s"
|
||||
msgstr "%s 來電"
|
||||
|
||||
#. translators: this is a button label (verb), not a noun */
|
||||
#: ../js/ui/components/telepathyClient.js:1205
|
||||
#: ../js/ui/components/telepathyClient.js:1201
|
||||
msgid "Answer"
|
||||
msgstr "接聽"
|
||||
|
||||
@ -825,133 +825,133 @@ msgstr "接聽"
|
||||
#. * file name. The string will be something
|
||||
#. * like: "Alice is sending you test.ogg"
|
||||
#. */
|
||||
#: ../js/ui/components/telepathyClient.js:1226
|
||||
#: ../js/ui/components/telepathyClient.js:1222
|
||||
#, javascript-format
|
||||
msgid "%s is sending you %s"
|
||||
msgstr "%s 正傳送給您 %s"
|
||||
|
||||
#. To translators: The parameter is the contact's alias */
|
||||
#: ../js/ui/components/telepathyClient.js:1255
|
||||
#: ../js/ui/components/telepathyClient.js:1251
|
||||
#, javascript-format
|
||||
msgid "%s would like permission to see when you are online"
|
||||
msgstr "%s 想要得到查看您上線狀態的許可"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1341
|
||||
#: ../js/ui/components/telepathyClient.js:1337
|
||||
msgid "Network error"
|
||||
msgstr "網路錯誤"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1343
|
||||
#: ../js/ui/components/telepathyClient.js:1339
|
||||
msgid "Authentication failed"
|
||||
msgstr "核對失敗"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1345
|
||||
#: ../js/ui/components/telepathyClient.js:1341
|
||||
msgid "Encryption error"
|
||||
msgstr "加密發生錯誤"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1347
|
||||
#: ../js/ui/components/telepathyClient.js:1343
|
||||
msgid "Certificate not provided"
|
||||
msgstr "沒有提供憑證"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1349
|
||||
#: ../js/ui/components/telepathyClient.js:1345
|
||||
msgid "Certificate untrusted"
|
||||
msgstr "憑證不被信任"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1351
|
||||
#: ../js/ui/components/telepathyClient.js:1347
|
||||
msgid "Certificate expired"
|
||||
msgstr "憑證已逾期"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1353
|
||||
#: ../js/ui/components/telepathyClient.js:1349
|
||||
msgid "Certificate not activated"
|
||||
msgstr "憑證尚未使用"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1355
|
||||
#: ../js/ui/components/telepathyClient.js:1351
|
||||
msgid "Certificate hostname mismatch"
|
||||
msgstr "憑證主機名稱不符"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1357
|
||||
#: ../js/ui/components/telepathyClient.js:1353
|
||||
msgid "Certificate fingerprint mismatch"
|
||||
msgstr "憑證數位指紋不符"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1359
|
||||
#: ../js/ui/components/telepathyClient.js:1355
|
||||
msgid "Certificate self-signed"
|
||||
msgstr "憑證為自我簽署"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1361
|
||||
#: ../js/ui/components/telepathyClient.js:1357
|
||||
msgid "Status is set to offline"
|
||||
msgstr "狀態設為離線"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1363
|
||||
#: ../js/ui/components/telepathyClient.js:1359
|
||||
msgid "Encryption is not available"
|
||||
msgstr "加密無法使用"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1365
|
||||
#: ../js/ui/components/telepathyClient.js:1361
|
||||
msgid "Certificate is invalid"
|
||||
msgstr "憑證無效"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1367
|
||||
#: ../js/ui/components/telepathyClient.js:1363
|
||||
msgid "Connection has been refused"
|
||||
msgstr "連線遭到拒絕"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1369
|
||||
#: ../js/ui/components/telepathyClient.js:1365
|
||||
msgid "Connection can't be established"
|
||||
msgstr "無法建立連線"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1371
|
||||
#: ../js/ui/components/telepathyClient.js:1367
|
||||
msgid "Connection has been lost"
|
||||
msgstr "已失去連線"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1373
|
||||
#: ../js/ui/components/telepathyClient.js:1369
|
||||
msgid "This account is already connected to the server"
|
||||
msgstr "這個帳號已連接至該伺服器"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1375
|
||||
#: ../js/ui/components/telepathyClient.js:1371
|
||||
msgid ""
|
||||
"Connection has been replaced by a new connection using the same resource"
|
||||
msgstr "連線已被使用相同資源的新連線取代"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1377
|
||||
#: ../js/ui/components/telepathyClient.js:1373
|
||||
msgid "The account already exists on the server"
|
||||
msgstr "該帳號已經存在於伺服器上"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1379
|
||||
#: ../js/ui/components/telepathyClient.js:1375
|
||||
msgid "Server is currently too busy to handle the connection"
|
||||
msgstr "伺服器目前過於忙碌以致於無法處理該連線"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1381
|
||||
#: ../js/ui/components/telepathyClient.js:1377
|
||||
msgid "Certificate has been revoked"
|
||||
msgstr "憑證已被撤銷"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1383
|
||||
#: ../js/ui/components/telepathyClient.js:1379
|
||||
msgid ""
|
||||
"Certificate uses an insecure cipher algorithm or is cryptographically weak"
|
||||
msgstr "憑證使用不安全的密碼演算法,或是密碼處理上較弱"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1385
|
||||
#: ../js/ui/components/telepathyClient.js:1381
|
||||
msgid ""
|
||||
"The length of the server certificate, or the depth of the server certificate "
|
||||
"chain, exceed the limits imposed by the cryptography library"
|
||||
msgstr "伺服器憑證的長度,或是伺服器憑證鏈的深度超過密碼函式庫所能處理的範圍"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1387
|
||||
#: ../js/ui/components/telepathyClient.js:1383
|
||||
msgid "Internal error"
|
||||
msgstr "內部的錯誤"
|
||||
|
||||
#. translators: argument is the account name, like
|
||||
#. * name@jabber.org for example. */
|
||||
#: ../js/ui/components/telepathyClient.js:1397
|
||||
#: ../js/ui/components/telepathyClient.js:1393
|
||||
#, javascript-format
|
||||
msgid "Unable to connect to %s"
|
||||
msgstr "無法連線到 %s"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1402
|
||||
#: ../js/ui/components/telepathyClient.js:1398
|
||||
msgid "View account"
|
||||
msgstr "檢視帳號"
|
||||
|
||||
#: ../js/ui/components/telepathyClient.js:1439
|
||||
#: ../js/ui/components/telepathyClient.js:1435
|
||||
msgid "Unknown reason"
|
||||
msgstr "不明原因"
|
||||
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:228
|
||||
#: ../js/ui/ctrlAltTab.js:29 ../js/ui/viewSelector.js:154
|
||||
msgid "Windows"
|
||||
msgstr "視窗"
|
||||
|
||||
@ -963,142 +963,142 @@ msgstr "顯示應用程式"
|
||||
msgid "Dash"
|
||||
msgstr "Dash"
|
||||
|
||||
#: ../js/ui/dateMenu.js:96
|
||||
#: ../js/ui/dateMenu.js:97
|
||||
msgid "Open Calendar"
|
||||
msgstr "開啟行事曆"
|
||||
|
||||
#: ../js/ui/dateMenu.js:100
|
||||
#: ../js/ui/dateMenu.js:101
|
||||
msgid "Open Clocks"
|
||||
msgstr "開啟時鐘"
|
||||
|
||||
#: ../js/ui/dateMenu.js:107
|
||||
#: ../js/ui/dateMenu.js:108
|
||||
msgid "Date & Time Settings"
|
||||
msgstr "日期與時刻設定值"
|
||||
|
||||
#. Translators: This is the date format to use when the calendar popup is
|
||||
#. * shown - it is shown just below the time in the shell (e.g. "Tue 9:29 AM").
|
||||
#. */
|
||||
#: ../js/ui/dateMenu.js:204
|
||||
#: ../js/ui/dateMenu.js:132
|
||||
msgid "%A %B %e, %Y"
|
||||
msgstr "%Y年%m月%e日%A"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:66
|
||||
#: ../js/ui/endSessionDialog.js:64
|
||||
#, javascript-format
|
||||
msgctxt "title"
|
||||
msgid "Log Out %s"
|
||||
msgstr "登出 %s"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#: ../js/ui/endSessionDialog.js:65
|
||||
msgctxt "title"
|
||||
msgid "Log Out"
|
||||
msgstr "登出"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:69
|
||||
#: ../js/ui/endSessionDialog.js:67
|
||||
#, javascript-format
|
||||
msgid "%s will be logged out automatically in %d second."
|
||||
msgid_plural "%s will be logged out automatically in %d seconds."
|
||||
msgstr[0] "%s 會在 %d 秒後自動登出。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:74
|
||||
#: ../js/ui/endSessionDialog.js:72
|
||||
#, javascript-format
|
||||
msgid "You will be logged out automatically in %d second."
|
||||
msgid_plural "You will be logged out automatically in %d seconds."
|
||||
msgstr[0] "您會在 %d 秒後自動登出。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:80
|
||||
#: ../js/ui/endSessionDialog.js:78
|
||||
msgctxt "button"
|
||||
msgid "Log Out"
|
||||
msgstr "登出"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:86
|
||||
#: ../js/ui/endSessionDialog.js:84
|
||||
msgctxt "title"
|
||||
msgid "Power Off"
|
||||
msgstr "關閉電源"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#: ../js/ui/endSessionDialog.js:85
|
||||
msgctxt "title"
|
||||
msgid "Install Updates & Power Off"
|
||||
msgstr "安裝更新並關機"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:89
|
||||
#: ../js/ui/endSessionDialog.js:87
|
||||
#, javascript-format
|
||||
msgid "The system will power off automatically in %d second."
|
||||
msgid_plural "The system will power off automatically in %d seconds."
|
||||
msgstr[0] "系統會在 %d 秒後關閉電源。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:93
|
||||
#: ../js/ui/endSessionDialog.js:91
|
||||
msgctxt "checkbox"
|
||||
msgid "Install pending software updates"
|
||||
msgstr "安裝擱置的軟體更新"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:96 ../js/ui/endSessionDialog.js:113
|
||||
#: ../js/ui/endSessionDialog.js:94 ../js/ui/endSessionDialog.js:111
|
||||
msgctxt "button"
|
||||
msgid "Restart"
|
||||
msgstr "重新啟動"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:98
|
||||
#: ../js/ui/endSessionDialog.js:96
|
||||
msgctxt "button"
|
||||
msgid "Power Off"
|
||||
msgstr "關閉電源"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#: ../js/ui/endSessionDialog.js:103
|
||||
msgctxt "title"
|
||||
msgid "Restart"
|
||||
msgstr "重新啟動"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:107
|
||||
#: ../js/ui/endSessionDialog.js:105
|
||||
#, javascript-format
|
||||
msgid "The system will restart automatically in %d second."
|
||||
msgid_plural "The system will restart automatically in %d seconds."
|
||||
msgstr[0] "系統會在 %d 秒後自動重新啟動。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#: ../js/ui/endSessionDialog.js:119
|
||||
msgctxt "title"
|
||||
msgid "Restart & Install Updates"
|
||||
msgstr "重新啟動並安裝更新"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:123
|
||||
#: ../js/ui/endSessionDialog.js:121
|
||||
#, javascript-format
|
||||
msgid "The system will automatically restart and install updates in %d second."
|
||||
msgid_plural ""
|
||||
"The system will automatically restart and install updates in %d seconds."
|
||||
msgstr[0] "系統會在 %d 秒後自動重新啟動。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
#: ../js/ui/endSessionDialog.js:127
|
||||
msgctxt "button"
|
||||
msgid "Restart & Install"
|
||||
msgstr "重新啟動並安裝"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:130
|
||||
#: ../js/ui/endSessionDialog.js:128
|
||||
msgctxt "button"
|
||||
msgid "Install & Power Off"
|
||||
msgstr "安裝並關機"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:131
|
||||
#: ../js/ui/endSessionDialog.js:129
|
||||
msgctxt "checkbox"
|
||||
msgid "Power off after updates are installed"
|
||||
msgstr "在安裝完更新之後關機"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:315
|
||||
#: ../js/ui/endSessionDialog.js:338
|
||||
msgid "Running on battery power: please plug in before installing updates."
|
||||
msgstr "正使用電池電源執行:請在安裝更新之前插入電源線。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:332
|
||||
#: ../js/ui/endSessionDialog.js:355
|
||||
msgid "Some applications are busy or have unsaved work."
|
||||
msgstr "部分應用程式忙碌中或有未儲存的工作。"
|
||||
|
||||
#: ../js/ui/endSessionDialog.js:339
|
||||
#: ../js/ui/endSessionDialog.js:362
|
||||
msgid "Other users are logged in."
|
||||
msgstr "其他使用者已登入。"
|
||||
|
||||
#. Translators: Remote here refers to a remote session, like a ssh login */
|
||||
#: ../js/ui/endSessionDialog.js:619
|
||||
#: ../js/ui/endSessionDialog.js:640
|
||||
#, javascript-format
|
||||
msgid "%s (remote)"
|
||||
msgstr "%s (遠端)"
|
||||
|
||||
#. Translators: Console here refers to a tty like a VT console */
|
||||
#: ../js/ui/endSessionDialog.js:622
|
||||
#: ../js/ui/endSessionDialog.js:643
|
||||
#, javascript-format
|
||||
msgid "%s (console)"
|
||||
msgstr "%s (主控臺)"
|
||||
@ -1112,7 +1112,7 @@ msgstr "安裝"
|
||||
msgid "Download and install “%s” from extensions.gnome.org?"
|
||||
msgstr "是否從 extensions.gnome.org 下載並安裝「%s」?"
|
||||
|
||||
#: ../js/ui/keyboard.js:653 ../js/ui/status/keyboard.js:339
|
||||
#: ../js/ui/keyboard.js:700 ../js/ui/status/keyboard.js:523
|
||||
msgid "Keyboard"
|
||||
msgstr "鍵盤"
|
||||
|
||||
@ -1134,8 +1134,8 @@ msgstr "隱藏錯誤"
|
||||
msgid "Show Errors"
|
||||
msgstr "顯示錯誤"
|
||||
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:62
|
||||
#: ../js/ui/status/location.js:164
|
||||
#: ../js/ui/lookingGlass.js:716 ../js/ui/status/location.js:71
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "Enabled"
|
||||
msgstr "已啟用"
|
||||
|
||||
@ -1143,7 +1143,7 @@ msgstr "已啟用"
|
||||
#. because it's disabled by rfkill (airplane mode) */
|
||||
#. translators:
|
||||
#. * The device has been disabled
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:167
|
||||
#: ../js/ui/lookingGlass.js:719 ../js/ui/status/location.js:179
|
||||
#: ../js/ui/status/network.js:592 ../src/gvc/gvc-mixer-control.c:1830
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
@ -1168,39 +1168,39 @@ msgstr "檢示來源"
|
||||
msgid "Web Page"
|
||||
msgstr "網頁"
|
||||
|
||||
#: ../js/ui/messageTray.js:1325
|
||||
#: ../js/ui/messageTray.js:1327
|
||||
msgid "Open"
|
||||
msgstr "開啟"
|
||||
|
||||
#: ../js/ui/messageTray.js:1332
|
||||
#: ../js/ui/messageTray.js:1334
|
||||
msgid "Remove"
|
||||
msgstr "移除"
|
||||
|
||||
#: ../js/ui/messageTray.js:1629
|
||||
#: ../js/ui/messageTray.js:1631
|
||||
msgid "Notifications"
|
||||
msgstr "通知"
|
||||
|
||||
#: ../js/ui/messageTray.js:1636
|
||||
#: ../js/ui/messageTray.js:1638
|
||||
msgid "Clear Messages"
|
||||
msgstr "清除訊息"
|
||||
|
||||
#: ../js/ui/messageTray.js:1655
|
||||
#: ../js/ui/messageTray.js:1657
|
||||
msgid "Notification Settings"
|
||||
msgstr "通知設定值"
|
||||
|
||||
#: ../js/ui/messageTray.js:1708
|
||||
#: ../js/ui/messageTray.js:1710
|
||||
msgid "Tray Menu"
|
||||
msgstr "系統匣選單"
|
||||
|
||||
#: ../js/ui/messageTray.js:1925
|
||||
#: ../js/ui/messageTray.js:1934
|
||||
msgid "No Messages"
|
||||
msgstr "沒有訊息"
|
||||
|
||||
#: ../js/ui/messageTray.js:1963
|
||||
#: ../js/ui/messageTray.js:1979
|
||||
msgid "Message Tray"
|
||||
msgstr "訊息匣"
|
||||
|
||||
#: ../js/ui/messageTray.js:2966
|
||||
#: ../js/ui/messageTray.js:2992
|
||||
msgid "System Information"
|
||||
msgstr "系統資訊"
|
||||
|
||||
@ -1227,7 +1227,7 @@ msgstr "概覽"
|
||||
#. in the search entry when no search is
|
||||
#. active; it should not exceed ~30
|
||||
#. characters. */
|
||||
#: ../js/ui/overview.js:250
|
||||
#: ../js/ui/overview.js:246
|
||||
msgid "Type to search…"
|
||||
msgstr "輸入以搜尋…"
|
||||
|
||||
@ -1245,7 +1245,7 @@ msgstr "概覽 "
|
||||
msgid "Top Bar"
|
||||
msgstr "頂端列"
|
||||
|
||||
#: ../js/ui/popupMenu.js:280
|
||||
#: ../js/ui/popupMenu.js:269
|
||||
msgid "toggle-switch-us"
|
||||
msgstr "toggle-switch-us"
|
||||
|
||||
@ -1257,7 +1257,7 @@ msgstr "請輸入指令"
|
||||
msgid "Close"
|
||||
msgstr "關閉"
|
||||
|
||||
#: ../js/ui/runDialog.js:273
|
||||
#: ../js/ui/runDialog.js:277
|
||||
msgid "Restarting…"
|
||||
msgstr "重新啟動…"
|
||||
|
||||
@ -1273,43 +1273,43 @@ msgid "%d new notification"
|
||||
msgid_plural "%d new notifications"
|
||||
msgstr[0] "%d 個新通知"
|
||||
|
||||
#: ../js/ui/screenShield.js:474 ../js/ui/status/system.js:345
|
||||
#: ../js/ui/screenShield.js:472 ../js/ui/status/system.js:345
|
||||
msgid "Lock"
|
||||
msgstr "鎖定"
|
||||
|
||||
#: ../js/ui/screenShield.js:708
|
||||
#: ../js/ui/screenShield.js:706
|
||||
msgid "GNOME needs to lock the screen"
|
||||
msgstr "GNOME 需要鎖定螢幕"
|
||||
|
||||
#: ../js/ui/screenShield.js:835 ../js/ui/screenShield.js:1306
|
||||
#: ../js/ui/screenShield.js:833 ../js/ui/screenShield.js:1304
|
||||
msgid "Unable to lock"
|
||||
msgstr "無法鎖定"
|
||||
|
||||
#: ../js/ui/screenShield.js:836 ../js/ui/screenShield.js:1307
|
||||
#: ../js/ui/screenShield.js:834 ../js/ui/screenShield.js:1305
|
||||
msgid "Lock was blocked by an application"
|
||||
msgstr "鎖定被應用程式阻擋"
|
||||
|
||||
#: ../js/ui/search.js:614
|
||||
#: ../js/ui/search.js:611
|
||||
msgid "Searching…"
|
||||
msgstr "搜尋…"
|
||||
|
||||
#: ../js/ui/search.js:660
|
||||
#: ../js/ui/search.js:613
|
||||
msgid "No results."
|
||||
msgstr "沒有結果。"
|
||||
|
||||
#: ../js/ui/shellEntry.js:27
|
||||
#: ../js/ui/shellEntry.js:25
|
||||
msgid "Copy"
|
||||
msgstr "複製"
|
||||
|
||||
#: ../js/ui/shellEntry.js:32
|
||||
#: ../js/ui/shellEntry.js:30
|
||||
msgid "Paste"
|
||||
msgstr "貼上"
|
||||
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
#: ../js/ui/shellEntry.js:97
|
||||
msgid "Show Text"
|
||||
msgstr "顯示文字"
|
||||
|
||||
#: ../js/ui/shellEntry.js:101
|
||||
#: ../js/ui/shellEntry.js:99
|
||||
msgid "Hide Text"
|
||||
msgstr "隱藏文字"
|
||||
|
||||
@ -1394,23 +1394,28 @@ msgstr "未連線"
|
||||
msgid "Brightness"
|
||||
msgstr "亮度"
|
||||
|
||||
#: ../js/ui/status/keyboard.js:407
|
||||
#: ../js/ui/status/keyboard.js:547
|
||||
msgid "Show Keyboard Layout"
|
||||
msgstr "顯示鍵盤配置"
|
||||
|
||||
#: ../js/ui/status/location.js:56
|
||||
#: ../js/ui/status/location.js:65
|
||||
msgid "Location"
|
||||
msgstr "位置"
|
||||
|
||||
#: ../js/ui/status/location.js:63 ../js/ui/status/location.js:165
|
||||
#: ../js/ui/status/location.js:72 ../js/ui/status/location.js:177
|
||||
msgid "Disable"
|
||||
msgstr "停用"
|
||||
|
||||
#: ../js/ui/status/location.js:164
|
||||
#: ../js/ui/status/location.js:73
|
||||
#| msgid "Power Settings"
|
||||
msgid "Privacy Settings"
|
||||
msgstr "隱私設定值"
|
||||
|
||||
#: ../js/ui/status/location.js:176
|
||||
msgid "In Use"
|
||||
msgstr "使用中"
|
||||
|
||||
#: ../js/ui/status/location.js:168
|
||||
#: ../js/ui/status/location.js:180
|
||||
msgid "Enable"
|
||||
msgstr "啟用"
|
||||
|
||||
@ -1582,12 +1587,12 @@ msgstr "評估中…"
|
||||
#: ../js/ui/status/power.js:86
|
||||
#, javascript-format
|
||||
msgid "%d∶%02d Remaining (%d%%)"
|
||||
msgstr "%d∶剩餘 %02d (%d%%)"
|
||||
msgstr "剩餘時間 %d∶%02d (%d%%)"
|
||||
|
||||
#: ../js/ui/status/power.js:91
|
||||
#, javascript-format
|
||||
msgid "%d∶%02d Until Full (%d%%)"
|
||||
msgstr "%d∶直到充滿 %02d (%d%%)"
|
||||
msgstr "直到充滿還需 %d∶%02d (%d%%)"
|
||||
|
||||
#: ../js/ui/status/power.js:119
|
||||
msgid "UPS"
|
||||
@ -1645,11 +1650,11 @@ msgstr "以另一個使用者身分登入"
|
||||
msgid "Unlock Window"
|
||||
msgstr "解鎖視窗"
|
||||
|
||||
#: ../js/ui/viewSelector.js:232
|
||||
#: ../js/ui/viewSelector.js:158
|
||||
msgid "Applications"
|
||||
msgstr "應用程式"
|
||||
|
||||
#: ../js/ui/viewSelector.js:236
|
||||
#: ../js/ui/viewSelector.js:162
|
||||
msgid "Search"
|
||||
msgstr "搜尋"
|
||||
|
||||
@ -1743,19 +1748,19 @@ msgstr[0] "%u 輸入"
|
||||
msgid "System Sounds"
|
||||
msgstr "系統音效"
|
||||
|
||||
#: ../src/main.c:371
|
||||
#: ../src/main.c:373
|
||||
msgid "Print version"
|
||||
msgstr "顯示版本"
|
||||
|
||||
#: ../src/main.c:377
|
||||
#: ../src/main.c:379
|
||||
msgid "Mode used by GDM for login screen"
|
||||
msgstr "GDM 在登入畫面使用的模式"
|
||||
|
||||
#: ../src/main.c:383
|
||||
#: ../src/main.c:385
|
||||
msgid "Use a specific mode, e.g. \"gdm\" for login screen"
|
||||
msgstr "使用指定的模式,例如「gdm」為登入畫面"
|
||||
|
||||
#: ../src/main.c:389
|
||||
#: ../src/main.c:391
|
||||
msgid "List possible modes"
|
||||
msgstr "列出可能的模式"
|
||||
|
||||
|
@ -1132,14 +1132,6 @@ shell_global_end_modal (ShellGlobal *global,
|
||||
sync_input_region (global);
|
||||
}
|
||||
|
||||
void
|
||||
shell_global_freeze_keyboard (ShellGlobal *global,
|
||||
guint32 timestamp)
|
||||
{
|
||||
if (global->stage_xwindow != None)
|
||||
meta_display_freeze_keyboard (global->meta_display, global->stage_xwindow, timestamp);
|
||||
}
|
||||
|
||||
/* Code to close all file descriptors before we exec; copied from gspawn.c in GLib.
|
||||
*
|
||||
* Authors: Padraig O'Briain, Matthias Clasen, Lennart Poettering
|
||||
|
@ -45,8 +45,6 @@ gboolean shell_global_begin_modal (ShellGlobal *global,
|
||||
MetaModalOptions options);
|
||||
void shell_global_end_modal (ShellGlobal *global,
|
||||
guint32 timestamp);
|
||||
void shell_global_freeze_keyboard (ShellGlobal *global,
|
||||
guint32 timestamp);
|
||||
|
||||
void shell_global_set_stage_input_region (ShellGlobal *global,
|
||||
GSList *rectangles);
|
||||
|
@ -17,7 +17,9 @@
|
||||
#include <cogl/cogl.h>
|
||||
#include <meta/screen.h>
|
||||
#include <meta/meta-cursor-tracker.h>
|
||||
#include <meta/compositor-mutter.h>
|
||||
|
||||
#include "shell-global.h"
|
||||
#include "shell-recorder-src.h"
|
||||
#include "shell-recorder.h"
|
||||
|
||||
@ -1535,6 +1537,9 @@ shell_recorder_record (ShellRecorder *recorder,
|
||||
recorder_update_pointer (recorder);
|
||||
recorder_add_update_pointer_timeout (recorder);
|
||||
|
||||
/* Disable unredirection while we are recoring */
|
||||
meta_disable_unredirect_for_screen (shell_global_get_screen (shell_global_get ()));
|
||||
|
||||
/* Set up repaint hook */
|
||||
recorder->repaint_hook_id = clutter_threads_add_repaint_func(recorder_repaint_hook, recorder->stage, NULL);
|
||||
|
||||
@ -1583,6 +1588,9 @@ shell_recorder_close (ShellRecorder *recorder)
|
||||
|
||||
recorder->state = RECORDER_STATE_CLOSED;
|
||||
|
||||
/* Reenable after the recording */
|
||||
meta_enable_unredirect_for_screen (shell_global_get_screen (shell_global_get ()));
|
||||
|
||||
/* Release the refcount we took when we started recording */
|
||||
g_object_unref (recorder);
|
||||
}
|
||||
|
@ -23,12 +23,12 @@ struct _ShellScreenshot
|
||||
{
|
||||
GObject parent_instance;
|
||||
|
||||
ShellGlobal *global;
|
||||
ShellScreenshotPrivate *priv;
|
||||
};
|
||||
|
||||
/* Used for async screenshot grabbing */
|
||||
typedef struct _screenshot_data {
|
||||
ShellScreenshot *screenshot;
|
||||
struct _ShellScreenshotPrivate
|
||||
{
|
||||
ShellGlobal *global;
|
||||
|
||||
char *filename;
|
||||
char *filename_used;
|
||||
@ -39,9 +39,9 @@ typedef struct _screenshot_data {
|
||||
gboolean include_cursor;
|
||||
|
||||
ShellScreenshotCallback callback;
|
||||
} _screenshot_data;
|
||||
};
|
||||
|
||||
G_DEFINE_TYPE(ShellScreenshot, shell_screenshot, G_TYPE_OBJECT);
|
||||
G_DEFINE_TYPE_WITH_PRIVATE (ShellScreenshot, shell_screenshot, G_TYPE_OBJECT);
|
||||
|
||||
static void
|
||||
shell_screenshot_class_init (ShellScreenshotClass *screenshot_class)
|
||||
@ -52,7 +52,8 @@ shell_screenshot_class_init (ShellScreenshotClass *screenshot_class)
|
||||
static void
|
||||
shell_screenshot_init (ShellScreenshot *screenshot)
|
||||
{
|
||||
screenshot->global = shell_global_get ();
|
||||
screenshot->priv = shell_screenshot_get_instance_private (screenshot);
|
||||
screenshot->priv->global = shell_global_get ();
|
||||
}
|
||||
|
||||
static void
|
||||
@ -60,18 +61,18 @@ on_screenshot_written (GObject *source,
|
||||
GAsyncResult *result,
|
||||
gpointer user_data)
|
||||
{
|
||||
_screenshot_data *screenshot_data = (_screenshot_data*) user_data;
|
||||
if (screenshot_data->callback)
|
||||
screenshot_data->callback (screenshot_data->screenshot,
|
||||
g_simple_async_result_get_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (result)),
|
||||
&screenshot_data->screenshot_area,
|
||||
screenshot_data->filename_used);
|
||||
ShellScreenshot *screenshot = SHELL_SCREENSHOT (source);
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
cairo_surface_destroy (screenshot_data->image);
|
||||
g_object_unref (screenshot_data->screenshot);
|
||||
g_free (screenshot_data->filename);
|
||||
g_free (screenshot_data->filename_used);
|
||||
g_free (screenshot_data);
|
||||
if (priv->callback)
|
||||
priv->callback (screenshot,
|
||||
g_simple_async_result_get_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (result)),
|
||||
&priv->screenshot_area,
|
||||
priv->filename_used);
|
||||
|
||||
g_clear_pointer (&priv->image, cairo_surface_destroy);
|
||||
g_clear_pointer (&priv->filename, g_free);
|
||||
g_clear_pointer (&priv->filename_used, g_free);
|
||||
}
|
||||
|
||||
/* called in an I/O thread */
|
||||
@ -170,12 +171,15 @@ write_screenshot_thread (GSimpleAsyncResult *result,
|
||||
{
|
||||
cairo_status_t status;
|
||||
GOutputStream *stream;
|
||||
_screenshot_data *screenshot_data = g_async_result_get_user_data (G_ASYNC_RESULT (result));
|
||||
ShellScreenshot *screenshot = SHELL_SCREENSHOT (object);
|
||||
ShellScreenshotPrivate *priv;
|
||||
|
||||
g_assert (screenshot_data != NULL);
|
||||
g_assert (screenshot != NULL);
|
||||
|
||||
stream = prepare_write_stream (screenshot_data->filename,
|
||||
&screenshot_data->filename_used);
|
||||
priv = screenshot->priv;
|
||||
|
||||
stream = prepare_write_stream (priv->filename,
|
||||
&priv->filename_used);
|
||||
|
||||
if (stream == NULL)
|
||||
status = CAIRO_STATUS_FILE_NOT_FOUND;
|
||||
@ -183,10 +187,10 @@ write_screenshot_thread (GSimpleAsyncResult *result,
|
||||
{
|
||||
GdkPixbuf *pixbuf;
|
||||
|
||||
pixbuf = gdk_pixbuf_get_from_surface (screenshot_data->image,
|
||||
pixbuf = gdk_pixbuf_get_from_surface (priv->image,
|
||||
0, 0,
|
||||
cairo_image_surface_get_width (screenshot_data->image),
|
||||
cairo_image_surface_get_height (screenshot_data->image));
|
||||
cairo_image_surface_get_width (priv->image),
|
||||
cairo_image_surface_get_height (priv->image));
|
||||
|
||||
if (gdk_pixbuf_save_to_stream (pixbuf, stream, "png", NULL, NULL,
|
||||
"tEXt::Software", "gnome-screenshot", NULL))
|
||||
@ -204,7 +208,7 @@ write_screenshot_thread (GSimpleAsyncResult *result,
|
||||
}
|
||||
|
||||
static void
|
||||
do_grab_screenshot (_screenshot_data *screenshot_data,
|
||||
do_grab_screenshot (ShellScreenshot *screenshot,
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
@ -215,16 +219,17 @@ do_grab_screenshot (_screenshot_data *screenshot_data,
|
||||
CoglContext *context;
|
||||
int stride;
|
||||
guchar *data;
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
backend = clutter_get_default_backend ();
|
||||
context = clutter_backend_get_cogl_context (backend);
|
||||
|
||||
screenshot_data->image = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
|
||||
priv->image = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
|
||||
width, height);
|
||||
|
||||
|
||||
data = cairo_image_surface_get_data (screenshot_data->image);
|
||||
stride = cairo_image_surface_get_stride (screenshot_data->image);
|
||||
data = cairo_image_surface_get_data (priv->image);
|
||||
stride = cairo_image_surface_get_stride (priv->image);
|
||||
|
||||
bitmap = cogl_bitmap_new_for_data (context,
|
||||
width,
|
||||
@ -237,7 +242,7 @@ do_grab_screenshot (_screenshot_data *screenshot_data,
|
||||
COGL_READ_PIXELS_COLOR_BUFFER,
|
||||
bitmap);
|
||||
|
||||
cairo_surface_mark_dirty (screenshot_data->image);
|
||||
cairo_surface_mark_dirty (priv->image);
|
||||
cogl_object_unref (bitmap);
|
||||
}
|
||||
|
||||
@ -310,17 +315,19 @@ _draw_cursor_image (MetaCursorTracker *tracker,
|
||||
|
||||
static void
|
||||
grab_screenshot (ClutterActor *stage,
|
||||
_screenshot_data *screenshot_data)
|
||||
ShellScreenshot *screenshot)
|
||||
{
|
||||
MetaScreen *screen = shell_global_get_screen (screenshot_data->screenshot->global);
|
||||
MetaScreen *screen;
|
||||
MetaCursorTracker *tracker;
|
||||
int width, height;
|
||||
GSimpleAsyncResult *result;
|
||||
GSettings *settings;
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
screen = shell_global_get_screen (priv->global);
|
||||
meta_screen_get_size (screen, &width, &height);
|
||||
|
||||
do_grab_screenshot (screenshot_data, 0, 0, width, height);
|
||||
do_grab_screenshot (screenshot, 0, 0, width, height);
|
||||
|
||||
if (meta_screen_get_n_monitors (screen) > 1)
|
||||
{
|
||||
@ -346,7 +353,7 @@ grab_screenshot (ClutterActor *stage,
|
||||
cairo_region_xor (stage_region, screen_region);
|
||||
cairo_region_destroy (screen_region);
|
||||
|
||||
cr = cairo_create (screenshot_data->image);
|
||||
cr = cairo_create (priv->image);
|
||||
|
||||
for (i = 0; i < cairo_region_num_rectangles (stage_region); i++)
|
||||
{
|
||||
@ -360,41 +367,42 @@ grab_screenshot (ClutterActor *stage,
|
||||
cairo_region_destroy (stage_region);
|
||||
}
|
||||
|
||||
screenshot_data->screenshot_area.x = 0;
|
||||
screenshot_data->screenshot_area.y = 0;
|
||||
screenshot_data->screenshot_area.width = width;
|
||||
screenshot_data->screenshot_area.height = height;
|
||||
priv->screenshot_area.x = 0;
|
||||
priv->screenshot_area.y = 0;
|
||||
priv->screenshot_area.width = width;
|
||||
priv->screenshot_area.height = height;
|
||||
|
||||
settings = g_settings_new (A11Y_APPS_SCHEMA);
|
||||
if (screenshot_data->include_cursor &&
|
||||
if (priv->include_cursor &&
|
||||
!g_settings_get_boolean (settings, MAGNIFIER_ACTIVE_KEY))
|
||||
{
|
||||
tracker = meta_cursor_tracker_get_for_screen (screen);
|
||||
_draw_cursor_image (tracker, screenshot_data->image, screenshot_data->screenshot_area);
|
||||
_draw_cursor_image (tracker, priv->image, priv->screenshot_area);
|
||||
}
|
||||
g_object_unref (settings);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (stage, (void *)grab_screenshot, (gpointer)screenshot_data);
|
||||
g_signal_handlers_disconnect_by_func (stage, (void *)grab_screenshot, (gpointer)screenshot);
|
||||
|
||||
result = g_simple_async_result_new (NULL, on_screenshot_written, (gpointer)screenshot_data, grab_screenshot);
|
||||
result = g_simple_async_result_new (G_OBJECT (screenshot), on_screenshot_written, NULL, grab_screenshot);
|
||||
g_simple_async_result_run_in_thread (result, write_screenshot_thread, G_PRIORITY_DEFAULT, NULL);
|
||||
g_object_unref (result);
|
||||
}
|
||||
|
||||
static void
|
||||
grab_area_screenshot (ClutterActor *stage,
|
||||
_screenshot_data *screenshot_data)
|
||||
ShellScreenshot *screenshot)
|
||||
{
|
||||
GSimpleAsyncResult *result;
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
do_grab_screenshot (screenshot_data,
|
||||
screenshot_data->screenshot_area.x,
|
||||
screenshot_data->screenshot_area.y,
|
||||
screenshot_data->screenshot_area.width,
|
||||
screenshot_data->screenshot_area.height);
|
||||
do_grab_screenshot (screenshot,
|
||||
priv->screenshot_area.x,
|
||||
priv->screenshot_area.y,
|
||||
priv->screenshot_area.width,
|
||||
priv->screenshot_area.height);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (stage, (void *)grab_area_screenshot, (gpointer)screenshot_data);
|
||||
result = g_simple_async_result_new (NULL, on_screenshot_written, (gpointer)screenshot_data, grab_area_screenshot);
|
||||
g_signal_handlers_disconnect_by_func (stage, (void *)grab_area_screenshot, (gpointer)screenshot);
|
||||
result = g_simple_async_result_new (G_OBJECT (screenshot), on_screenshot_written, NULL, grab_area_screenshot);
|
||||
g_simple_async_result_run_in_thread (result, write_screenshot_thread, G_PRIORITY_DEFAULT, NULL);
|
||||
g_object_unref (result);
|
||||
}
|
||||
@ -418,16 +426,21 @@ shell_screenshot_screenshot (ShellScreenshot *screenshot,
|
||||
ShellScreenshotCallback callback)
|
||||
{
|
||||
ClutterActor *stage;
|
||||
_screenshot_data *data = g_new0 (_screenshot_data, 1);
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
data->screenshot = g_object_ref (screenshot);
|
||||
data->filename = g_strdup (filename);
|
||||
data->callback = callback;
|
||||
data->include_cursor = include_cursor;
|
||||
if (priv->filename != NULL) {
|
||||
if (callback)
|
||||
callback (screenshot, FALSE, NULL, "");
|
||||
return;
|
||||
}
|
||||
|
||||
stage = CLUTTER_ACTOR (shell_global_get_stage (screenshot->global));
|
||||
priv->filename = g_strdup (filename);
|
||||
priv->callback = callback;
|
||||
priv->include_cursor = include_cursor;
|
||||
|
||||
g_signal_connect_after (stage, "paint", G_CALLBACK (grab_screenshot), (gpointer)data);
|
||||
stage = CLUTTER_ACTOR (shell_global_get_stage (priv->global));
|
||||
|
||||
g_signal_connect_after (stage, "paint", G_CALLBACK (grab_screenshot), (gpointer)screenshot);
|
||||
|
||||
clutter_actor_queue_redraw (stage);
|
||||
}
|
||||
@ -457,19 +470,24 @@ shell_screenshot_screenshot_area (ShellScreenshot *screenshot,
|
||||
ShellScreenshotCallback callback)
|
||||
{
|
||||
ClutterActor *stage;
|
||||
_screenshot_data *data = g_new0 (_screenshot_data, 1);
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
data->screenshot = g_object_ref (screenshot);
|
||||
data->filename = g_strdup (filename);
|
||||
data->screenshot_area.x = x;
|
||||
data->screenshot_area.y = y;
|
||||
data->screenshot_area.width = width;
|
||||
data->screenshot_area.height = height;
|
||||
data->callback = callback;
|
||||
if (priv->filename != NULL) {
|
||||
if (callback)
|
||||
callback (screenshot, FALSE, NULL, "");
|
||||
return;
|
||||
}
|
||||
|
||||
stage = CLUTTER_ACTOR (shell_global_get_stage (screenshot->global));
|
||||
priv->filename = g_strdup (filename);
|
||||
priv->screenshot_area.x = x;
|
||||
priv->screenshot_area.y = y;
|
||||
priv->screenshot_area.width = width;
|
||||
priv->screenshot_area.height = height;
|
||||
priv->callback = callback;
|
||||
|
||||
g_signal_connect_after (stage, "paint", G_CALLBACK (grab_area_screenshot), (gpointer)data);
|
||||
stage = CLUTTER_ACTOR (shell_global_get_stage (priv->global));
|
||||
|
||||
g_signal_connect_after (stage, "paint", G_CALLBACK (grab_area_screenshot), (gpointer)screenshot);
|
||||
|
||||
clutter_actor_queue_redraw (stage);
|
||||
}
|
||||
@ -496,10 +514,9 @@ shell_screenshot_screenshot_window (ShellScreenshot *screenshot,
|
||||
{
|
||||
GSimpleAsyncResult *result;
|
||||
GSettings *settings;
|
||||
ShellScreenshotPrivate *priv = screenshot->priv;
|
||||
|
||||
_screenshot_data *screenshot_data = g_new0 (_screenshot_data, 1);
|
||||
|
||||
MetaScreen *screen = shell_global_get_screen (screenshot->global);
|
||||
MetaScreen *screen = shell_global_get_screen (priv->global);
|
||||
MetaCursorTracker *tracker;
|
||||
MetaDisplay *display = meta_screen_get_display (screen);
|
||||
MetaWindow *window = meta_display_get_focus_window (display);
|
||||
@ -509,21 +526,15 @@ shell_screenshot_screenshot_window (ShellScreenshot *screenshot,
|
||||
MetaRectangle rect;
|
||||
cairo_rectangle_int_t clip;
|
||||
|
||||
screenshot_data->screenshot = g_object_ref (screenshot);
|
||||
screenshot_data->filename = g_strdup (filename);
|
||||
screenshot_data->callback = callback;
|
||||
|
||||
if (!window)
|
||||
{
|
||||
screenshot_data->filename_used = g_strdup ("");
|
||||
result = g_simple_async_result_new (NULL, on_screenshot_written, (gpointer)screenshot_data, shell_screenshot_screenshot_window);
|
||||
g_simple_async_result_set_op_res_gboolean (result, FALSE);
|
||||
g_simple_async_result_complete (result);
|
||||
g_object_unref (result);
|
||||
|
||||
if (priv->filename != NULL || !window) {
|
||||
if (callback)
|
||||
callback (screenshot, FALSE, NULL, "");
|
||||
return;
|
||||
}
|
||||
|
||||
priv->filename = g_strdup (filename);
|
||||
priv->callback = callback;
|
||||
|
||||
window_actor = CLUTTER_ACTOR (meta_window_get_compositor_private (window));
|
||||
clutter_actor_get_position (window_actor, &actor_x, &actor_y);
|
||||
|
||||
@ -532,26 +543,26 @@ shell_screenshot_screenshot_window (ShellScreenshot *screenshot,
|
||||
if (!include_frame)
|
||||
meta_window_frame_rect_to_client_rect (window, &rect, &rect);
|
||||
|
||||
screenshot_data->screenshot_area.x = rect.x;
|
||||
screenshot_data->screenshot_area.y = rect.y;
|
||||
priv->screenshot_area.x = rect.x;
|
||||
priv->screenshot_area.y = rect.y;
|
||||
clip.x = rect.x - (gint) actor_x;
|
||||
clip.y = rect.y - (gint) actor_y;
|
||||
|
||||
clip.width = screenshot_data->screenshot_area.width = rect.width;
|
||||
clip.height = screenshot_data->screenshot_area.height = rect.height;
|
||||
clip.width = priv->screenshot_area.width = rect.width;
|
||||
clip.height = priv->screenshot_area.height = rect.height;
|
||||
|
||||
stex = META_SHAPED_TEXTURE (meta_window_actor_get_texture (META_WINDOW_ACTOR (window_actor)));
|
||||
screenshot_data->image = meta_shaped_texture_get_image (stex, &clip);
|
||||
priv->image = meta_shaped_texture_get_image (stex, &clip);
|
||||
|
||||
settings = g_settings_new (A11Y_APPS_SCHEMA);
|
||||
if (include_cursor && !g_settings_get_boolean (settings, MAGNIFIER_ACTIVE_KEY))
|
||||
{
|
||||
tracker = meta_cursor_tracker_get_for_screen (screen);
|
||||
_draw_cursor_image (tracker, screenshot_data->image, screenshot_data->screenshot_area);
|
||||
_draw_cursor_image (tracker, priv->image, priv->screenshot_area);
|
||||
}
|
||||
g_object_unref (settings);
|
||||
|
||||
result = g_simple_async_result_new (NULL, on_screenshot_written, (gpointer)screenshot_data, shell_screenshot_screenshot_window);
|
||||
result = g_simple_async_result_new (G_OBJECT (screenshot), on_screenshot_written, NULL, shell_screenshot_screenshot_window);
|
||||
g_simple_async_result_run_in_thread (result, write_screenshot_thread, G_PRIORITY_DEFAULT, NULL);
|
||||
g_object_unref (result);
|
||||
}
|
||||
|
@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
typedef struct _ShellScreenshot ShellScreenshot;
|
||||
typedef struct _ShellScreenshotPrivate ShellScreenshotPrivate;
|
||||
typedef struct _ShellScreenshotClass ShellScreenshotClass;
|
||||
|
||||
#define SHELL_TYPE_SCREENSHOT (shell_screenshot_get_type ())
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <gdk/gdkx.h>
|
||||
#include <X11/extensions/XTest.h>
|
||||
|
||||
#include <locale.h>
|
||||
#ifdef HAVE__NL_TIME_FIRST_WEEKDAY
|
||||
#include <langinfo.h>
|
||||
#endif
|
||||
@ -208,6 +209,32 @@ shell_util_get_week_start ()
|
||||
return week_start;
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_util_translate_time_string:
|
||||
* @str: String to translate
|
||||
*
|
||||
* Translate @str according to the locale defined by LC_TIME; unlike
|
||||
* dcgettext(), the translations is still taken from the LC_MESSAGES
|
||||
* catalogue and not the LC_TIME one.
|
||||
*
|
||||
* Returns: the translated string
|
||||
*/
|
||||
const char *
|
||||
shell_util_translate_time_string (const char *str)
|
||||
{
|
||||
const char *locale = g_getenv ("LC_TIME");
|
||||
const char *res;
|
||||
|
||||
if (locale)
|
||||
setlocale (LC_MESSAGES, locale);
|
||||
|
||||
res = gettext (str);
|
||||
|
||||
setlocale (LC_MESSAGES, "");
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_write_string_to_stream:
|
||||
* @stream: a #GOutputStream
|
||||
|
@ -21,6 +21,7 @@ int shell_util_get_week_start (void);
|
||||
|
||||
char *shell_util_format_date (const char *format,
|
||||
gint64 time_ms);
|
||||
const char *shell_util_translate_time_string (const char *str);
|
||||
|
||||
gboolean shell_write_string_to_stream (GOutputStream *stream,
|
||||
const char *str,
|
||||
|
@ -448,12 +448,9 @@ update_focus_app (ShellWindowTracker *self)
|
||||
}
|
||||
|
||||
static void
|
||||
on_wm_class_changed (MetaWindow *window,
|
||||
GParamSpec *pspec,
|
||||
gpointer user_data)
|
||||
tracked_window_changed (ShellWindowTracker *self,
|
||||
MetaWindow *window)
|
||||
{
|
||||
ShellWindowTracker *self = SHELL_WINDOW_TRACKER (user_data);
|
||||
|
||||
/* It's simplest to just treat this as a remove + add. */
|
||||
disassociate_window (self, window);
|
||||
track_window (self, window);
|
||||
@ -462,6 +459,24 @@ on_wm_class_changed (MetaWindow *window,
|
||||
update_focus_app (self);
|
||||
}
|
||||
|
||||
static void
|
||||
on_wm_class_changed (MetaWindow *window,
|
||||
GParamSpec *pspec,
|
||||
gpointer user_data)
|
||||
{
|
||||
ShellWindowTracker *self = SHELL_WINDOW_TRACKER (user_data);
|
||||
tracked_window_changed (self, window);
|
||||
}
|
||||
|
||||
static void
|
||||
on_gtk_application_id_changed (MetaWindow *window,
|
||||
GParamSpec *pspec,
|
||||
gpointer user_data)
|
||||
{
|
||||
ShellWindowTracker *self = SHELL_WINDOW_TRACKER (user_data);
|
||||
tracked_window_changed (self, window);
|
||||
}
|
||||
|
||||
static void
|
||||
track_window (ShellWindowTracker *self,
|
||||
MetaWindow *window)
|
||||
@ -476,6 +491,7 @@ track_window (ShellWindowTracker *self,
|
||||
g_hash_table_insert (self->window_to_app, window, app);
|
||||
|
||||
g_signal_connect (window, "notify::wm-class", G_CALLBACK (on_wm_class_changed), self);
|
||||
g_signal_connect (window, "notify::gtk-application-id", G_CALLBACK (on_gtk_application_id_changed), self);
|
||||
|
||||
_shell_app_add_window (app, window);
|
||||
|
||||
@ -508,6 +524,7 @@ disassociate_window (ShellWindowTracker *self,
|
||||
|
||||
_shell_app_remove_window (app, window);
|
||||
g_signal_handlers_disconnect_by_func (window, G_CALLBACK (on_wm_class_changed), self);
|
||||
g_signal_handlers_disconnect_by_func (window, G_CALLBACK (on_gtk_application_id_changed), self);
|
||||
|
||||
g_signal_emit (self, signals[TRACKED_WINDOWS_CHANGED], 0);
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
struct _StBorderImage {
|
||||
GObject parent;
|
||||
|
||||
char *filename;
|
||||
GFile *file;
|
||||
int border_top;
|
||||
int border_right;
|
||||
int border_bottom;
|
||||
@ -48,7 +48,7 @@ st_border_image_finalize (GObject *object)
|
||||
{
|
||||
StBorderImage *image = ST_BORDER_IMAGE (object);
|
||||
|
||||
g_free (image->filename);
|
||||
g_object_unref (image->file);
|
||||
|
||||
G_OBJECT_CLASS (st_border_image_parent_class)->finalize (object);
|
||||
}
|
||||
@ -67,7 +67,7 @@ st_border_image_init (StBorderImage *image)
|
||||
}
|
||||
|
||||
StBorderImage *
|
||||
st_border_image_new (const char *filename,
|
||||
st_border_image_new (GFile *file,
|
||||
int border_top,
|
||||
int border_right,
|
||||
int border_bottom,
|
||||
@ -78,7 +78,7 @@ st_border_image_new (const char *filename,
|
||||
|
||||
image = g_object_new (ST_TYPE_BORDER_IMAGE, NULL);
|
||||
|
||||
image->filename = g_strdup (filename);
|
||||
image->file = g_object_ref (file);
|
||||
image->border_top = border_top;
|
||||
image->border_right = border_right;
|
||||
image->border_bottom = border_bottom;
|
||||
@ -88,12 +88,18 @@ st_border_image_new (const char *filename,
|
||||
return image;
|
||||
}
|
||||
|
||||
const char *
|
||||
st_border_image_get_filename (StBorderImage *image)
|
||||
/**
|
||||
* st_border_image_get_file:
|
||||
* @image: a #StBorder_Image
|
||||
*
|
||||
* Returns: (transfer none): the #GFile for the #StBorder_Image
|
||||
*/
|
||||
GFile *
|
||||
st_border_image_get_file (StBorderImage *image)
|
||||
{
|
||||
g_return_val_if_fail (ST_IS_BORDER_IMAGE (image), NULL);
|
||||
|
||||
return image->filename;
|
||||
return image->file;
|
||||
}
|
||||
|
||||
void
|
||||
@ -135,5 +141,5 @@ st_border_image_equal (StBorderImage *image,
|
||||
image->border_right == other->border_right &&
|
||||
image->border_bottom == other->border_bottom &&
|
||||
image->border_left == other->border_left &&
|
||||
strcmp (image->filename, other->filename) == 0);
|
||||
g_file_equal (image->file, other->file));
|
||||
}
|
||||
|
@ -22,6 +22,7 @@
|
||||
#define __ST_BORDER_IMAGE_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -39,14 +40,14 @@ typedef struct _StBorderImageClass StBorderImageClass;
|
||||
|
||||
GType st_border_image_get_type (void) G_GNUC_CONST;
|
||||
|
||||
StBorderImage *st_border_image_new (const char *filename,
|
||||
StBorderImage *st_border_image_new (GFile *file,
|
||||
int border_top,
|
||||
int border_right,
|
||||
int border_bottom,
|
||||
int border_left,
|
||||
int scale_factor);
|
||||
|
||||
const char *st_border_image_get_filename (StBorderImage *image);
|
||||
GFile *st_border_image_get_file (StBorderImage *image);
|
||||
void st_border_image_get_borders (StBorderImage *image,
|
||||
int *border_top,
|
||||
int *border_right,
|
||||
|
@ -119,7 +119,8 @@ st_clipboard_provider (GdkXEvent *xevent_p,
|
||||
XSelectionRequestEvent *req_event;
|
||||
GdkDisplay *display = gdk_display_get_default ();
|
||||
|
||||
if (xev->type != SelectionRequest)
|
||||
if (xev->type != SelectionRequest ||
|
||||
!clipboard->priv->clipboard_text)
|
||||
return GDK_FILTER_CONTINUE;
|
||||
|
||||
req_event = &xev->xselectionrequest;
|
||||
|
@ -662,6 +662,29 @@ st_entry_key_press_event (ClutterActor *actor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* delete to beginning of line */
|
||||
if ((event->modifier_state & CLUTTER_CONTROL_MASK)
|
||||
&& event->keyval == CLUTTER_u)
|
||||
{
|
||||
int pos = clutter_text_get_cursor_position ((ClutterText *)priv->entry);
|
||||
clutter_text_delete_text ((ClutterText *)priv->entry, 0, pos);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
/* delete to end of line */
|
||||
if ((event->modifier_state & CLUTTER_CONTROL_MASK)
|
||||
&& event->keyval == CLUTTER_k)
|
||||
{
|
||||
ClutterTextBuffer *buffer = clutter_text_get_buffer ((ClutterText *)priv->entry);
|
||||
int pos = clutter_text_get_cursor_position ((ClutterText *)priv->entry);
|
||||
clutter_text_buffer_delete_text (buffer, pos, -1);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return CLUTTER_ACTOR_CLASS (st_entry_parent_class)->key_press_event (actor, event);
|
||||
}
|
||||
|
||||
|
@ -373,6 +373,7 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
|
||||
break;
|
||||
case GTK_POLICY_ALWAYS:
|
||||
case GTK_POLICY_AUTOMATIC:
|
||||
case GTK_POLICY_EXTERNAL:
|
||||
/* Should theoretically use the min width of the hscrollbar,
|
||||
* but that's not cleanly defined at the moment */
|
||||
min_width = 0;
|
||||
@ -382,6 +383,7 @@ st_scroll_view_get_preferred_width (ClutterActor *actor,
|
||||
switch (priv->vscrollbar_policy)
|
||||
{
|
||||
case GTK_POLICY_NEVER:
|
||||
case GTK_POLICY_EXTERNAL:
|
||||
account_for_vscrollbar = FALSE;
|
||||
break;
|
||||
case GTK_POLICY_ALWAYS:
|
||||
@ -443,6 +445,7 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
||||
switch (priv->vscrollbar_policy)
|
||||
{
|
||||
case GTK_POLICY_NEVER:
|
||||
case GTK_POLICY_EXTERNAL:
|
||||
break;
|
||||
case GTK_POLICY_ALWAYS:
|
||||
case GTK_POLICY_AUTOMATIC:
|
||||
@ -454,6 +457,7 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
||||
switch (priv->hscrollbar_policy)
|
||||
{
|
||||
case GTK_POLICY_NEVER:
|
||||
case GTK_POLICY_EXTERNAL:
|
||||
account_for_hscrollbar = FALSE;
|
||||
break;
|
||||
case GTK_POLICY_ALWAYS:
|
||||
@ -480,6 +484,7 @@ st_scroll_view_get_preferred_height (ClutterActor *actor,
|
||||
break;
|
||||
case GTK_POLICY_ALWAYS:
|
||||
case GTK_POLICY_AUTOMATIC:
|
||||
case GTK_POLICY_EXTERNAL:
|
||||
/* Should theoretically use the min height of the vscrollbar,
|
||||
* but that's not cleanly defined at the moment */
|
||||
min_height = 0;
|
||||
@ -567,7 +572,7 @@ st_scroll_view_allocate (ClutterActor *actor,
|
||||
}
|
||||
else
|
||||
{
|
||||
hscrollbar_visible = priv->hscrollbar_policy != GTK_POLICY_NEVER;
|
||||
hscrollbar_visible = priv->hscrollbar_policy == GTK_POLICY_ALWAYS;
|
||||
|
||||
/* try without a vertical scrollbar */
|
||||
clutter_actor_get_preferred_height (priv->child, avail_width, &child_min_height, NULL);
|
||||
@ -576,18 +581,20 @@ st_scroll_view_allocate (ClutterActor *actor,
|
||||
}
|
||||
else
|
||||
{
|
||||
vscrollbar_visible = priv->vscrollbar_policy != GTK_POLICY_NEVER;
|
||||
vscrollbar_visible = priv->vscrollbar_policy == GTK_POLICY_ALWAYS;
|
||||
|
||||
if (priv->hscrollbar_policy == GTK_POLICY_AUTOMATIC)
|
||||
hscrollbar_visible = child_min_width > avail_height - (vscrollbar_visible ? 0 : sb_width);
|
||||
else
|
||||
hscrollbar_visible = priv->hscrollbar_policy != GTK_POLICY_NEVER;
|
||||
hscrollbar_visible = priv->hscrollbar_policy == GTK_POLICY_ALWAYS;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
hscrollbar_visible = priv->hscrollbar_policy != GTK_POLICY_NEVER;
|
||||
vscrollbar_visible = priv->vscrollbar_policy != GTK_POLICY_NEVER;
|
||||
hscrollbar_visible = priv->hscrollbar_policy != GTK_POLICY_NEVER &&
|
||||
priv->hscrollbar_policy != GTK_POLICY_EXTERNAL;
|
||||
vscrollbar_visible = priv->vscrollbar_policy != GTK_POLICY_NEVER &&
|
||||
priv->vscrollbar_policy != GTK_POLICY_EXTERNAL;
|
||||
}
|
||||
|
||||
/* Whether or not we show the scrollbars, if the scrollbars are visible
|
||||
@ -629,15 +636,19 @@ st_scroll_view_allocate (ClutterActor *actor,
|
||||
|
||||
clutter_actor_allocate (priv->hscroll, &child_box, flags);
|
||||
|
||||
/* In case the scrollbar policy is NEVER or scrollbars should be
|
||||
* overlayed, we don't trim the content box allocation by the
|
||||
* scrollbar size.
|
||||
/* In case the scrollbar policy is NEVER or EXTERNAL or scrollbars
|
||||
* should be overlayed, we don't trim the content box allocation by
|
||||
* the scrollbar size.
|
||||
* Fold this into the scrollbar sizes to simplify the rest of the
|
||||
* computations.
|
||||
*/
|
||||
if (priv->hscrollbar_policy == GTK_POLICY_NEVER || priv->overlay_scrollbars)
|
||||
if (priv->hscrollbar_policy == GTK_POLICY_NEVER ||
|
||||
priv->hscrollbar_policy == GTK_POLICY_EXTERNAL ||
|
||||
priv->overlay_scrollbars)
|
||||
sb_height = 0;
|
||||
if (priv->vscrollbar_policy == GTK_POLICY_NEVER || priv->overlay_scrollbars)
|
||||
if (priv->vscrollbar_policy == GTK_POLICY_NEVER ||
|
||||
priv->vscrollbar_policy == GTK_POLICY_EXTERNAL ||
|
||||
priv->overlay_scrollbars)
|
||||
sb_width = 0;
|
||||
|
||||
/* Child */
|
||||
|
@ -28,8 +28,8 @@
|
||||
#include <glib.h>
|
||||
|
||||
#define CACHE_PREFIX_ICON "icon:"
|
||||
#define CACHE_PREFIX_URI "uri:"
|
||||
#define CACHE_PREFIX_URI_FOR_CAIRO "uri-for-cairo:"
|
||||
#define CACHE_PREFIX_FILE "file:"
|
||||
#define CACHE_PREFIX_FILE_FOR_CAIRO "file-for-cairo:"
|
||||
|
||||
struct _StTextureCachePrivate
|
||||
{
|
||||
@ -101,7 +101,7 @@ st_texture_cache_class_init (StTextureCacheClass *klass)
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0, /* no default handler slot */
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE, 1, G_TYPE_STRING);
|
||||
G_TYPE_NONE, 1, G_TYPE_FILE);
|
||||
}
|
||||
|
||||
/* Evicts all cached textures for named icons */
|
||||
@ -147,7 +147,7 @@ st_texture_cache_init (StTextureCache *self)
|
||||
g_free, cogl_object_unref);
|
||||
self->priv->outstanding_requests = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
g_free, NULL);
|
||||
self->priv->file_monitors = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
self->priv->file_monitors = g_hash_table_new_full (g_file_hash, (GEqualFunc) g_file_equal,
|
||||
g_object_unref, g_object_unref);
|
||||
|
||||
}
|
||||
@ -268,7 +268,7 @@ typedef struct {
|
||||
|
||||
GtkIconInfo *icon_info;
|
||||
StIconColors *colors;
|
||||
char *uri;
|
||||
GFile *file;
|
||||
} AsyncTextureLoadData;
|
||||
|
||||
static void
|
||||
@ -282,8 +282,8 @@ texture_load_data_free (gpointer p)
|
||||
if (data->colors)
|
||||
st_icon_colors_unref (data->colors);
|
||||
}
|
||||
else if (data->uri)
|
||||
g_free (data->uri);
|
||||
else if (data->file)
|
||||
g_object_unref (data->file);
|
||||
|
||||
if (data->key)
|
||||
g_free (data->key);
|
||||
@ -406,82 +406,16 @@ out:
|
||||
}
|
||||
|
||||
static GdkPixbuf *
|
||||
decode_image (const char *val)
|
||||
{
|
||||
int i;
|
||||
GError *error = NULL;
|
||||
GdkPixbuf *res = NULL;
|
||||
struct {
|
||||
const char *prefix;
|
||||
const char *mime_type;
|
||||
} formats[] = {
|
||||
{ "data:image/x-icon;base64,", "image/x-icon" },
|
||||
{ "data:image/png;base64,", "image/png" }
|
||||
};
|
||||
|
||||
g_return_val_if_fail (val, NULL);
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (formats); i++)
|
||||
{
|
||||
if (g_str_has_prefix (val, formats[i].prefix))
|
||||
{
|
||||
gsize len;
|
||||
guchar *data = NULL;
|
||||
char *unescaped;
|
||||
|
||||
unescaped = g_uri_unescape_string (val + strlen (formats[i].prefix), NULL);
|
||||
if (unescaped)
|
||||
{
|
||||
data = g_base64_decode (unescaped, &len);
|
||||
g_free (unescaped);
|
||||
}
|
||||
|
||||
if (data)
|
||||
{
|
||||
GdkPixbufLoader *loader;
|
||||
|
||||
loader = gdk_pixbuf_loader_new_with_mime_type (formats[i].mime_type, &error);
|
||||
if (loader &&
|
||||
gdk_pixbuf_loader_write (loader, data, len, &error) &&
|
||||
gdk_pixbuf_loader_close (loader, &error))
|
||||
{
|
||||
res = gdk_pixbuf_loader_get_pixbuf (loader);
|
||||
g_object_ref (res);
|
||||
}
|
||||
g_object_unref (loader);
|
||||
g_free (data);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!res)
|
||||
{
|
||||
if (error)
|
||||
{
|
||||
g_warning ("%s\n", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
else
|
||||
g_warning ("incorrect data uri");
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
static GdkPixbuf *
|
||||
impl_load_pixbuf_file (const char *uri,
|
||||
impl_load_pixbuf_file (GFile *file,
|
||||
int available_width,
|
||||
int available_height,
|
||||
int scale,
|
||||
GError **error)
|
||||
{
|
||||
GdkPixbuf *pixbuf = NULL;
|
||||
GFile *file;
|
||||
char *contents = NULL;
|
||||
gsize size;
|
||||
|
||||
if (g_str_has_prefix (uri, "data:"))
|
||||
return decode_image (uri);
|
||||
|
||||
file = g_file_new_for_uri (uri);
|
||||
if (g_file_load_contents (file, NULL, &contents, &size, NULL, error))
|
||||
{
|
||||
pixbuf = impl_load_pixbuf_data ((const guchar *) contents, size,
|
||||
@ -490,7 +424,6 @@ impl_load_pixbuf_file (const char *uri,
|
||||
error);
|
||||
}
|
||||
|
||||
g_object_unref (file);
|
||||
g_free (contents);
|
||||
|
||||
return pixbuf;
|
||||
@ -507,9 +440,9 @@ load_pixbuf_thread (GSimpleAsyncResult *result,
|
||||
|
||||
data = g_async_result_get_user_data (G_ASYNC_RESULT (result));
|
||||
g_assert (data != NULL);
|
||||
g_assert (data->uri != NULL);
|
||||
g_assert (data->file != NULL);
|
||||
|
||||
pixbuf = impl_load_pixbuf_file (data->uri, data->width, data->height, data->scale, &error);
|
||||
pixbuf = impl_load_pixbuf_file (data->file, data->width, data->height, data->scale, &error);
|
||||
|
||||
if (error != NULL)
|
||||
{
|
||||
@ -647,7 +580,7 @@ static void
|
||||
load_texture_async (StTextureCache *cache,
|
||||
AsyncTextureLoadData *data)
|
||||
{
|
||||
if (data->uri)
|
||||
if (data->file)
|
||||
{
|
||||
GSimpleAsyncResult *result;
|
||||
result = g_simple_async_result_new (G_OBJECT (cache), on_pixbuf_loaded, data, load_texture_async);
|
||||
@ -1014,46 +947,43 @@ file_changed_cb (GFileMonitor *monitor,
|
||||
gpointer user_data)
|
||||
{
|
||||
StTextureCache *cache = user_data;
|
||||
char *uri, *key;
|
||||
char *key;
|
||||
guint file_hash;
|
||||
|
||||
if (event_type != G_FILE_MONITOR_EVENT_CHANGED)
|
||||
return;
|
||||
|
||||
uri = g_file_get_uri (file);
|
||||
file_hash = g_file_hash (file);
|
||||
|
||||
key = g_strconcat (CACHE_PREFIX_URI, uri, NULL);
|
||||
key = g_strdup_printf (CACHE_PREFIX_FILE "%u", file_hash);
|
||||
g_hash_table_remove (cache->priv->keyed_cache, key);
|
||||
g_free (key);
|
||||
|
||||
key = g_strconcat (CACHE_PREFIX_URI_FOR_CAIRO, uri, NULL);
|
||||
key = g_strdup_printf (CACHE_PREFIX_FILE_FOR_CAIRO "%u", file_hash);
|
||||
g_hash_table_remove (cache->priv->keyed_cache, key);
|
||||
g_free (key);
|
||||
|
||||
g_signal_emit (cache, signals[TEXTURE_FILE_CHANGED], 0, uri);
|
||||
|
||||
g_free (uri);
|
||||
g_signal_emit (cache, signals[TEXTURE_FILE_CHANGED], 0, file);
|
||||
}
|
||||
|
||||
static void
|
||||
ensure_monitor_for_uri (StTextureCache *cache,
|
||||
const gchar *uri)
|
||||
ensure_monitor_for_file (StTextureCache *cache,
|
||||
GFile *file)
|
||||
{
|
||||
StTextureCachePrivate *priv = cache->priv;
|
||||
GFile *file = g_file_new_for_uri (uri);
|
||||
|
||||
if (g_hash_table_lookup (priv->file_monitors, uri) == NULL)
|
||||
if (g_hash_table_lookup (priv->file_monitors, file) == NULL)
|
||||
{
|
||||
GFileMonitor *monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE,
|
||||
NULL, NULL);
|
||||
g_signal_connect (monitor, "changed",
|
||||
G_CALLBACK (file_changed_cb), cache);
|
||||
g_hash_table_insert (priv->file_monitors, g_strdup (uri), monitor);
|
||||
g_hash_table_insert (priv->file_monitors, g_object_ref (file), monitor);
|
||||
}
|
||||
g_object_unref (file);
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
gchar *path;
|
||||
GFile *gfile;
|
||||
gint grid_width, grid_height;
|
||||
gint scale_factor;
|
||||
ClutterActor *actor;
|
||||
@ -1065,7 +995,7 @@ static void
|
||||
on_data_destroy (gpointer data)
|
||||
{
|
||||
AsyncImageData *d = (AsyncImageData *)data;
|
||||
g_free (d->path);
|
||||
g_object_unref (d->gfile);
|
||||
g_object_unref (d->actor);
|
||||
g_free (d);
|
||||
}
|
||||
@ -1138,7 +1068,7 @@ load_sliced_image (GSimpleAsyncResult *result,
|
||||
loader = gdk_pixbuf_loader_new ();
|
||||
g_signal_connect (loader, "size-prepared", G_CALLBACK (on_loader_size_prepared), data);
|
||||
|
||||
if (!g_file_get_contents (data->path, &buffer, &length, NULL))
|
||||
if (!g_file_load_contents (data->gfile, NULL, &buffer, &length, NULL, NULL))
|
||||
goto out;
|
||||
|
||||
if (!gdk_pixbuf_loader_write (loader, (const guchar *) buffer, length, NULL))
|
||||
@ -1173,7 +1103,7 @@ load_sliced_image (GSimpleAsyncResult *result,
|
||||
/**
|
||||
* st_texture_cache_load_sliced_image:
|
||||
* @cache: A #StTextureCache
|
||||
* @path: Path to a filename
|
||||
* @file: A #GFile
|
||||
* @grid_width: Width in pixels
|
||||
* @grid_height: Height in pixels
|
||||
* @scale: Scale factor of the display
|
||||
@ -1189,7 +1119,7 @@ load_sliced_image (GSimpleAsyncResult *result,
|
||||
*/
|
||||
ClutterActor *
|
||||
st_texture_cache_load_sliced_image (StTextureCache *cache,
|
||||
const gchar *path,
|
||||
GFile *file,
|
||||
gint grid_width,
|
||||
gint grid_height,
|
||||
gint scale,
|
||||
@ -1204,7 +1134,7 @@ st_texture_cache_load_sliced_image (StTextureCache *cache,
|
||||
data->grid_width = grid_width;
|
||||
data->grid_height = grid_height;
|
||||
data->scale_factor = scale;
|
||||
data->path = g_strdup (path);
|
||||
data->gfile = g_object_ref (file);
|
||||
data->actor = actor;
|
||||
data->load_callback = load_callback;
|
||||
data->load_callback_data = user_data;
|
||||
@ -1221,9 +1151,9 @@ st_texture_cache_load_sliced_image (StTextureCache *cache,
|
||||
}
|
||||
|
||||
/**
|
||||
* st_texture_cache_load_uri_async:
|
||||
* st_texture_cache_load_file_async:
|
||||
* @cache: The texture cache instance
|
||||
* @uri: uri of the image file from which to create a pixbuf
|
||||
* @file: a #GFile of the image file from which to create a pixbuf
|
||||
* @available_width: available width for the image, can be -1 if not limited
|
||||
* @available_height: available height for the image, can be -1 if not limited
|
||||
* @scale: scale factor of the display
|
||||
@ -1235,8 +1165,8 @@ st_texture_cache_load_sliced_image (StTextureCache *cache,
|
||||
* Return value: (transfer none): A new #ClutterActor with no image loaded initially.
|
||||
*/
|
||||
ClutterActor *
|
||||
st_texture_cache_load_uri_async (StTextureCache *cache,
|
||||
const gchar *uri,
|
||||
st_texture_cache_load_file_async (StTextureCache *cache,
|
||||
GFile *file,
|
||||
int available_width,
|
||||
int available_height,
|
||||
int scale)
|
||||
@ -1246,7 +1176,7 @@ st_texture_cache_load_uri_async (StTextureCache *cache,
|
||||
StTextureCachePolicy policy;
|
||||
gchar *key;
|
||||
|
||||
key = g_strconcat (CACHE_PREFIX_URI, uri, NULL);
|
||||
key = g_strdup_printf (CACHE_PREFIX_FILE "%u", g_file_hash (file));
|
||||
|
||||
policy = ST_TEXTURE_CACHE_POLICY_NONE; /* XXX */
|
||||
|
||||
@ -1264,7 +1194,7 @@ st_texture_cache_load_uri_async (StTextureCache *cache,
|
||||
request->cache = cache;
|
||||
/* Transfer ownership of key */
|
||||
request->key = key;
|
||||
request->uri = g_strdup (uri);
|
||||
request->file = g_object_ref (file);
|
||||
request->policy = policy;
|
||||
request->width = available_width;
|
||||
request->height = available_height;
|
||||
@ -1273,15 +1203,15 @@ st_texture_cache_load_uri_async (StTextureCache *cache,
|
||||
load_texture_async (cache, request);
|
||||
}
|
||||
|
||||
ensure_monitor_for_uri (cache, uri);
|
||||
ensure_monitor_for_file (cache, file);
|
||||
|
||||
return CLUTTER_ACTOR (texture);
|
||||
}
|
||||
|
||||
static CoglTexture *
|
||||
st_texture_cache_load_uri_sync_to_cogl_texture (StTextureCache *cache,
|
||||
st_texture_cache_load_file_sync_to_cogl_texture (StTextureCache *cache,
|
||||
StTextureCachePolicy policy,
|
||||
const gchar *uri,
|
||||
GFile *file,
|
||||
int available_width,
|
||||
int available_height,
|
||||
int scale,
|
||||
@ -1291,13 +1221,13 @@ st_texture_cache_load_uri_sync_to_cogl_texture (StTextureCache *cache,
|
||||
GdkPixbuf *pixbuf;
|
||||
char *key;
|
||||
|
||||
key = g_strconcat (CACHE_PREFIX_URI, uri, NULL);
|
||||
key = g_strdup_printf (CACHE_PREFIX_FILE "%u", g_file_hash (file));
|
||||
|
||||
texdata = g_hash_table_lookup (cache->priv->keyed_cache, key);
|
||||
|
||||
if (texdata == NULL)
|
||||
{
|
||||
pixbuf = impl_load_pixbuf_file (uri, available_width, available_height, scale, error);
|
||||
pixbuf = impl_load_pixbuf_file (file, available_width, available_height, scale, error);
|
||||
if (!pixbuf)
|
||||
goto out;
|
||||
|
||||
@ -1313,7 +1243,7 @@ st_texture_cache_load_uri_sync_to_cogl_texture (StTextureCache *cache,
|
||||
else
|
||||
cogl_object_ref (texdata);
|
||||
|
||||
ensure_monitor_for_uri (cache, uri);
|
||||
ensure_monitor_for_file (cache, file);
|
||||
|
||||
out:
|
||||
g_free (key);
|
||||
@ -1321,9 +1251,9 @@ out:
|
||||
}
|
||||
|
||||
static cairo_surface_t *
|
||||
st_texture_cache_load_uri_sync_to_cairo_surface (StTextureCache *cache,
|
||||
st_texture_cache_load_file_sync_to_cairo_surface (StTextureCache *cache,
|
||||
StTextureCachePolicy policy,
|
||||
const gchar *uri,
|
||||
GFile *file,
|
||||
int available_width,
|
||||
int available_height,
|
||||
int scale,
|
||||
@ -1333,13 +1263,13 @@ st_texture_cache_load_uri_sync_to_cairo_surface (StTextureCache *cache,
|
||||
GdkPixbuf *pixbuf;
|
||||
char *key;
|
||||
|
||||
key = g_strconcat (CACHE_PREFIX_URI_FOR_CAIRO, uri, NULL);
|
||||
key = g_strdup_printf (CACHE_PREFIX_FILE_FOR_CAIRO "%u", g_file_hash (file));
|
||||
|
||||
surface = g_hash_table_lookup (cache->priv->keyed_cache, key);
|
||||
|
||||
if (surface == NULL)
|
||||
{
|
||||
pixbuf = impl_load_pixbuf_file (uri, available_width, available_height, scale, error);
|
||||
pixbuf = impl_load_pixbuf_file (file, available_width, available_height, scale, error);
|
||||
if (!pixbuf)
|
||||
goto out;
|
||||
|
||||
@ -1355,7 +1285,7 @@ st_texture_cache_load_uri_sync_to_cairo_surface (StTextureCache *cache,
|
||||
else
|
||||
cairo_surface_reference (surface);
|
||||
|
||||
ensure_monitor_for_uri (cache, uri);
|
||||
ensure_monitor_for_file (cache, file);
|
||||
|
||||
out:
|
||||
g_free (key);
|
||||
@ -1365,7 +1295,7 @@ out:
|
||||
/**
|
||||
* st_texture_cache_load_file_to_cogl_texture: (skip)
|
||||
* @cache: A #StTextureCache
|
||||
* @file_path: Path to a file in supported image format
|
||||
* @file: A #GFile in supported image format
|
||||
* @scale: Scale factor of the display
|
||||
*
|
||||
* This function synchronously loads the given file path
|
||||
@ -1376,35 +1306,30 @@ out:
|
||||
*/
|
||||
CoglTexture *
|
||||
st_texture_cache_load_file_to_cogl_texture (StTextureCache *cache,
|
||||
const gchar *file_path,
|
||||
GFile *file,
|
||||
gint scale)
|
||||
{
|
||||
CoglTexture *texture;
|
||||
GFile *file;
|
||||
char *uri;
|
||||
GError *error = NULL;
|
||||
|
||||
file = g_file_new_for_path (file_path);
|
||||
uri = g_file_get_uri (file);
|
||||
|
||||
texture = st_texture_cache_load_uri_sync_to_cogl_texture (cache, ST_TEXTURE_CACHE_POLICY_FOREVER,
|
||||
uri, -1, -1, scale, &error);
|
||||
g_object_unref (file);
|
||||
g_free (uri);
|
||||
texture = st_texture_cache_load_file_sync_to_cogl_texture (cache, ST_TEXTURE_CACHE_POLICY_FOREVER,
|
||||
file, -1, -1, scale, &error);
|
||||
|
||||
if (texture == NULL)
|
||||
{
|
||||
g_warning ("Failed to load %s: %s", file_path, error->message);
|
||||
char *uri = g_file_get_uri (file);
|
||||
g_warning ("Failed to load %s: %s", uri, error->message);
|
||||
g_clear_error (&error);
|
||||
return NULL;
|
||||
g_free (uri);
|
||||
}
|
||||
|
||||
return texture;
|
||||
}
|
||||
|
||||
/**
|
||||
* st_texture_cache_load_file_to_cairo_surface:
|
||||
* @cache: A #StTextureCache
|
||||
* @file_path: Path to a file in supported image format
|
||||
* @file: A #GFile in supported image format
|
||||
* @scale: Scale factor of the display
|
||||
*
|
||||
* This function synchronously loads the given file path
|
||||
@ -1415,28 +1340,23 @@ st_texture_cache_load_file_to_cogl_texture (StTextureCache *cache,
|
||||
*/
|
||||
cairo_surface_t *
|
||||
st_texture_cache_load_file_to_cairo_surface (StTextureCache *cache,
|
||||
const gchar *file_path,
|
||||
GFile *file,
|
||||
gint scale)
|
||||
{
|
||||
cairo_surface_t *surface;
|
||||
GFile *file;
|
||||
char *uri;
|
||||
GError *error = NULL;
|
||||
|
||||
file = g_file_new_for_path (file_path);
|
||||
uri = g_file_get_uri (file);
|
||||
|
||||
surface = st_texture_cache_load_uri_sync_to_cairo_surface (cache, ST_TEXTURE_CACHE_POLICY_FOREVER,
|
||||
uri, -1, -1, scale, &error);
|
||||
g_object_unref (file);
|
||||
g_free (uri);
|
||||
surface = st_texture_cache_load_file_sync_to_cairo_surface (cache, ST_TEXTURE_CACHE_POLICY_FOREVER,
|
||||
file, -1, -1, scale, &error);
|
||||
|
||||
if (surface == NULL)
|
||||
{
|
||||
g_warning ("Failed to load %s: %s", file_path, error->message);
|
||||
char *uri = g_file_get_uri (file);
|
||||
g_warning ("Failed to load %s: %s", uri, error->message);
|
||||
g_clear_error (&error);
|
||||
return NULL;
|
||||
g_free (uri);
|
||||
}
|
||||
|
||||
return surface;
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ StTextureCache* st_texture_cache_get_default (void);
|
||||
|
||||
ClutterActor *
|
||||
st_texture_cache_load_sliced_image (StTextureCache *cache,
|
||||
const gchar *path,
|
||||
GFile *file,
|
||||
gint grid_width,
|
||||
gint grid_height,
|
||||
gint scale,
|
||||
@ -87,18 +87,18 @@ ClutterActor *st_texture_cache_load_gicon (StTextureCache *cache,
|
||||
gint size,
|
||||
gint scale);
|
||||
|
||||
ClutterActor *st_texture_cache_load_uri_async (StTextureCache *cache,
|
||||
const gchar *uri,
|
||||
ClutterActor *st_texture_cache_load_file_async (StTextureCache *cache,
|
||||
GFile *file,
|
||||
int available_width,
|
||||
int available_height,
|
||||
int scale);
|
||||
|
||||
CoglTexture *st_texture_cache_load_file_to_cogl_texture (StTextureCache *cache,
|
||||
const gchar *file_path,
|
||||
GFile *file,
|
||||
gint scale);
|
||||
|
||||
cairo_surface_t *st_texture_cache_load_file_to_cairo_surface (StTextureCache *cache,
|
||||
const gchar *file_path,
|
||||
GFile *file,
|
||||
gint scale);
|
||||
|
||||
/**
|
||||
|
@ -600,7 +600,7 @@ create_cairo_pattern_of_background_image (StThemeNode *node,
|
||||
cairo_pattern_t *pattern;
|
||||
cairo_content_t content;
|
||||
cairo_matrix_t matrix;
|
||||
const char *file;
|
||||
GFile *file;
|
||||
|
||||
StTextureCache *texture_cache;
|
||||
|
||||
@ -1037,7 +1037,7 @@ st_theme_node_prerender_background (StThemeNode *node,
|
||||
}
|
||||
else
|
||||
{
|
||||
const char *background_image;
|
||||
GFile *background_image;
|
||||
|
||||
background_image = st_theme_node_get_background_image (node);
|
||||
|
||||
@ -1303,14 +1303,14 @@ st_theme_node_load_border_image (StThemeNode *node)
|
||||
if (border_image == NULL)
|
||||
goto out;
|
||||
|
||||
const char *filename;
|
||||
filename = st_border_image_get_filename (border_image);
|
||||
GFile *file;
|
||||
file = st_border_image_get_file (border_image);
|
||||
|
||||
int scale_factor;
|
||||
g_object_get (node->context, "scale-factor", &scale_factor, NULL);
|
||||
|
||||
node->border_slices_texture = st_texture_cache_load_file_to_cogl_texture (st_texture_cache_get_default (),
|
||||
filename, scale_factor);
|
||||
file, scale_factor);
|
||||
if (node->border_slices_texture == COGL_INVALID_HANDLE)
|
||||
goto out;
|
||||
|
||||
@ -1348,7 +1348,7 @@ st_theme_node_load_background_image (StThemeNode *node)
|
||||
{
|
||||
if (node->background_texture == COGL_INVALID_HANDLE)
|
||||
{
|
||||
const char *background_image;
|
||||
GFile *background_image;
|
||||
StShadow *background_image_shadow_spec;
|
||||
|
||||
background_image = st_theme_node_get_background_image (node);
|
||||
|
@ -68,7 +68,7 @@ struct _StThemeNode {
|
||||
|
||||
int transition_duration;
|
||||
|
||||
char *background_image;
|
||||
GFile *background_image;
|
||||
StBorderImage *border_image;
|
||||
StShadow *box_shadow;
|
||||
StShadow *background_image_shadow;
|
||||
|
@ -158,7 +158,10 @@ st_theme_node_finalize (GObject *object)
|
||||
}
|
||||
|
||||
if (node->background_image)
|
||||
g_free (node->background_image);
|
||||
{
|
||||
g_object_unref (node->background_image);
|
||||
node->background_image = NULL;
|
||||
}
|
||||
|
||||
if (node->background_texture != COGL_INVALID_HANDLE)
|
||||
cogl_handle_unref (node->background_texture);
|
||||
@ -905,7 +908,7 @@ st_theme_node_get_double (StThemeNode *node,
|
||||
* parent's parent, and so forth. Note that if the property has a
|
||||
* value of 'inherit' it will be inherited even if %FALSE is passed
|
||||
* in for @inherit; this only affects the default behavior for inheritance.
|
||||
* @value: (out): location to store the newly allocated value that was
|
||||
* @file: (out) (transfer full): location to store the newly allocated value that was
|
||||
* determined. If the property is not found, the value in this location
|
||||
* will not be changed.
|
||||
*
|
||||
@ -920,7 +923,7 @@ gboolean
|
||||
st_theme_node_lookup_url (StThemeNode *node,
|
||||
const char *property_name,
|
||||
gboolean inherit,
|
||||
char **value)
|
||||
GFile **file)
|
||||
{
|
||||
gboolean result = FALSE;
|
||||
int i;
|
||||
@ -935,7 +938,6 @@ st_theme_node_lookup_url (StThemeNode *node,
|
||||
{
|
||||
CRTerm *term = decl->value;
|
||||
CRStyleSheet *base_stylesheet;
|
||||
GFile *file;
|
||||
|
||||
if (term->type != TERM_URI && term->type != TERM_STRING)
|
||||
continue;
|
||||
@ -945,23 +947,21 @@ st_theme_node_lookup_url (StThemeNode *node,
|
||||
else
|
||||
base_stylesheet = NULL;
|
||||
|
||||
file = _st_theme_resolve_url (node->theme,
|
||||
*file = _st_theme_resolve_url (node->theme,
|
||||
base_stylesheet,
|
||||
decl->value->content.str->stryng->str);
|
||||
*value = g_file_get_path (file);
|
||||
g_object_unref (file);
|
||||
result = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!result && inherit && node->parent_node)
|
||||
result = st_theme_node_lookup_url (node->parent_node, property_name, inherit, value);
|
||||
result = st_theme_node_lookup_url (node->parent_node, property_name, inherit, file);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* st_theme_node_get_url:
|
||||
* @node: a #StThemeNode
|
||||
* @property_name: The name of the string property
|
||||
@ -972,18 +972,18 @@ st_theme_node_lookup_url (StThemeNode *node,
|
||||
* and lets you handle the case where the theme does not specify the
|
||||
* indicated value.
|
||||
*
|
||||
* Return value: the newly allocated value if found.
|
||||
* Returns: (transfer full): the newly allocated value if found.
|
||||
* If @property_name is not found, a warning will be logged and %NULL
|
||||
* will be returned.
|
||||
*/
|
||||
char *
|
||||
GFile *
|
||||
st_theme_node_get_url (StThemeNode *node,
|
||||
const char *property_name)
|
||||
{
|
||||
char *value;
|
||||
GFile *file;
|
||||
|
||||
if (st_theme_node_lookup_url (node, property_name, FALSE, &value))
|
||||
return value;
|
||||
if (st_theme_node_lookup_url (node, property_name, FALSE, &file))
|
||||
return file;
|
||||
else
|
||||
{
|
||||
g_warning ("Did not find string property '%s'", property_name);
|
||||
@ -1926,8 +1926,7 @@ _st_theme_node_ensure_background (StThemeNode *node)
|
||||
CRTerm *term;
|
||||
/* background: property sets all terms to specified or default values */
|
||||
node->background_color = TRANSPARENT_COLOR;
|
||||
g_free (node->background_image);
|
||||
node->background_image = NULL;
|
||||
g_clear_object (&node->background_image);
|
||||
node->background_position_set = FALSE;
|
||||
node->background_size = ST_BACKGROUND_SIZE_AUTO;
|
||||
|
||||
@ -1943,7 +1942,7 @@ _st_theme_node_ensure_background (StThemeNode *node)
|
||||
if (node->parent_node)
|
||||
{
|
||||
st_theme_node_get_background_color (node->parent_node, &node->background_color);
|
||||
node->background_image = g_strdup (st_theme_node_get_background_image (node->parent_node));
|
||||
node->background_image = g_object_ref (st_theme_node_get_background_image (node->parent_node));
|
||||
}
|
||||
}
|
||||
else if (term_is_none (term))
|
||||
@ -1964,8 +1963,7 @@ _st_theme_node_ensure_background (StThemeNode *node)
|
||||
base_stylesheet,
|
||||
term->content.str->stryng->str);
|
||||
|
||||
node->background_image = g_file_get_path (file);
|
||||
g_object_unref (file);
|
||||
node->background_image = file;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2062,30 +2060,25 @@ _st_theme_node_ensure_background (StThemeNode *node)
|
||||
if (decl->value->type == TERM_URI)
|
||||
{
|
||||
CRStyleSheet *base_stylesheet;
|
||||
GFile *file;
|
||||
|
||||
if (decl->parent_statement != NULL)
|
||||
base_stylesheet = decl->parent_statement->parent_sheet;
|
||||
else
|
||||
base_stylesheet = NULL;
|
||||
|
||||
g_free (node->background_image);
|
||||
file = _st_theme_resolve_url (node->theme,
|
||||
g_clear_object (&node->background_image);
|
||||
node->background_image = _st_theme_resolve_url (node->theme,
|
||||
base_stylesheet,
|
||||
decl->value->content.str->stryng->str);
|
||||
|
||||
node->background_image = g_file_get_path (file);
|
||||
g_object_unref (file);
|
||||
}
|
||||
else if (term_is_inherit (decl->value))
|
||||
{
|
||||
g_free (node->background_image);
|
||||
node->background_image = g_strdup (st_theme_node_get_background_image (node->parent_node));
|
||||
g_clear_object (&node->background_image);
|
||||
node->background_image = g_object_ref (st_theme_node_get_background_image (node->parent_node));
|
||||
}
|
||||
else if (term_is_none (decl->value))
|
||||
{
|
||||
g_free (node->background_image);
|
||||
node->background_image = NULL;
|
||||
g_clear_object (&node->background_image);
|
||||
}
|
||||
}
|
||||
else if (strcmp (property_name, "-gradient-direction") == 0)
|
||||
@ -2142,7 +2135,13 @@ st_theme_node_get_background_color (StThemeNode *node,
|
||||
*color = node->background_color;
|
||||
}
|
||||
|
||||
const char *
|
||||
/**
|
||||
* st_theme_node_get_background_image:
|
||||
* @node: a #StThemeNode
|
||||
*
|
||||
* Returns: (transfer none): @node's background image.
|
||||
*/
|
||||
GFile *
|
||||
st_theme_node_get_background_image (StThemeNode *node)
|
||||
{
|
||||
g_return_val_if_fail (ST_IS_THEME_NODE (node), NULL);
|
||||
@ -2894,7 +2893,6 @@ st_theme_node_get_border_image (StThemeNode *node)
|
||||
int border_left;
|
||||
|
||||
GFile *file;
|
||||
char *filename;
|
||||
|
||||
/* Support border-image: none; to suppress a previously specified border image */
|
||||
if (term_is_none (term))
|
||||
@ -2973,17 +2971,15 @@ st_theme_node_get_border_image (StThemeNode *node)
|
||||
base_stylesheet = NULL;
|
||||
|
||||
file = _st_theme_resolve_url (node->theme, base_stylesheet, url);
|
||||
filename = g_file_get_path (file);
|
||||
g_object_unref (file);
|
||||
|
||||
if (filename == NULL)
|
||||
if (file == NULL)
|
||||
goto next_property;
|
||||
|
||||
node->border_image = st_border_image_new (filename,
|
||||
node->border_image = st_border_image_new (file,
|
||||
border_top, border_right, border_bottom, border_left,
|
||||
scale_factor);
|
||||
|
||||
g_free (filename);
|
||||
g_object_unref (file);
|
||||
|
||||
return node->border_image;
|
||||
}
|
||||
@ -3853,7 +3849,9 @@ st_theme_node_paint_equal (StThemeNode *node,
|
||||
!clutter_color_equal (&node->background_gradient_end, &other->background_gradient_end))
|
||||
return FALSE;
|
||||
|
||||
if (g_strcmp0 (node->background_image, other->background_image) != 0)
|
||||
if ((node->background_image != NULL) &&
|
||||
(other->background_image != NULL) &&
|
||||
!g_file_equal (node->background_image, other->background_image))
|
||||
return FALSE;
|
||||
|
||||
_st_theme_node_ensure_geometry (node);
|
||||
|
@ -162,7 +162,7 @@ gboolean st_theme_node_lookup_shadow (StThemeNode *node,
|
||||
gboolean st_theme_node_lookup_url (StThemeNode *node,
|
||||
const char *property_name,
|
||||
gboolean inherit,
|
||||
char **value);
|
||||
GFile **file);
|
||||
|
||||
/* Easier-to-use variants of the above, for application-level use */
|
||||
void st_theme_node_get_color (StThemeNode *node,
|
||||
@ -174,7 +174,7 @@ gdouble st_theme_node_get_length (StThemeNode *node,
|
||||
const char *property_name);
|
||||
StShadow *st_theme_node_get_shadow (StThemeNode *node,
|
||||
const char *property_name);
|
||||
char *st_theme_node_get_url (StThemeNode *node,
|
||||
GFile *st_theme_node_get_url (StThemeNode *node,
|
||||
const char *property_name);
|
||||
|
||||
/* Specific getters for particular properties: cached
|
||||
@ -188,7 +188,7 @@ void st_theme_node_get_background_gradient (StThemeNode *node,
|
||||
ClutterColor *start,
|
||||
ClutterColor *end);
|
||||
|
||||
const char *st_theme_node_get_background_image (StThemeNode *node);
|
||||
GFile *st_theme_node_get_background_image (StThemeNode *node);
|
||||
|
||||
int st_theme_node_get_border_width (StThemeNode *node,
|
||||
StSide side);
|
||||
|
@ -60,13 +60,13 @@ struct _StTheme
|
||||
{
|
||||
GObject parent;
|
||||
|
||||
char *application_stylesheet;
|
||||
char *default_stylesheet;
|
||||
char *theme_stylesheet;
|
||||
GFile *application_stylesheet;
|
||||
GFile *default_stylesheet;
|
||||
GFile *theme_stylesheet;
|
||||
GSList *custom_stylesheets;
|
||||
|
||||
GHashTable *stylesheets_by_filename;
|
||||
GHashTable *filenames_by_stylesheet;
|
||||
GHashTable *stylesheets_by_file;
|
||||
GHashTable *files_by_stylesheet;
|
||||
|
||||
CRCascade *cascade;
|
||||
};
|
||||
@ -98,12 +98,25 @@ G_DEFINE_TYPE (StTheme, st_theme, G_TYPE_OBJECT)
|
||||
#define strqcmp(str,lit,lit_len) \
|
||||
(strlen (str) != (lit_len) || memcmp (str, lit, lit_len))
|
||||
|
||||
static gboolean
|
||||
file_equal0 (GFile *file1,
|
||||
GFile *file2)
|
||||
{
|
||||
if (file1 == file2)
|
||||
return TRUE;
|
||||
|
||||
if ((file1 == NULL) || (file2 == NULL))
|
||||
return FALSE;
|
||||
|
||||
return g_file_equal (file1, file2);
|
||||
}
|
||||
|
||||
static void
|
||||
st_theme_init (StTheme *theme)
|
||||
{
|
||||
theme->stylesheets_by_filename = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
(GDestroyNotify)g_free, (GDestroyNotify)cr_stylesheet_unref);
|
||||
theme->filenames_by_stylesheet = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||
theme->stylesheets_by_file = g_hash_table_new_full (g_file_hash, (GEqualFunc) g_file_equal,
|
||||
(GDestroyNotify)g_object_unref, (GDestroyNotify)cr_stylesheet_unref);
|
||||
theme->files_by_stylesheet = g_hash_table_new (g_direct_hash, g_direct_equal);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -124,10 +137,10 @@ st_theme_class_init (StThemeClass *klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_APPLICATION_STYLESHEET,
|
||||
g_param_spec_string ("application-stylesheet",
|
||||
g_param_spec_object ("application-stylesheet",
|
||||
"Application Stylesheet",
|
||||
"Stylesheet with application-specific styling",
|
||||
NULL,
|
||||
G_TYPE_FILE,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
/**
|
||||
@ -138,10 +151,10 @@ st_theme_class_init (StThemeClass *klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_THEME_STYLESHEET,
|
||||
g_param_spec_string ("theme-stylesheet",
|
||||
g_param_spec_object ("theme-stylesheet",
|
||||
"Theme Stylesheet",
|
||||
"Stylesheet with theme-specific styling",
|
||||
NULL,
|
||||
G_TYPE_FILE,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
/**
|
||||
@ -152,10 +165,10 @@ st_theme_class_init (StThemeClass *klass)
|
||||
*/
|
||||
g_object_class_install_property (object_class,
|
||||
PROP_DEFAULT_STYLESHEET,
|
||||
g_param_spec_string ("default-stylesheet",
|
||||
g_param_spec_object ("default-stylesheet",
|
||||
"Default Stylesheet",
|
||||
"Stylesheet with global default styling",
|
||||
NULL,
|
||||
G_TYPE_FILE,
|
||||
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
signals[STYLESHEETS_CHANGED] =
|
||||
@ -168,23 +181,32 @@ st_theme_class_init (StThemeClass *klass)
|
||||
}
|
||||
|
||||
static CRStyleSheet *
|
||||
parse_stylesheet (const char *filename,
|
||||
parse_stylesheet (GFile *file,
|
||||
GError **error)
|
||||
{
|
||||
enum CRStatus status;
|
||||
CRStyleSheet *stylesheet;
|
||||
char *contents;
|
||||
gsize length;
|
||||
|
||||
if (filename == NULL)
|
||||
if (file == NULL)
|
||||
return NULL;
|
||||
|
||||
status = cr_om_parser_simply_parse_file ((const guchar *) filename,
|
||||
if (!g_file_load_contents (file, NULL, &contents, &length, NULL, error))
|
||||
return NULL;
|
||||
|
||||
status = cr_om_parser_simply_parse_buf ((const guchar *) contents,
|
||||
length,
|
||||
CR_UTF_8,
|
||||
&stylesheet);
|
||||
g_free (contents);
|
||||
|
||||
if (status != CR_OK)
|
||||
{
|
||||
char *uri = g_file_get_uri (file);
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
"Error parsing stylesheet '%s'; errcode:%d", filename, status);
|
||||
"Error parsing stylesheet '%s'; errcode:%d", uri, status);
|
||||
g_free (uri);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -203,12 +225,12 @@ _st_theme_parse_declaration_list (const char *str)
|
||||
|
||||
/* Just g_warning for now until we have something nicer to do */
|
||||
static CRStyleSheet *
|
||||
parse_stylesheet_nofail (const char *filename)
|
||||
parse_stylesheet_nofail (GFile *file)
|
||||
{
|
||||
GError *error = NULL;
|
||||
CRStyleSheet *result;
|
||||
|
||||
result = parse_stylesheet (filename, &error);
|
||||
result = parse_stylesheet (file, &error);
|
||||
if (error)
|
||||
{
|
||||
g_warning ("%s", error->message);
|
||||
@ -219,35 +241,33 @@ parse_stylesheet_nofail (const char *filename)
|
||||
|
||||
static void
|
||||
insert_stylesheet (StTheme *theme,
|
||||
const char *filename,
|
||||
GFile *file,
|
||||
CRStyleSheet *stylesheet)
|
||||
{
|
||||
char *filename_copy;
|
||||
|
||||
if (stylesheet == NULL)
|
||||
return;
|
||||
|
||||
filename_copy = g_strdup(filename);
|
||||
g_object_ref (file);
|
||||
cr_stylesheet_ref (stylesheet);
|
||||
|
||||
g_hash_table_insert (theme->stylesheets_by_filename, filename_copy, stylesheet);
|
||||
g_hash_table_insert (theme->filenames_by_stylesheet, stylesheet, filename_copy);
|
||||
g_hash_table_insert (theme->stylesheets_by_file, file, stylesheet);
|
||||
g_hash_table_insert (theme->files_by_stylesheet, stylesheet, file);
|
||||
}
|
||||
|
||||
gboolean
|
||||
st_theme_load_stylesheet (StTheme *theme,
|
||||
const char *path,
|
||||
GFile *file,
|
||||
GError **error)
|
||||
{
|
||||
CRStyleSheet *stylesheet;
|
||||
|
||||
stylesheet = parse_stylesheet (path, error);
|
||||
stylesheet = parse_stylesheet (file, error);
|
||||
if (!stylesheet)
|
||||
return FALSE;
|
||||
|
||||
stylesheet->app_data = GUINT_TO_POINTER (TRUE);
|
||||
|
||||
insert_stylesheet (theme, path, stylesheet);
|
||||
insert_stylesheet (theme, file, stylesheet);
|
||||
cr_stylesheet_ref (stylesheet);
|
||||
theme->custom_stylesheets = g_slist_prepend (theme->custom_stylesheets, stylesheet);
|
||||
g_signal_emit (theme, signals[STYLESHEETS_CHANGED], 0);
|
||||
@ -257,11 +277,11 @@ st_theme_load_stylesheet (StTheme *theme,
|
||||
|
||||
void
|
||||
st_theme_unload_stylesheet (StTheme *theme,
|
||||
const char *path)
|
||||
GFile *file)
|
||||
{
|
||||
CRStyleSheet *stylesheet;
|
||||
|
||||
stylesheet = g_hash_table_lookup (theme->stylesheets_by_filename, path);
|
||||
stylesheet = g_hash_table_lookup (theme->stylesheets_by_file, file);
|
||||
if (!stylesheet)
|
||||
return;
|
||||
|
||||
@ -269,8 +289,8 @@ st_theme_unload_stylesheet (StTheme *theme,
|
||||
return;
|
||||
|
||||
theme->custom_stylesheets = g_slist_remove (theme->custom_stylesheets, stylesheet);
|
||||
g_hash_table_remove (theme->stylesheets_by_filename, path);
|
||||
g_hash_table_remove (theme->filenames_by_stylesheet, stylesheet);
|
||||
g_hash_table_remove (theme->stylesheets_by_file, file);
|
||||
g_hash_table_remove (theme->files_by_stylesheet, stylesheet);
|
||||
cr_stylesheet_unref (stylesheet);
|
||||
g_signal_emit (theme, signals[STYLESHEETS_CHANGED], 0);
|
||||
}
|
||||
@ -279,7 +299,7 @@ st_theme_unload_stylesheet (StTheme *theme,
|
||||
* st_theme_get_custom_stylesheets:
|
||||
* @theme: an #StTheme
|
||||
*
|
||||
* Returns: (transfer full) (element-type utf8): the list of stylesheet filenames
|
||||
* Returns: (transfer full) (element-type GFile): the list of stylesheet files
|
||||
* that were loaded with st_theme_load_stylesheet()
|
||||
*/
|
||||
GSList*
|
||||
@ -291,9 +311,9 @@ st_theme_get_custom_stylesheets (StTheme *theme)
|
||||
for (iter = theme->custom_stylesheets; iter; iter = iter->next)
|
||||
{
|
||||
CRStyleSheet *stylesheet = iter->data;
|
||||
gchar *filename = g_hash_table_lookup (theme->filenames_by_stylesheet, stylesheet);
|
||||
GFile *file = g_hash_table_lookup (theme->files_by_stylesheet, stylesheet);
|
||||
|
||||
result = g_slist_prepend (result, g_strdup (filename));
|
||||
result = g_slist_prepend (result, g_object_ref (file));
|
||||
}
|
||||
|
||||
return result;
|
||||
@ -334,12 +354,12 @@ st_theme_finalize (GObject * object)
|
||||
g_slist_free (theme->custom_stylesheets);
|
||||
theme->custom_stylesheets = NULL;
|
||||
|
||||
g_hash_table_destroy (theme->stylesheets_by_filename);
|
||||
g_hash_table_destroy (theme->filenames_by_stylesheet);
|
||||
g_hash_table_destroy (theme->stylesheets_by_file);
|
||||
g_hash_table_destroy (theme->files_by_stylesheet);
|
||||
|
||||
g_free (theme->application_stylesheet);
|
||||
g_free (theme->theme_stylesheet);
|
||||
g_free (theme->default_stylesheet);
|
||||
g_clear_object (&theme->application_stylesheet);
|
||||
g_clear_object (&theme->theme_stylesheet);
|
||||
g_clear_object (&theme->default_stylesheet);
|
||||
|
||||
if (theme->cascade)
|
||||
{
|
||||
@ -362,36 +382,39 @@ st_theme_set_property (GObject *object,
|
||||
{
|
||||
case PROP_APPLICATION_STYLESHEET:
|
||||
{
|
||||
const char *path = g_value_get_string (value);
|
||||
GFile *file = g_value_get_object (value);
|
||||
|
||||
if (path != theme->application_stylesheet)
|
||||
if (!file_equal0 (file, theme->application_stylesheet))
|
||||
{
|
||||
g_free (theme->application_stylesheet);
|
||||
theme->application_stylesheet = g_strdup (path);
|
||||
g_clear_object (&theme->application_stylesheet);
|
||||
if (file != NULL)
|
||||
theme->application_stylesheet = g_object_ref (file);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case PROP_THEME_STYLESHEET:
|
||||
{
|
||||
const char *path = g_value_get_string (value);
|
||||
GFile *file = g_value_get_object (value);
|
||||
|
||||
if (path != theme->theme_stylesheet)
|
||||
if (!file_equal0 (file, theme->theme_stylesheet))
|
||||
{
|
||||
g_free (theme->theme_stylesheet);
|
||||
theme->theme_stylesheet = g_strdup (path);
|
||||
g_clear_object (&theme->theme_stylesheet);
|
||||
if (file != NULL)
|
||||
theme->theme_stylesheet = g_object_ref (file);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case PROP_DEFAULT_STYLESHEET:
|
||||
{
|
||||
const char *path = g_value_get_string (value);
|
||||
GFile *file = g_value_get_object (value);
|
||||
|
||||
if (path != theme->default_stylesheet)
|
||||
if (!file_equal0 (file, theme->default_stylesheet))
|
||||
{
|
||||
g_free (theme->default_stylesheet);
|
||||
theme->default_stylesheet = g_strdup (path);
|
||||
g_clear_object (&theme->default_stylesheet);
|
||||
if (file != NULL)
|
||||
theme->default_stylesheet = g_object_ref (file);
|
||||
}
|
||||
|
||||
break;
|
||||
@ -413,13 +436,13 @@ st_theme_get_property (GObject *object,
|
||||
switch (prop_id)
|
||||
{
|
||||
case PROP_APPLICATION_STYLESHEET:
|
||||
g_value_set_string (value, theme->application_stylesheet);
|
||||
g_value_set_object (value, theme->application_stylesheet);
|
||||
break;
|
||||
case PROP_THEME_STYLESHEET:
|
||||
g_value_set_string (value, theme->theme_stylesheet);
|
||||
g_value_set_object (value, theme->theme_stylesheet);
|
||||
break;
|
||||
case PROP_DEFAULT_STYLESHEET:
|
||||
g_value_set_string (value, theme->default_stylesheet);
|
||||
g_value_set_object (value, theme->default_stylesheet);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
@ -439,9 +462,9 @@ st_theme_get_property (GObject *object,
|
||||
* Return value: the newly created theme object
|
||||
**/
|
||||
StTheme *
|
||||
st_theme_new (const char *application_stylesheet,
|
||||
const char *theme_stylesheet,
|
||||
const char *default_stylesheet)
|
||||
st_theme_new (GFile *application_stylesheet,
|
||||
GFile *theme_stylesheet,
|
||||
GFile *default_stylesheet)
|
||||
{
|
||||
StTheme *theme = g_object_new (ST_TYPE_THEME,
|
||||
"application-stylesheet", application_stylesheet,
|
||||
@ -852,26 +875,19 @@ add_matched_properties (StTheme *a_this,
|
||||
|
||||
if (import_rule->sheet == NULL)
|
||||
{
|
||||
char *filename = NULL;
|
||||
GFile *file = NULL;
|
||||
|
||||
if (import_rule->url->stryng && import_rule->url->stryng->str)
|
||||
{
|
||||
GFile *file;
|
||||
|
||||
file = _st_theme_resolve_url (a_this,
|
||||
a_nodesheet,
|
||||
import_rule->url->stryng->str);
|
||||
filename = g_file_get_path (file);
|
||||
|
||||
g_object_unref (file);
|
||||
import_rule->sheet = parse_stylesheet (file, NULL);
|
||||
}
|
||||
|
||||
if (filename)
|
||||
import_rule->sheet = parse_stylesheet (filename, NULL);
|
||||
|
||||
if (import_rule->sheet)
|
||||
{
|
||||
insert_stylesheet (a_this, filename, import_rule->sheet);
|
||||
insert_stylesheet (a_this, file, import_rule->sheet);
|
||||
/* refcount of stylesheets starts off at zero, so we don't need to unref! */
|
||||
}
|
||||
else
|
||||
@ -882,8 +898,8 @@ add_matched_properties (StTheme *a_this,
|
||||
import_rule->sheet = (CRStyleSheet *) - 1;
|
||||
}
|
||||
|
||||
if (filename)
|
||||
g_free (filename);
|
||||
if (file)
|
||||
g_object_unref (file);
|
||||
}
|
||||
|
||||
if (import_rule->sheet != (CRStyleSheet *) - 1)
|
||||
@ -1008,8 +1024,8 @@ _st_theme_get_matched_properties (StTheme *theme,
|
||||
return props;
|
||||
}
|
||||
|
||||
/* Resolve an url from an url() reference in a stylesheet into an absolute
|
||||
* local filename, if possible. The resolution here is distinctly lame and
|
||||
/* Resolve an url from an url() reference in a stylesheet into a GFile,
|
||||
* if possible. The resolution here is distinctly lame and
|
||||
* will fail on many examples.
|
||||
*/
|
||||
GFile *
|
||||
@ -1018,7 +1034,7 @@ _st_theme_resolve_url (StTheme *theme,
|
||||
const char *url)
|
||||
{
|
||||
char *scheme;
|
||||
GFile *stylesheet, *resource;
|
||||
GFile *resource;
|
||||
|
||||
if ((scheme = g_uri_parse_scheme (url)))
|
||||
{
|
||||
@ -1027,21 +1043,18 @@ _st_theme_resolve_url (StTheme *theme,
|
||||
}
|
||||
else if (base_stylesheet != NULL)
|
||||
{
|
||||
const char *base_filename = NULL;
|
||||
char *dirname;
|
||||
GFile *base_file = NULL, *parent;
|
||||
|
||||
base_filename = g_hash_table_lookup (theme->filenames_by_stylesheet, base_stylesheet);
|
||||
base_file = g_hash_table_lookup (theme->files_by_stylesheet, base_stylesheet);
|
||||
|
||||
/* This is an internal function, if we get here with
|
||||
a bad @base_stylesheet we have a problem. */
|
||||
g_assert (base_filename);
|
||||
g_assert (base_file);
|
||||
|
||||
dirname = g_path_get_dirname (base_filename);
|
||||
stylesheet = g_file_new_for_path (dirname);
|
||||
resource = g_file_resolve_relative_path (stylesheet, url);
|
||||
parent = g_file_get_parent (base_file);
|
||||
resource = g_file_resolve_relative_path (parent, url);
|
||||
|
||||
g_object_unref (stylesheet);
|
||||
g_free (dirname);
|
||||
g_object_unref (parent);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -47,12 +47,12 @@ typedef struct _StThemeClass StThemeClass;
|
||||
|
||||
GType st_theme_get_type (void) G_GNUC_CONST;
|
||||
|
||||
StTheme *st_theme_new (const char *application_stylesheet,
|
||||
const char *theme_stylesheet,
|
||||
const char *default_stylesheet);
|
||||
StTheme *st_theme_new (GFile *application_stylesheet,
|
||||
GFile *theme_stylesheet,
|
||||
GFile *default_stylesheet);
|
||||
|
||||
gboolean st_theme_load_stylesheet (StTheme *theme, const char *path, GError **error);
|
||||
void st_theme_unload_stylesheet (StTheme *theme, const char *path);
|
||||
gboolean st_theme_load_stylesheet (StTheme *theme, GFile *file, GError **error);
|
||||
void st_theme_unload_stylesheet (StTheme *theme, GFile *file);
|
||||
GSList *st_theme_get_custom_stylesheets (StTheme *theme);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -277,26 +277,26 @@ current_paint_state (StWidget *widget)
|
||||
|
||||
static void
|
||||
st_widget_texture_cache_changed (StTextureCache *cache,
|
||||
const char *uri,
|
||||
GFile *file,
|
||||
gpointer user_data)
|
||||
{
|
||||
StWidget *actor = ST_WIDGET (user_data);
|
||||
StThemeNode *node = actor->priv->theme_node;
|
||||
char *path;
|
||||
gboolean changed = FALSE;
|
||||
GFile *theme_file;
|
||||
|
||||
if (node == NULL)
|
||||
return;
|
||||
|
||||
path = g_filename_from_uri (uri, NULL, NULL);
|
||||
|
||||
if (g_strcmp0 (st_theme_node_get_background_image (node), path) == 0)
|
||||
theme_file = st_theme_node_get_background_image (node);
|
||||
if ((theme_file != NULL) && g_file_equal (theme_file, file))
|
||||
{
|
||||
st_theme_node_invalidate_background_image (node);
|
||||
changed = TRUE;
|
||||
}
|
||||
|
||||
if (g_strcmp0 (st_border_image_get_filename (st_theme_node_get_border_image (node)), path) == 0)
|
||||
theme_file = st_border_image_get_file (st_theme_node_get_border_image (node));
|
||||
if ((theme_file != NULL) && g_file_equal (theme_file, file))
|
||||
{
|
||||
st_theme_node_invalidate_border_image (node);
|
||||
changed = TRUE;
|
||||
@ -317,8 +317,6 @@ st_widget_texture_cache_changed (StTextureCache *cache,
|
||||
if (CLUTTER_ACTOR_IS_MAPPED (CLUTTER_ACTOR (actor)))
|
||||
clutter_actor_queue_redraw (CLUTTER_ACTOR (actor));
|
||||
}
|
||||
|
||||
g_free (path);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -332,12 +330,6 @@ st_widget_dispose (GObject *gobject)
|
||||
|
||||
st_widget_remove_transition (actor);
|
||||
|
||||
/* The real dispose of this accessible is done on
|
||||
* AtkGObjectAccessible weak ref callback
|
||||
*/
|
||||
if (priv->accessible)
|
||||
priv->accessible = NULL;
|
||||
|
||||
g_clear_pointer (&priv->label_actor, g_object_unref);
|
||||
|
||||
if (priv->texture_file_changed_id != 0)
|
||||
@ -2495,6 +2487,17 @@ st_widget_get_accessible (ClutterActor *actor)
|
||||
NULL);
|
||||
|
||||
atk_object_initialize (widget->priv->accessible, actor);
|
||||
|
||||
/* AtkGObjectAccessible, which StWidgetAccessible derives from, clears
|
||||
* the back reference to the object in a weak notify for the object;
|
||||
* weak-ref notification, which occurs during g_object_real_dispose(),
|
||||
* is then the optimal time to clear the forward reference. We
|
||||
* can't clear the reference in dispose() before chaining up, since
|
||||
* clutter_actor_dispose() causes notifications to be sent out, which
|
||||
* will result in a new accessible object being created.
|
||||
*/
|
||||
g_object_add_weak_pointer (G_OBJECT (actor),
|
||||
(gpointer *)&widget->priv->accessible);
|
||||
}
|
||||
|
||||
return widget->priv->accessible;
|
||||
@ -2524,14 +2527,25 @@ st_widget_set_accessible (StWidget *widget,
|
||||
AtkObject *accessible)
|
||||
{
|
||||
g_return_if_fail (ST_IS_WIDGET (widget));
|
||||
g_return_if_fail (accessible == NULL || ATK_IS_GOBJECT_ACCESSIBLE (accessible));
|
||||
|
||||
if (widget->priv->accessible != accessible)
|
||||
{
|
||||
if (widget->priv->accessible)
|
||||
{
|
||||
g_object_remove_weak_pointer (G_OBJECT (widget),
|
||||
(gpointer *)&widget->priv->accessible);
|
||||
g_object_unref (widget->priv->accessible);
|
||||
widget->priv->accessible = NULL;
|
||||
}
|
||||
|
||||
if (accessible)
|
||||
{
|
||||
widget->priv->accessible = g_object_ref (accessible);
|
||||
/* See note in st_widget_get_accessible() */
|
||||
g_object_add_weak_pointer (G_OBJECT (widget),
|
||||
(gpointer *)&widget->priv->accessible);
|
||||
}
|
||||
else
|
||||
widget->priv->accessible = NULL;
|
||||
}
|
||||
|
@ -173,17 +173,21 @@ assert_background_image (StThemeNode *node,
|
||||
const char *node_description,
|
||||
const char *expected)
|
||||
{
|
||||
const char *value = st_theme_node_get_background_image (node);
|
||||
if (expected == NULL)
|
||||
expected = "(null)";
|
||||
if (value == NULL)
|
||||
value = "(null)";
|
||||
GFile *value = st_theme_node_get_background_image (node);
|
||||
GFile *expected_file;
|
||||
|
||||
if (strcmp (expected, value) != 0)
|
||||
if (expected != NULL && value != NULL)
|
||||
{
|
||||
expected_file = g_file_new_for_path (expected);
|
||||
|
||||
if (!g_file_equal (expected_file, value))
|
||||
{
|
||||
char *uri = g_file_get_uri (expected_file);
|
||||
g_print ("%s: %s.background-image: expected: %s, got: %s\n",
|
||||
test, node_description, expected, value);
|
||||
test, node_description, expected, uri);
|
||||
fail = TRUE;
|
||||
g_free (uri);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -426,14 +430,16 @@ main (int argc, char **argv)
|
||||
StTheme *theme;
|
||||
StThemeContext *context;
|
||||
PangoFontDescription *font_desc;
|
||||
GFile *file;
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
|
||||
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||
return 1;
|
||||
|
||||
theme = st_theme_new ("st/test-theme.css",
|
||||
NULL, NULL);
|
||||
file = g_file_new_for_path ("st/test-theme.css");
|
||||
theme = st_theme_new (file, NULL, NULL);
|
||||
g_object_unref (file);
|
||||
|
||||
stage = clutter_stage_new ();
|
||||
context = st_theme_context_get_for_stage (CLUTTER_STAGE (stage));
|
||||
|
@ -312,6 +312,9 @@ function test() {
|
||||
button.label = 'NEVER';
|
||||
break;
|
||||
case 'NEVER':
|
||||
button.label = 'EXTERNAL';
|
||||
break;
|
||||
case 'EXTERNAL':
|
||||
button.label = 'AUTOMATIC';
|
||||
break;
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
const Clutter = imports.gi.Clutter;
|
||||
const Gio = imports.gi.Gio;
|
||||
const GLib = imports.gi.GLib;
|
||||
const St = imports.gi.St;
|
||||
|
||||
@ -10,7 +11,7 @@ function init(stage) {
|
||||
Environment.init();
|
||||
let context = St.ThemeContext.get_for_stage(stage);
|
||||
let stylesheetPath = GLib.getenv("GNOME_SHELL_TESTSDIR") + "/testcommon/test.css";
|
||||
let theme = new St.Theme({ application_stylesheet: stylesheetPath });
|
||||
let theme = new St.Theme({ application_stylesheet: Gio.File.new_for_path(stylesheetPath) });
|
||||
context.set_theme(theme);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user