Compare commits

..

28 Commits

Author SHA1 Message Date
Giovanni Campagna
46e959845d Release 2.91.93 (3.0 second release candidate)
To go with GNOME Shell 2.91.93
2011-03-29 15:21:07 +02:00
Nguyễn Thái Ngọc Duy
610bdb0b52 Added Vietnamese translation 2011-03-27 17:37:57 +07:00
Maxim Ermilov
0ecccc7868 windowsNavigator: correct restore focus
previously it conflict with runDialog
2011-03-26 18:48:26 +03:00
Maxim Ermilov
e0f27e9496 windowsNavigator: fix work with 2.91.92 on multimonitor 2011-03-26 18:48:22 +03:00
Giovanni Campagna
9563164d76 Release version 2.91.92 (3.0 release candidate)
To go with GNOME Shell 2.91.92
2011-03-23 17:10:54 +01:00
Giovanni Campagna
223e934ba9 AlternativeStatusMenu: fix power off string
Make it "Power Off...", not "Power off...", so it's picked from
gnome-shell translations.
2011-03-23 16:46:50 +01:00
Giovanni Campagna
a4d7a4eba4 User Themes: don't load a null stylesheet
If the stylesheet is not set, or it cannot be found, don't try to
load it.
2011-03-19 18:21:27 +01:00
Giovanni Campagna
1639f9f624 Add possibility to build all extensions
For testing, for packaging, and for jhbuild installations, you can
use --enable-extensions=all to get back to previous behaviour of
installing all extensions.
2011-03-19 17:49:41 +01:00
Claude Paroz
1148415672 Added French translation 2011-03-19 09:38:17 +01:00
Giovanni Campagna
1d9a26d7d7 Disable example, xrandr-indicator, auto-move-windows, user-theme by default.
example: not really useful for the general public.
xrandr-indicator: requires some features in gjs and gobject-introspection
that are not merged yet (bugs 634253 and 643620).
auto-move-windows and user-theme: these are very useful, but require
GSettings, so can only be installed in the same prefix as GLib, or
otherwise one needs to set GSETTINGS_SCHEMA_DIR in .profile)
2011-03-18 15:07:16 +01:00
Yinghua Wang
783ec6cf68 Add Simplified Chinese translation. 2011-03-18 20:56:44 +08:00
Mario Blättermann
5514ecbc3e [l10n] Added German translation 2011-03-17 17:54:37 +01:00
Matej Urbančič
2cc0eec19d Added sl for Slovenian translation 2011-03-16 17:06:39 +01:00
Matej Urbančič
40dff3d08f Added Slovenian translation 2011-03-16 17:06:23 +01:00
Marek Černocký
f28e3c78ab Added Czech language 2011-03-14 11:27:32 +01:00
Marek Černocký
a1ae5a338a Czech translation 2011-03-14 11:27:06 +01:00
Daniel Nylander
441d4b6b01 Added Swedish translation 2011-03-14 10:11:03 +01:00
Piotr Drąg
e4602fd890 Updated Polish translation 2011-03-13 17:06:55 +01:00
Daniel Mustieles
6e5114d897 Updated Spanish translation 2011-03-13 12:17:21 +01:00
Daniel Mustieles
6177734a65 Added Spanish translation 2011-03-13 12:16:55 +01:00
Maxim Ermilov
3825069e52 windowsNavigator: support current gnome-shell
workspace._getVisibleClones was removed.
2011-03-13 00:47:10 +03:00
Giovanni Campagna
c3e1e63eef [i18n] Updated Italian translation 2011-03-12 22:12:30 +01:00
Giovanni Campagna
064a4c5891 Add Alternative Status Menu extensions
For those who just cannot understand the design behind current
status menu, and want a power off item visible at all the time.
Adds the ability to hibernate as well.
2011-03-12 22:10:23 +01:00
John Stowers
c828d09539 Remove backup file from git 2011-03-11 13:46:17 +13:00
John Stowers
27a1714f37 Add user-theme extension
https://bugzilla.gnome.org/show_bug.cgi?id=644271
2011-03-11 13:12:27 +13:00
Giovanni Campagna
41ec4150e5 Release 2.91.91
To go with GNOME Shell 2.91.91.
2011-03-08 15:46:10 +01:00
Giovanni Campagna
984e755ee6 Dock: lower the actor to the bottom
Unless overridden manually, Clutter places actors at the top, which
means the dock is painted above both the status menu and summary
notifications.
2011-02-26 16:43:15 +01:00
Giovanni Campagna
fbbe5ba764 Add url property in the metadata
GNOME Shell emits a warning when "url" is absent in metadata.json,
adding it costs nothing. Links to the GIT repository because I
found no better page to reference.
2011-02-26 16:41:52 +01:00
35 changed files with 1028 additions and 170 deletions

View File

@@ -1,3 +1,5 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = extensions po
DISTCHECK_CONFIGURE_FLAGS = --enable-extensions=all

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[2.91.90],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[2.91.93],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
@@ -21,20 +21,29 @@ GLIB_GSETTINGS
ADDITIONAL_PACKAGES=
dnl keep this in sync with extensions/Makefile.am
ALL_EXTENSIONS="example alternate-tab xrandr-indicator windowsNavigator auto-move-windows dock"
ALL_EXTENSIONS="example alternate-tab xrandr-indicator windowsNavigator auto-move-windows
dock user-theme alternative-status-menu"
DEFAULT_EXTENSIONS="alternate-tab windowsNavigator dock alternative-status-menu"
AC_ARG_ENABLE([extensions],
[AS_HELP_STRING([--enable-extensions],[Space separated list of extensions to enable. Default is that all extensions are built.])],
[AS_HELP_STRING([--enable-extensions],[Space separated list of extensions to enable.
The default is to build all extensions that can be installed in the home directory and have no external depedencies.
Use "all" to enable all available extensions.])],
[],
[enable_extensions=$ALL_EXTENSIONS]
[enable_extensions=$DEFAULT_EXTENSIONS]
)
if test x$enable_extensions = xall; then
enable_extensions="$ALL_EXTENSIONS"
fi
ADDITIONAL_PACKAGES=
ENABLED_EXTENSIONS=
for e in $enable_extensions; do
case $e in
xrandr-indicator)
ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"
ADDITIONAL_PACKAGES="gnome-desktop-3.0 >= 2.91.6"
ADDITIONAL_PACKAGES="$ADDITIONAL_PAGKAGES gnome-desktop-3.0 >= 2.91.6"
;;
alternate-tab|example|windowsNavigator|auto-move-windows|dock)
alternate-tab|example|windowsNavigator|auto-move-windows|dock|user-theme|alternative-status-menu)
ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"
;;
*)
@@ -54,11 +63,13 @@ fi
dnl Please keep this sorted alphabetically
AC_CONFIG_FILES([
extensions/alternate-tab/Makefile
extensions/alternative-status-menu/Makefile
extensions/auto-move-windows/Makefile
extensions/dock/Makefile
extensions/example/Makefile
extensions/windowsNavigator/Makefile
extensions/xrandr-indicator/Makefile
extensions/user-theme/Makefile
extensions/Makefile
Makefile
po/Makefile.in

View File

@@ -1,3 +1,5 @@
extensionurl = http://git.gnome.org/gnome-shell-extensions
# Change these to modify how installation is performed
topextensiondir = $(datadir)/gnome-shell/extensions
extensionbase = @gnome-shell-extensions.gnome.org
@@ -14,6 +16,7 @@ EXTRA_DIST = metadata.json.in
metadata.json: metadata.json.in $(top_builddir)/config.status
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
-e "s|[@]uuid@|$(uuid)|" \
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" $< > $@
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" \
-e "s|[@]url@|$(extensionurl)|" $< > $@
CLEANFILES = metadata.json

View File

@@ -1,3 +1,3 @@
DIST_SUBDIRS = example alternate-tab xrandr-indicator windowsNavigator auto-move-windows dock
DIST_SUBDIRS = example alternate-tab xrandr-indicator windowsNavigator auto-move-windows dock user-theme alternative-status-menu
SUBDIRS = $(ENABLED_EXTENSIONS)

View File

@@ -4,5 +4,6 @@
"description": "A replacement for Alt-Tab, allows to cycle between windows and does not group by application",
"original-author": "thomas.bouffon@gmail.com",
"shell-version": [ "2.91.5", "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1,3 @@
EXTENSION_ID = alternative-status-menu
include ../../extension.mk

View File

@@ -0,0 +1,112 @@
/* -*- mode: js2 - indent-tabs-mode: nil - js2-basic-offset: 4 -*- */
const Lang = imports.lang;
const St = imports.gi.St;
const Main = imports.ui.main;
const PopupMenu = imports.ui.popupMenu;
const GnomeSession = imports.misc.gnomeSession;
const Gettext = imports.gettext.domain('gnome-shell');
const _ = Gettext.gettext;
function updateSuspendOrHibernate(object, pspec, item) {
let canSuspend = this._upClient.get_can_suspend();
let canHibernate = this._upClient.get_can_hibernate();
if (!canSuspend && !canHibernate) {
item.actor.hide();
return;
} else
item.actor.show();
if (!canSuspend && canHibernate) {
item.updateText(_("Hibernate"), null);
return;
}
let suspendText = _("Suspend");
let hibernateText = canHibernate ? _("Hibernate") : null;
item.updateText(suspendText, hibernateText);
}
function onSuspendOrHibernateActivate(item) {
Main.overview.hide();
let haveSuspend = this._upClient.get_can_suspend();
let haveHibernate = this._upClient.get_can_hibernate();
if (haveSuspend &&
item.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) {
this._screenSaverProxy.LockRemote(Lang.bind(this, function() {
this._upClient.suspend_sync(null);
}));
} else {
this._screenSaverProxy.LockRemote(Lang.bind(this, function() {
this._upClient.hibernate_sync(null);
}));
}
}
function createSubMenu() {
let item;
item = new PopupMenu.PopupImageMenuItem(_("Available"), 'user-available');
item.connect('activate', Lang.bind(this, this._setPresenceStatus, GnomeSession.PresenceStatus.AVAILABLE));
this.menu.addMenuItem(item);
this._presenceItems[GnomeSession.PresenceStatus.AVAILABLE] = item;
item = new PopupMenu.PopupImageMenuItem(_("Busy"), 'user-busy');
item.connect('activate', Lang.bind(this, this._setPresenceStatus, GnomeSession.PresenceStatus.BUSY));
this.menu.addMenuItem(item);
this._presenceItems[GnomeSession.PresenceStatus.BUSY] = item;
item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("My Account"));
item.connect('activate', Lang.bind(this, this._onMyAccountActivate));
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("System Settings"));
item.connect('activate', Lang.bind(this, this._onPreferencesActivate));
this.menu.addMenuItem(item);
item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("Lock Screen"));
item.connect('activate', Lang.bind(this, this._onLockScreenActivate));
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("Switch User"));
item.connect('activate', Lang.bind(this, this._onLoginScreenActivate));
this.menu.addMenuItem(item);
this._loginScreenItem = item;
item = new PopupMenu.PopupMenuItem(_("Log Out..."));
item.connect('activate', Lang.bind(this, this._onQuitSessionActivate));
this.menu.addMenuItem(item);
item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);
item = new PopupMenu.PopupAlternatingMenuItem(_("Suspend"),
_("Hibernate"));
this.menu.addMenuItem(item);
item.connect('activate', Lang.bind(this, onSuspendOrHibernateActivate));
this._upClient.connect('notify::can-suspend', Lang.bind(this, updateSuspendOrHibernate, item));
this._upClient.connect('notify::can-hibernate', Lang.bind(this, updateSuspendOrHibernate, item));
updateSuspendOrHibernate.call(this, null, null, item);
item = new PopupMenu.PopupMenuItem(_("Power Off..."));
item.connect('activate', Lang.bind(this, function() {
this._session.ShutdownRemote();
}));
this.menu.addMenuItem(item);
}
// Put your extension initialization code here
function main(metadata) {
let statusMenu = Main.panel._statusmenu;
statusMenu.menu.removeAll();
createSubMenu.call(statusMenu);
}

View File

@@ -0,0 +1,8 @@
{
"uuid": "@uuid@",
"name": "Alternative Status Menu",
"description": "Replaces GNOME Shell Status Menu with one showing Suspend/Hibernate and Power Off as separate items",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1,3 @@
.popup-alternating-menu-item:alternate {
font-weight: normal !important;
}

View File

@@ -4,5 +4,6 @@
"description": "Move applications to specific workspaces when they create windows",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"original-authors": [ "alessandro.crismani@gmail.com", "thomas.bouffon@gmail.com" ]
"original-authors": [ "alessandro.crismani@gmail.com", "thomas.bouffon@gmail.com" ],
"url": "@url@"
}

View File

@@ -63,6 +63,7 @@ Dock.prototype = {
this._tracker.connect('app-state-changed', Lang.bind(this, this._queueRedisplay));
Main.chrome.addActor(this.actor, { visibleInOverview: false });
this.actor.lower_bottom();
},
_appIdListToHash: function(apps) {

View File

@@ -5,4 +5,5 @@
"original-author": "tclaesson@gmail.com",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -3,5 +3,6 @@
"name": "Hello, World!",
"description": "An example extension to show how it works. Shows Hello, world when clicking on the top panel.",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1,14 @@
EXTENSION_ID = user-theme
include ../../extension.mk
gschemas_in = org.gnome.shell.extensions.user-theme.gschema.xml.in
@INTLTOOL_XML_NOMERGE_RULE@
gsettings_SCHEMAS = $(gschemas_in:.xml.in=.xml)
@GSETTINGS_RULES@
CLEANFILES += $(gschemas_in:.xml.in=.valid) $(gsettings_SCHEMAS)
EXTRA_DIST += $(gschemas_in)

View File

@@ -0,0 +1,45 @@
// -*- mode: js2; indent-tabs-mode: nil; js2-basic-offset: 4 -*-
// Load shell theme from ~/.themes/name/gnome-shell
const GLib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Main = imports.ui.main;
const SETTINGS_SCHEMA = 'org.gnome.shell.extensions.user-theme';
const SETTINGS_KEY = 'name';
function ThemeManager() {
this._init();
}
ThemeManager.prototype = {
_init: function() {
this._settings = new Gio.Settings({ schema: SETTINGS_SCHEMA });
this._settings.connect('changed::'+SETTINGS_KEY, Lang.bind(this, this._changeTheme));
this._changeTheme();
},
_changeTheme: function() {
let _stylesheet = null;
let _themeName = this._settings.get_string(SETTINGS_KEY);
if (_themeName) {
let _userCssStylesheet = GLib.get_home_dir() + '/.themes/' + _themeName + '/gnome-shell/gnome-shell.css';
file = Gio.file_new_for_path(_userCssStylesheet);
if (file.query_exists(null))
_stylesheet = _userCssStylesheet;
}
if (_stylesheet) {
global.log('loading user theme: ' + _stylesheet)
Main.setThemeStylesheet(_stylesheet);
Main.loadTheme();
}
}
}
function main(metadata) {
new ThemeManager();
}

View File

@@ -0,0 +1,9 @@
{
"uuid": "@uuid@",
"name": "User Themes",
"description": "Load shell themes from user directory",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"original-authors": [ "john.stowers@gmail.com" ],
"url": "@url@"
}

View File

@@ -0,0 +1,9 @@
<schemalist gettext-domain="gnome-shell-extensions">
<schema id="org.gnome.shell.extensions.user-theme" path="/org/gnome/shell/extensions/user-theme/">
<key name="name" type="s">
<default>""</default>
<_summary>Theme name</_summary>
<_description>The name of the theme, to be loaded from ~/.themes/name/gnome-shell</_description>
</key>
</schema>
</schemalist>

View File

View File

@@ -45,9 +45,10 @@ function main() {
Workspace.Workspace.prototype.showTooltip = function() {
if (this._tip == null)
return;
if (this.parent)
return;
this.actor.add_actor(this._tip);
this._tip.text = (this.metaWorkspace.index() + 1).toString();
this._tip.x = this._x;
this._tip.y = this._y;
this._tip.show();
this._tip.raise_top();
}
Workspace.Workspace.prototype.hideTooltip = function() {
@@ -55,7 +56,7 @@ function main() {
return;
if (!this._tip.get_parent())
return;
this.actor.remove_actor(this._tip);
this._tip.hide();
}
Workspace.Workspace.prototype.getWindowWithTooltip = function(id) {
for (let i in this._windowOverlays) {
@@ -80,7 +81,8 @@ function main() {
}
WorkspacesView.WorkspacesView.prototype._hideTooltips = function() {
global.stage.set_key_focus(this._prevFocusActor);
if (global.stage.get_key_focus() == global.stage)
global.stage.set_key_focus(this._prevFocusActor);
this._pickWindow = false;
for (let i = 0; i < this._workspaces.length; i++)
this._workspaces[i].hideWindowsTooltips();
@@ -153,7 +155,7 @@ function main() {
injectToFunction(Workspace.WindowOverlay.prototype, '_init', function(windowClone, parentActor) {
this._id = null;
this._text = new St.Label({ style_class: 'window-tooltip' });
this._text = new St.Label({ style_class: 'extension-windowsNavigator-window-tooltip' });
this._text.hide();
parentActor.add_actor(this._text);
});
@@ -164,9 +166,11 @@ function main() {
this._text.raise_top();
});
injectToFunction(Workspace.Workspace.prototype, '_init', function(metaWorkspace) {
if (metaWorkspace.index() < 9) {
this._tip = new St.Label({ style_class: 'window-tooltip',
text: (metaWorkspace.index() + 1).toString() });
if (metaWorkspace && metaWorkspace.index() < 9) {
this._tip = new St.Label({ style_class: 'extension-windowsNavigator-window-tooltip',
visible: false });
this.actor.add_actor(this._tip);
this.actor.connect('notify::scale-x', Lang.bind(this, function() {
this._tip.set_scale(1 / this.actor.scale_x, 1 / this.actor.scale_x);
}));
@@ -174,7 +178,7 @@ function main() {
this._tip = null;
});
injectToFunction(Workspace.Workspace.prototype, 'positionWindows', function(flags) {
let visibleClones = this._getVisibleClones();
let visibleClones = this._windows.slice();
if (this._reservedSlot)
visibleClones.push(this._reservedSlot);

View File

@@ -1,8 +1,9 @@
{
"shell-version": ["2.91.5", "@shell_current@"],
"shell-version": ["@shell_current@"],
"uuid": "@uuid@",
"localedir": "@LOCALEDIR@",
"original-author": "zaspire@rambler.ru",
"name": "windowNavigator",
"description": "Allow keyboard selection of windows and workspaces in overlay mode"
"description": "Allow keyboard selection of windows and workspaces in overlay mode",
"url": "@url@"
}

View File

@@ -1,4 +1,4 @@
.window-tooltip {
.extension-windowsNavigator-window-tooltip {
color: #ff0000;
background: rgba(0,0,0,0.8);
border: 1px solid rgba(128,128,128,0.40);

View File

@@ -1,132 +0,0 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const DBus = imports.dbus;
const Gdk = imports.gi.Gdk;
const GLib = imports.gi.GLib;
const GnomeDesktop = imports.gi.GnomeDesktop;
const Lang = imports.lang;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Main = imports.ui.main;
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;
const Panel = imports.ui.panel;
const Gettext = imports.gettext.domain('gnome-shell');
const _ = Gettext.gettext;
const possibleRotations = [ GnomeDesktop.RRRotation.ROTATION_0,
GnomeDesktop.RRRotation.ROTATION_90,
GnomeDesktop.RRRotation.ROTATION_180,
GnomeDesktop.RRRotation.ROTATION_270
];
let rotations = [ [ GnomeDesktop.RRRotation.ROTATION_0, _("Normal") ],
[ GnomeDesktop.RRRotation.ROTATION_90, _("Left") ],
[ GnomeDesktop.RRRotation.ROTATION_270, _("Right") ],
[ GnomeDesktop.RRRotation.ROTATION_180, _("Upside-down") ]
];
const XRandr2Iface = {
name: 'org.gnome.SettingsDaemon.XRANDR_2',
methods: [
{ name: 'ApplyConfiguration', inSignature: 'xx', outSignature: '' },
]
};
let XRandr2 = DBus.makeProxyClass(XRandr2Iface);
function Indicator() {
this._init.apply(this, arguments);
}
Indicator.prototype = {
__proto__: PanelMenu.SystemStatusButton.prototype,
_init: function() {
PanelMenu.SystemStatusButton.prototype._init.call(this, 'preferences-desktop-display');
this._proxy = new XRandr2(DBus.session, 'org.gnome.SettingsDaemon', '/org/gnome/SettingsDaemon/XRANDR');
try {
this._screen = new GnomeDesktop.RRScreen({ gdk_screen: Gdk.Screen.get_default() });
this._screen.init(null);
} catch(e) {
// an error means there is no XRandR extension
this.actor.hide();
return;
}
this._createMenu();
this._screen.connect('screen-changed', Lang.bind(this, this._randrEvent));
},
_randrEvent: function() {
this.menu.removeAll();
this._createMenu();
},
_createMenu: function() {
let config = GnomeDesktop.RRConfig.new_current(this._screen);
let outputs = config.get_outputs();
for (let i = 0; i < outputs.length; i++) {
if (outputs[i].get_connected())
this._addOutputItem(config, outputs[i]);
}
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Configure display settings..."), function() {
GLib.spawn_command_line_async('gnome-control-center display');
});
},
_addOutputItem: function(config, output) {
let item = new PopupMenu.PopupMenuItem(output.get_display_name());
item.label.add_style_class_name('display-subtitle');
item.actor.reactive = false;
item.actor.can_focus = false;
this.menu.addMenuItem(item);
let allowedRotations = this._getAllowedRotations(config, output);
for (let i = 0; i < rotations.length; i++) {
let [bitmask, name] = rotations[i];
if (bitmask & allowedRotations) {
this.menu.addAction(name, Lang.bind(this, function(event) {
/* ensure config is saved so we get a backup if anything goes wrong */
config.save();
output.set_rotation(bitmask);
try {
config.save();
this._proxy.ApplyConfigurationRemote(global.stage_xwindow, event.get_time());
} catch (e) {
logError ('Could not save monitor configuration: ' + e);
}
}));
}
}
},
_getAllowedRotations: function(config, output) {
let retval = 0;
let current = output.get_rotation();
for (let i = 0; i < possibleRotations.length; i++) {
output.set_rotation(possibleRotations[i]);
if (config.applicable(this._screen)) {
retval |= possibleRotations[i];
}
}
output.set_rotation(current);
if (retval.lenght == 0) {
// what, no rotation?
// what's current then?
retval = current;
}
return retval;
}
}
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['display'] = Indicator;

View File

@@ -3,5 +3,6 @@
"name": "Monitor Status Indicator",
"description": "Add a systems status menu for rotating monitors (overrides what is currently provided by gnome-settings-daemon)",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@"
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -1 +1,10 @@
cs
de
es
fr
it
pl
sl
sv
vi
zh_CN

View File

@@ -4,4 +4,5 @@ extensions/xrandr-indicator/extension.js
extensions/alternate-tab/extension.js
extensions/auto-move-windows/extension.js
extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in
extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in
extensions/dock/extension.js

83
po/cs.po Normal file
View File

@@ -0,0 +1,83 @@
# Czech translation for gnome-shell-extensions.
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
# Marek Černocký <marek@manet.cz>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-13 16:07+0000\n"
"PO-Revision-Date: 2011-03-14 11:24+0100\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
"MIME-Version: 1.0\n"
"Language: cs\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"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Ahoj světe!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normální"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Doleva"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Doprava"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Vzhůru nohama"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Upravit nastavení zobrazení…"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Seznam řetězců, z nichž každý obsahuje ID aplikace (název souboru pracovní "
"plochy), následovaný dvojtečkou a číslem pracovní plochy"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Seznam aplikací a pracovních ploch"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Název motivu, který se má načíst z ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Název motivu"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Přetažením sem přidáte do oblíbených"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nové okno"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Ukončit aplikaci"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Odebrat z oblíbených"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Přidat do oblíbených"

84
po/de.po Normal file
View File

@@ -0,0 +1,84 @@
# German translation for gnome-shell-extensions.
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
# Mario Blättermann <mariobl@gnome.org>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-16 16:06+0000\n"
"PO-Revision-Date: 2011-03-17 17:52+0100\n"
"Last-Translator: Mario Blättermann <mariobl@gnome.org>\n"
"Language-Team: German <gnome-de@gnome.org>\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"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hallo, Welt!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Links"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Rechts"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Kopfüber"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Bildschirmeinstellungen festlegen …"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Eine Liste aus Zeichenketten, wovon jede eine Anwendungskennung (*.desktop-"
"Datei) enthält, gefolgt von einem Doppelpunkt und der Nummer der Arbeitsfläche"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Anwendungs- und Arbeitsflächenliste"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr ""
"Der Name des Themas, welches aus ~/.themes/name/gnome-shell geladen werden "
"soll"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Themenname"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Hierher ziehen, um zu Favoriten hinzuzufügen"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Neues Fenster"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Anwendung beenden"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Aus Favoriten entfernen"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Zu Favoriten hinzufügen"

83
po/es.po Normal file
View File

@@ -0,0 +1,83 @@
# Spanish translation for gnome-shell-extensions.
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
# Daniel Mustieles <daniel.mustieles@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-12 21:49+0000\n"
"PO-Revision-Date: 2011-03-13 12:14+0100\n"
"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
"Language-Team: Español <gnome-es-list@gnome.org>\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"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "¡Hola, Mundo!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Izquierda"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Derecha"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Hacia abajo"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configurar las opciones de pantalla…"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Una lista de cadenas, conteniendo cada una un ID de aplicación (nombre de "
"archivo de escritorio), seguido de dos puntos y el número del espacio de "
"trabajo"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lista de aplicaciones y espacios de trabajo"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "El nombre del tema, que se carga desde ~/.themes/nombre/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Nombre del tema"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Arrastrar aquí para añadir a favoritos"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Ventana nueva"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Salir de la aplicación"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Quitar de favoritos"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Añadir a favoritos"

83
po/fr.po Normal file
View File

@@ -0,0 +1,83 @@
# French translation for gnome-shell-extensions.
# Copyright (C) 2011 Listed translators
# This file is distributed under the same license as the gnome-shell-extensions package.
# Claude Paroz <claude@2xlibre.net>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-18 14:07+0000\n"
"PO-Revision-Date: 2011-03-19 09:37+0100\n"
"Last-Translator: Claude Paroz <claude@2xlibre.net>\n"
"Language-Team: French <gnomefr@traduc.org>\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"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Bonjour le monde !"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Gauche"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Droite"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Renversé"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configurer les paramètres d'affichage..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Une liste de chaînes, contenant chacune un identifiant d'application (nom "
"de fichier desktop), suivi par un deux-points et le numéro de l'espace de "
"travail"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Liste d'applications et d'espaces de travail"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Le nom du thème, à charger à partir de ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Nom du thème"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Déposez ici pour ajouter aux favoris"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nouvelle fenêtre"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Quitter l'application"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Enlever des favoris"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Ajouter aux favoris"

View File

@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions 2.91.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-02-19 20:39+0100\n"
"PO-Revision-Date: 2011-02-20 18:04+0100\n"
"POT-Creation-Date: 2011-03-12 22:11+0100\n"
"PO-Revision-Date: 2011-03-12 22:12+0100\n"
"Last-Translator: Giovanni Campagna <scampa.giovanni@gmail.com>\n"
"Language-Team: none <LL@li.org>\n"
"Language: \n"
@@ -21,23 +21,23 @@ msgstr ""
msgid "Hello, world!"
msgstr "Ciao, mondo!"
#: ../extensions/xrandr-indicator/extension.js:25
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normale"
#: ../extensions/xrandr-indicator/extension.js:26
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Sinistra"
#: ../extensions/xrandr-indicator/extension.js:27
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Destra"
#: ../extensions/xrandr-indicator/extension.js:28
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Rovesciato"
#: ../extensions/xrandr-indicator/extension.js:77
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configura impostazioni display..."
@@ -45,28 +45,38 @@ msgstr "Configura impostazioni display..."
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr "Una lista di stringhe, ognuna contenente un id applicazione (nome del file .desktop), seguito da due punti e il numero dello spazio di lavoro"
msgstr ""
"Una lista di stringhe, ognuna contenente un id applicazione (nome del file ."
"desktop), seguito da due punti e il numero dello spazio di lavoro"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lista applicazioni e spazi di lavoro"
#: ../extensions/dock/extension.js:115
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Il nome del tema, da caricare in ~/.themes/nome/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Nome del tema"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Trascina qui per aggiungere ai preferiti"
#: ../extensions/dock/extension.js:415
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nuova finestra"
#: ../extensions/dock/extension.js:417
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Chiudi applicazione"
#: ../extensions/dock/extension.js:422
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Rimuovi dai preferiti"
#: ../extensions/dock/extension.js:423
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Aggiungi ai preferiti"

86
po/pl.po Normal file
View File

@@ -0,0 +1,86 @@
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Aviary.pl
# Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz
# pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas:
# gnomepl@aviary.pl
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-12 21:49+0000\n"
"PO-Revision-Date: 2011-03-12 23:55+0100\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <gnomepl@aviary.pl>\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%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2);\n"
"X-Poedit-Language: Polish\n"
"X-Poedit-Country: Poland\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Witaj, świecie!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normalnie"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "W lewo"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "W prawo"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Odbicie poziomo"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Skonfiguruj ustawienia ekranu..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Lista ciągów, każdy zawierający identyfikator programu (nazwę pliku "
".desktop) z przecinkiem i numerem obszaru roboczego"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lista programów i obszarów roboczych"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Nazwa motywu do wczytania z katalogu ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Nazwa motywu"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Przeciągnięcie tutaj dodaje do ulubionych"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nowe okno"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Zakończ program"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Usuń z ulubionych"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Dodaj do ulubionych"

81
po/sl.po Normal file
View File

@@ -0,0 +1,81 @@
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
#
# Matej Urbančič <mateju@svn.gnome.org>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2009-09-10 22:35+0000\n"
"PO-Revision-Date: 2011-03-16 11:12+0100\n"
"Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n"
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n"
"X-Poedit-Language: Slovenian\n"
"X-Poedit-Country: SLOVENIA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Pozdravljen, svet!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Običajno"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Levo"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Desno"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Zgornja stran navzdol"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Nastavitve zaslona ..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "A list of strings, each containing an application id (desktop file name), followed by a colon and the workspace number"
msgstr "Seznam nizov z določilom ID programa (namizno ime programa), ki mu sledi dvopičje in nato številka delovne površine."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Seznam programov in delovnih površin"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Ime teme, ki bo naložena iz ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Ime teme"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Potegnite sem, za dodajanje med priljubljene"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Novo okno"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Končaj program"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Odstrani iz priljubljenih"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Dodaj med priljubljene"

78
po/sv.po Normal file
View File

@@ -0,0 +1,78 @@
# Swedish translation for gnome-shell-extensions.
# Copyright (C) 2011 Free Software Foundation, Inc.
# This file is distributed under the same license as the gnome-shell-extensions package.
# Daniel Nylander <po@danielnylander.se>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-03-14 10:07+0100\n"
"PO-Revision-Date: 2011-03-14 10:10+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hej, världen!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Vänster"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Höger"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Upp och ner"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Konfigurera skärminställningar.."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "A list of strings, each containing an application id (desktop file name), followed by a colon and the workspace number"
msgstr "En lista över strängar, var och en innehållande ett program-id (skrivbordsfilnamn), följt av ett kolontecken och arbetsytans nummer"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lista över program och arbetsyta"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Namnet på temat, kommer att läsas in från ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Temanamn"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Dra hit för att lägga till i favoriter"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nytt fönster"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Avsluta programmet"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Ta bort från favoriter"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Lägg till i favoriter"

82
po/vi.po Normal file
View File

@@ -0,0 +1,82 @@
# Vietnamese translation for gnome-shell-extensions.
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
# Nguyễn Thái Ngọc Duy <pclouds@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-26 15:50+0000\n"
"PO-Revision-Date: 2011-03-27 17:37+0700\n"
"Last-Translator: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>\n"
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\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"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Xin chào!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Chuẩn"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Trái"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Phải"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Trên xuống"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Cấu hình thiết lập hiển thị..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"Danh sách chuỗi các id ứng dụng (tên tập tin .desktop), theo sau là dấu hai "
"chấm và mã số vùng làm việc"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Danh sách ứng dụng và vùng làm việc"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "Tên sắc thái, nạp từ ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Tên sắc thái"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Thả vào đây để thêm ưa thích"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Cửa sổ mới"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Thoát ứng dụng"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Hết ưa thích"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Đánh dấu ưa thích"

80
po/zh_CN.po Normal file
View File

@@ -0,0 +1,80 @@
# Chinese (China) translation for gnome-shell-extensions.
# Copyright (C) 2011 Free Software Foundation, Inc.
# This file is distributed under the same license as the gnome-shell-extensions package.
# Yinghua_Wang <wantinghard@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-"
"shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-03-14 10:28+0000\n"
"PO-Revision-Date: 2011-03-18 20:56+0800\n"
"Last-Translator: Yinghua Wang <wantinghard@gmail.com>\n"
"Language-Team: Chinese (China) <i18n-zh@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "世界,你好!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "正常"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "左"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "右"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "上下翻转"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "配置显示设置..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
msgstr ""
"一系列字符串,每个字符串包含一个应用程序标识(桌面文件名称)、冒号加工作区号"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "应用程序和工作区列表"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:1
msgid "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
msgstr "将从 ~/.themes/name/gnome-shell 加载的主题名称"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "主题名称"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "拖放到这里以添加收藏"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "新窗口"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "退出应用程序"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "移除收藏"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "添加收藏"