Compare commits

...

73 Commits
3.0.0 ... 3.1.4

Author SHA1 Message Date
Giovanni Campagna
1b05d27246 Bump version to 3.1.4
To go along GNOME Shell 3.1.4
2011-08-01 16:01:30 +02:00
Stefano Facchini
30ab8c5841 Tweak the workspace gaps in order to have a constant aspect ratio
https://bugzilla.gnome.org/show_bug.cgi?id=655432
2011-08-01 15:52:25 +02:00
Giovanni Campagna
23613f32c7 Fix mentions of shell_global_get_primary_monitor()
This method has been removed, and replaced by Main.layoutManager.primaryMonitor

Patch sent by Miguel Aguilar <zodiac_es@yahoo.es>
2011-08-01 15:45:40 +02:00
Giovanni Campagna
002b1b5d07 alternate-tab: more alternative implementations
Now alternate-tab shows a dialog on first usage, allowing to choose
between native behavior (app icons from all worskpaces), app icons
from current workspace only and window thumbnails only.

Patch written by Joachim Bargsten <dev@bargsten.org>
2011-08-01 15:38:28 +02:00
Giovanni Campagna
438bfe6b34 workspace-indicator: show a dot next to current workspace
In the menu, next to current workspace, show a dot, following the
pattern of other menus in the shell. Includes more whitespace
changes than I'd like.
2011-07-13 02:02:42 +02:00
Erick Pérez Castellanos
20094e43c5 New extension: workspace-indicator
This extension shows a menu in the status area that indicates
current workspace and allows for quick switching, similar to the
workspace-indicator applet in GNOME 2.
2011-07-13 01:29:03 +02:00
Giovanni Campagna
bbc00e5c3d dock: implement autohiding
Now it is possible to configure in GSettings if the dock should be
visible at all time or it should autohide when not needed. If
autohiding, it animates, and the effect is itself configurable, as
well as his duration.
Based on a patch by Miguel Aguilar <zodiac_es@yahoo.es>
2011-07-13 00:55:08 +02:00
Giovanni Campagna
dd4ccca358 Fix mentions of shell_global_get_primary_monitor()
This method has been removed from master, and replaced by
Main.layoutManager.primaryMonitor
2011-07-09 16:14:08 +02:00
Alessandro Crismani
9a8704203b AutoMoveWindows: show overview when the last window workspace is closed
Using the auto move window the overview is not shown when the last
window on the last workspace is closed, instead the workspace before is
activated. This differs from the core gnome-shell's behaviour. Fix the
extension to show the ovreview instead of changing workspace when the
last window is closed on the last workspace. The fix is basically merged
from gnome-shell master.

Summarizing, the behaviour is now:
- The last window is closed on any workspace but the last: do nothing
- The last window is closed on the last workspace: show the overview
  instead of switching to the "upper" workspace

https://bugzilla.gnome.org/show_bug.cgi?id=651586
2011-07-09 15:59:45 +02:00
Alessandro Crismani
68629ea7a6 Auto Move Windows: open overview when last window is closed
Using the auto move window the overview is not shown when the last
window on a workspace is closed, instead the workspace before is
activated. Fix the extension to show the ovreview instead of changing
workspace when the last window is closed. The fix is basically merged
from gnome-shell master.

https://bugzilla.gnome.org/show_bug.cgi?id=651586
2011-07-09 15:56:58 +02:00
malcolmlewis
048e29f3ed Fix zero-length warning for stylesheets
rpmlint emits a warning if you install a zero-lenght file. Fix that
by adding a comment in each empty file.

Signed-off-by: malcolmlewis <malcolmlewis@opensuse.org>

https://bugzilla.gnome.org/show_bug.cgi?id=654274
2011-07-09 15:06:01 +02:00
Giovanni Campagna
4c313514ba Fix FSF address in COPYING
Reported in bug 654272
2011-07-09 15:03:17 +02:00
Giovanni Campagna
deb70e5d5d systemMonitor: don't require a too new libgtop
libgtop 2.28.3 is the first version to introduce introspection
support, and it is enough for our needs.
2011-07-09 15:00:43 +02:00
Giovanni Campagna
e8fd6244b2 Update NEWS
Forgot to update before.
2011-07-09 14:43:26 +02:00
Takeshi AIHANA
6055ad8866 Added Japanese translation. 2011-07-05 00:42:37 +09:00
Giovanni Campagna
de173d0e1c Bump version to 3.1.3
To go with recently released GNOME Shell 3.1.3
Fixed gjs version and distcheck at the same time
2011-07-02 14:23:09 +02:00
Giovanni Campagna
939994d07d dock: fix showing in overview with gnome-shell master
Chrome module no longer updates the visibility of objects when
the overview is shown or hidden, so we need to do it ourselves.
2011-06-30 21:52:18 +02:00
Gabor Kelemen
18912db64e Added Hungarian translation 2011-06-07 23:09:50 +02:00
Gabor Kelemen
d5366cb800 Added hu to LINGUAS 2011-06-07 23:09:35 +02:00
Yuri Myasoedov
da89fe53fb Updated Russian translation 2011-06-05 15:01:52 +04:00
Nguyễn Thái Ngọc Duy
31ee462a0b Updated Vietnamese translation 2011-06-04 14:00:06 +07:00
A S Alam
4d8af00bba added Punjabi Translation and update LINGUAS file for locale 2011-06-03 08:19:15 +05:30
Vamsi Krishna Brahmajosyula
bdbf44805d New Extension: applications menu on the panel 2011-05-31 22:03:34 +02:00
Giovanni Campagna
47b478df60 Revert "Add 3.0 to user-theme"
This reverts commit 60bc404d95.

master branch is for master gnome-shell, which is 3.0.1 and unstable.
gnome-3-0 branch is for stable shell, and has 3.0 for everything
which is supported by shell developers.
Next time, please ask me before committing.
2011-05-31 20:25:19 +02:00
John Stowers
60bc404d95 Add 3.0 to user-theme 2011-05-31 14:10:11 +12:00
Martin Dengler
72583b1bf6 fix undeclared file variable in user-theme/extension.js
Eliminates the warning message about assigning to an undeclared
variable when User Theme extension is used. Fixes BZ #651374.
2011-05-31 14:09:16 +12:00
Giovanni Campagna
63dd27c4f5 drive-menu: rework to use PlacesManager from the Shell
Rewrite to use similar code to that used by places-menu, and the
mounts shown by searching in the overview.
Should fix the issue in bug #650076 that prevented remounting the
drives after ejecting, and should be compatible with what Nautilus
does by default.
2011-05-23 23:25:02 +02:00
Marc Alcalà
41d9b71b26 Allow dock allows multiple positions in screen
Use GSettings to store configuration and make the dock position
customizabile. Currently, supported are left and right of the
primary monitor; more could be added in the future.

(Commit message edited by Giovanni Campagna)

https://bugzilla.gnome.org/show_bug.cgi?id=647394

Signed-off-by: Giovanni Campagna <gcampagna@src.gnome.org>
2011-05-23 22:42:07 +02:00
Arash Mousavi
93dbe4cb6b Added Persian translation 2011-05-23 22:38:48 +04:30
Giovanni Campagna
212bf6c70c Add NEWS file, and update gnome-shell-extensions.doap
Necessary for releasing tarballs.
2011-05-21 16:17:15 +02:00
Yaron Shahrabani
251b1cc935 Updated Hebrew translation. 2011-05-13 13:19:59 +03:00
Yaron Shahrabani
ed5bb6cf9a Updated Hebrew translation. 2011-05-13 13:18:59 +03:00
Yaron Shahrabani
40ca668f0c Added he to the LINGUAS 2011-05-13 13:17:07 +03:00
Giovanni Campagna
03660f45b1 drive-menu: do nothing if the drive is has no volume
If the drive is not partitioned, or the volume has not appeared yet,
return early from activate, to avoid an exception.
2011-05-12 19:40:52 +02:00
Giovanni Campagna
1a00ee38fe native-window-placement: make placement strategy a setting
Now it is possible to use GSettings to configure the placement
strategy (natural KDE-like or default grid) and whether to consolidate
the windows more tigthly, as well as the position of the window
captions.
2011-05-12 19:35:55 +02:00
Giovanni Campagna
190f722fe6 Update README
Add the new extensions that were left out.
2011-05-12 18:59:40 +02:00
Giovanni Campagna
2d1e3560b3 native-window-placement: update coding style and indentation
Mostly a whitespace patch, plus the removal of some commented out
code.
2011-05-12 18:58:30 +02:00
Giovanni Campagna
f24365520c New extension: native-window-placement
This extension employs an algorithm (taken from KDE) for layouting
the thumbnails in the overview that more closely reflects the positions
and relative sizes of the actual windows, instead of using a fixed
grid.
2011-05-12 18:42:53 +02:00
Giovanni Campagna
bfd107cef0 xrandr-indicator: require the right gjs version
xrandr-indicator makes the whole shell crash if the right gjs
features are missing, but instead of asking not to install it, we
can use gjs versioning.
2011-05-12 18:32:06 +02:00
Giovanni Campagna
eae099f97c Rework how external packages are pulled in
Now if a required external package cannot be found, it doesn't fail
and instead prints a warning. This is to allow building with
--enable-extensions=all without the required libraries.
Also bump required libgtop version to the one with the typelib.
2011-05-12 18:28:48 +02:00
Giovanni Campagna
3281a10031 Rework how default extensions are chosen
Now we enable by default only extensions that are unlikely to
conflict much with the shell experience (so no alternate-tab, no
auto-move-windows, etc.) and require no GSettings or external
packages.
2011-05-12 18:06:32 +02:00
Maxim Ermilov
30273d09df systemMonitor: new extension
https://bugzilla.gnome.org/show_bug.cgi?id=634080
2011-05-11 00:42:37 +04:00
Giovanni Campagna
b20cba35a8 places-menu: don't show "removable drives" if none is attached
Having an empty submenu is weird, it's better to hide it completely
in that case.
Plus a bunch of whitespace fixes.
2011-05-04 16:29:22 +02:00
Vamsi Krishna Brahmajosyula
a78e42e4fc New Extension: Places Menu Status Indicator
Signed-off-by: Vamsi Krishna Brahmajosyula <vamsikrishna.brahmajosyula@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=648724
2011-05-04 16:10:32 +02:00
Giovanni Campagna
5b212bd1fd Add COPYING
License file for GNU General Public Licence v2
2011-05-03 18:36:10 +02:00
Elad Alfassa
268fd462ac Support globally installed themes
If a theme cannot be found in the user directory, try in system
data dirs (XDG_DATA_DIRS, usually /usr/share and /usr/local/share)

Signed-off-by: Giovanni Campagna <gcampagna@src.gnome.org>
2011-05-02 18:31:19 +02:00
Giovanni Campagna
d942e255f7 user-theme: fix resetting theme to null
Previously null stylesheets were ignored, making it impossible to
reset the default. We still need to filter out invalid (non existing)
stylesheets, as no check is performed by shell code.
2011-05-02 18:07:39 +02:00
Giovanni Campagna
f016b95f77 Update Italian translation 2011-04-26 15:35:56 +02:00
Giovanni Campagna
6756ad4630 StatusMenu: update to latest GNOME Shell API
The hook to access the status menu was changed in panel.js. Also
replace the alternating menu item with two separate menu items (which
side-steps bug 643631) and use own translations instead of those
provided by gnome-shell (so Hibernate is translated)
2011-04-26 15:35:44 +02:00
Giovanni Campagna
2df002955e New extension: Removable Drive Menu
Adds a menu in the system status area that tracks removable disk devices
attached and offers to browse them and eject/unmount them.

https://bugzilla.gnome.org/show_bug.cgi?id=647027
2011-04-26 01:21:53 +02:00
Giovanni Campagna
0ce994ba46 Revert "Mark extensions that require only public API"
This reverts commit 6cd9530862, and
reopens development againts GNOME Shell master. Time for 3.2!
2011-04-26 01:17:23 +02:00
Rudolfs Mazurs
52104d5bd1 Added Latvian translation. 2011-04-25 20:59:31 +03:00
Rodolfo Ribeiro Gomes
b2233963b4 Updated Brazilian Portuguese translation 2011-04-25 10:32:40 -03:00
Daniel Mustieles
5b4cb3b527 Updated Spanish translation 2011-04-21 19:42:57 +02:00
Claude Paroz
8b73c8209f Updated French translation 2011-04-21 16:51:28 +02:00
Yinghua Wang
9c455db395 update zh_CN translation 2011-04-21 03:47:37 +08:00
Piotr Drąg
e6e8f9e55a Updated Polish translation 2011-04-19 09:16:45 +02:00
Lê Trường An
af09393e50 Updated Vietnamese translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
2011-04-18 21:07:09 +07:00
Nguyễn Thái Ngọc Duy
954aa1fa7e po/vi.po: import from Damned Lies 2011-04-18 21:04:38 +07:00
Mario Blättermann
569e80c132 [l10n] Updated German translation 2011-04-17 11:15:39 +02:00
Marek Černocký
908a6752c1 Updated Czech translation 2011-04-17 11:11:28 +02:00
Matej Urbančič
f41aa6a0fa Updated Slovenian translation 2011-04-16 21:08:43 +02:00
Kjartan Maraas
94de7095c6 Add missing file to POTFILES.in 2011-04-16 18:32:43 +02:00
Kjartan Maraas
d28a9d7bed Updated Norwegian bokmål translation 2011-04-16 18:32:27 +02:00
Kjartan Maraas
6563a5b9db Added Norwegian bokmål translation 2011-04-16 18:19:26 +02:00
Kjartan Maraas
ff43078ff3 Add nb 2011-04-16 18:19:18 +02:00
Fran Diéguez
a4d2ef959b Updated Galician translations 2011-04-14 09:58:58 +02:00
Fran Diéguez
e09b0f3b5f Updated Galician translations 2011-04-14 09:58:32 +02:00
Christian Kirbach
4335a52997 [l10n] Updated German translation. 2011-04-09 12:42:11 +02:00
Daniel Nylander
2b024315f7 Updated Swedish translation 2011-04-08 21:02:13 +02:00
Kris Thomsen
6d56cf6d98 Updated Danish translation 2011-04-06 22:28:44 +02:00
Matej Urbančič
f0f78b097b Updated Slovenian translation 2011-04-06 12:31:47 +02:00
Adam Dingle
17e8373513 Added a brief description of each extension to the README file.
https://bugzilla.gnome.org/show_bug.cgi?id=646802
2011-04-05 22:53:39 +02:00
73 changed files with 4840 additions and 393 deletions

339
COPYING Normal file
View File

@@ -0,0 +1,339 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc. <http://fsf.org>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

39
NEWS Normal file
View File

@@ -0,0 +1,39 @@
3.1.4
=====
* New extension: a menu for changing workspace (workspace-indicator)
* systemMonitor: lower the requirement on libgtop
* auto-move-windows: open overview when last window on
last workspace is closed
* dock: implement autohiding, with various configurable
effects
* alternate-tab: more configurable implementations available
* native-window-placement: don't rearrange the windows when
the workspace switcher is shown/hidden
* update for gnome-shell 3.1.4 API changes
3.1.3
=====
* New extension: a menu for removable drives (drive-menu
* New extensions: GNOME 2 like menus for apps and places
(apps-menu, places-menu)
* New extension: additional configurability for the window
layout in the overview, including a mechanism similar to
KDE4 (native-window-placement)
* New extension: a message tray indicator for CPU and memory
usage (uses libgtop) (systemMonitor)
* user-theme: fixed resetting theme
* user-theme: support themes installed in /usr/share/themes
* alternative-status-menu: ported to gnome-shell master
* dock: ported to gnome-shell master
* dock: make position configurable (can be left or right)
* Updated translations
3.0.2
=====
* Updated translations.
* Fixed bug #647386 (reverting of user-theme to default)
* Fixed bug #647599 (support globally installed themes)
* Added license and README

66
README
View File

@@ -17,6 +17,72 @@ For general information about GNOME Shell
Bugs should be reported at http://bugzilla.gnome.org against the 'gnome-shell'
product, with the 'extensions' component.
Extensions
==========
alternate-tab
Lets you use classic Alt+Tab (window-based instead of app-based) in GNOME Shell.
alternative-status-menu
For those who want a power off item visible at all the time, replaces GNOME Shell
status menu with one featuring separate Suspend and Power Off. Adds the ability to
hibernate as well.
apps-menu
Lets you reach an application using gnome 2.x style menu on the panel.
auto-move-windows
Lets you manage your workspaces more easily, assigning a specific workspace to
each application as soon as it creates a window, in a manner configurable with a
GSettings key.
dock
Shows a dock-style task switcher on the right side of the screen.
drive-menu
Shows a status menu for rapid unmount and power off of external storage devices
(i.e. pendrives)
example
A minimal example illustrating how to write extensions.
gajim
Integration with Gajim, a Jabber/XMPP instant messaging client.
native-window-placement
An alternative algorithm for layouting the thumbnails in the windows overview, that
more closely reflects the actual positions and sizes.
places-menu
Shows a status Indicator for navigating to Places.
systemMonitor
An message tray indicator showing CPU and memory loads.
user-theme
Loads a shell theme from ~/.themes/<name>/gnome-shell.
windowsNavigator
Allow keyboard selection of windows and workspaces in overlay mode.
xrandr-indicator
Replace the GTK+ based indicator from gnome-settings-daemon with
a native one. Lets the user rotate the laptop monitor and open
display preferences quickly.
License
=======
GNOME Shell Extensions are distributed under the terms of the GNU General Public License,

View File

@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
AC_INIT([gnome-shell-extensions],[3.0.0],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_INIT([gnome-shell-extensions],[3.1.4],[https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&component=extensions])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([config])
@@ -18,11 +18,13 @@ PKG_PROG_PKG_CONFIG([0.22])
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 user-theme alternative-status-menu gajim"
DEFAULT_EXTENSIONS="alternate-tab windowsNavigator dock alternative-status-menu"
dnl keep this in alphabetic order
dnl by default, install only extensions that do not change completely the shell experience,
dnl that don't require GSettings and that don't require external packages for typelibs
dnl (so basically only menus, status icons, search providers, overview tabs, message tray sources, etc.)
DEFAULT_EXTENSIONS="alternative-status-menu apps-menu dock drive-menu gajim places-menu windowsNavigator workspace-indicator"
ALL_EXTENSIONS="$DEFAULT_EXTENSIONS alternate-tab auto-move-windows example native-window-placement systemMonitor user-theme xrandr-indicator"
AC_SUBST(ALL_EXTENSIONS, [$ALL_EXTENSIONS])
AC_ARG_ENABLE([extensions],
[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.
@@ -34,15 +36,21 @@ 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="$ADDITIONAL_PAGKAGES gnome-desktop-3.0 >= 2.91.6"
systemMonitor)
PKG_CHECK_MODULES(GTOP, libgtop-2.0 >= 2.28.3,
[ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"],
[AC_MSG_WARN([libgtop-2.0 not found, disabling systemMonitor])])
;;
alternate-tab|example|windowsNavigator|auto-move-windows|dock|user-theme|alternative-status-menu|gajim)
xrandr-indicator)
PKG_CHECK_MODULES(GNOME_DESKTOP, gnome-desktop-3.0 >= 2.91.6,
[ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"],
[AC_MSG_WARN([gnome-desktop-3.0 not found, disabling xrandr-indicator])])
;;
dnl keep this in alphabetic order
alternate-tab|alternative-status-menu|apps-menu|auto-move-windows|dock|drive-menu|example|gajim|native-window-placement|places-menu|user-theme|windowsNavigator|workspace-indicator)
ENABLED_EXTENSIONS="$ENABLED_EXTENSIONS $e"
;;
*)
@@ -52,24 +60,23 @@ done
AC_SUBST(ENABLED_EXTENSIONS, [$ENABLED_EXTENSIONS])
dnl We don't really need cflags or libdirs, we just check
dnl to ensure we don't fail at runtime.
if test "x$ADDITIONAL_PACKAGES" != x; then
PKG_CHECK_MODULES(ADDITIONAL, [$ADDITIONAL_PACKAGES])
fi
dnl Please keep this sorted alphabetically
AC_CONFIG_FILES([
extensions/alternate-tab/Makefile
extensions/alternative-status-menu/Makefile
extensions/apps-menu/Makefile
extensions/auto-move-windows/Makefile
extensions/dock/Makefile
extensions/drive-menu/Makefile
extensions/example/Makefile
extensions/windowsNavigator/Makefile
extensions/gajim/Makefile
extensions/xrandr-indicator/Makefile
extensions/native-window-placement/Makefile
extensions/places-menu/Makefile
extensions/systemMonitor/Makefile
extensions/user-theme/Makefile
extensions/windowsNavigator/Makefile
extensions/workspace-indicator/Makefile
extensions/xrandr-indicator/Makefile
extensions/Makefile
Makefile
po/Makefile.in

View File

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

View File

@@ -1,3 +1,14 @@
EXTENSION_ID = alternate-tab
include ../../extension.mk
gschemas_in = org.gnome.shell.extensions.alternate-tab.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

@@ -1,16 +1,324 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const Clutter = imports.gi.Clutter;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Shell= imports.gi.Shell;
const St = imports.gi.St;
/* most of the code is borrowed from
* > js/ui/altTab.js <
* of the gnome-shell source code
*/
const AltTab=imports.ui.altTab;
const AltTab = imports.ui.altTab;
const Clutter = imports.gi.Clutter;
const Gdk = imports.gi.Gdk;
const Gio = imports.gi.Gio;
const Gtk = imports.gi.Gtk;
const Lang = imports.lang;
const Main = imports.ui.main;
const Mainloop = imports.mainloop;
const ModalDialog = imports.ui.modalDialog;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Tweener = imports.ui.tweener;
const WindowManager = imports.ui.windowManager;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
const N_ = function(e) { return e };
const POPUP_FADE_TIME = 0.1; // seconds
const SETTINGS_SCHEMA = 'org.gnome.shell.extensions.alternate-tab';
const SETTINGS_BEHAVIOUR_KEY = 'behaviour';
const SETTINGS_FIRST_TIME_KEY = 'first-time';
const MODES = {
native: function() {
Main.wm._startAppSwitcher();
},
all_thumbnails: function() {
new AltTabPopup2();
},
workspace_icons: function() {
new AltTabPopupW().show();
}
};
const MESSAGE = N_("This is the first time you use the Alternate Tab extension. \n\
Please choose your preferred behaviour:\n\
\n\
All & Thumbnails:\n\
This mode presents all applications from all workspaces in one selection \n\
list. Instead of using the application icon of every window, it uses small \n\
thumbnails resembling the window itself. \n\
\n\
Workspace & Icons:\n\
This mode let's you switch between the applications of your current \n\
workspace and gives you additionally the option to switch to the last used \n\
application of your previous workspace. This is always the last symbol in \n\
the list and is segregated by a separator/vertical line if available. \n\
Every window is represented by its application icon. \n\
\n\
Native:\n\
This mode is the native GNOME 3 behaviour or in other words: Clicking \n\
native switches the Alternate Tab extension off. \n\
");
function AltTabPopupW() {
this._init();
}
AltTabPopupW.prototype = {
__proto__ : AltTab.AltTabPopup.prototype,
show : function(backward, switch_group) {
let tracker = Shell.WindowTracker.get_default();
let apps = tracker.get_running_apps ('');
if (!apps.length)
return false;
if (!Main.pushModal(this.actor))
return false;
this._haveModal = true;
this.actor.connect('key-press-event', Lang.bind(this, this._keyPressEvent));
this.actor.connect('key-release-event', Lang.bind(this, this._keyReleaseEvent));
this.actor.connect('button-press-event', Lang.bind(this, this._clickedOutside));
this.actor.connect('scroll-event', Lang.bind(this, this._onScroll));
this._appSwitcher = new WindowSwitcher(apps, this);
this.actor.add_actor(this._appSwitcher.actor);
this._appSwitcher.connect('item-activated', Lang.bind(this, this._appActivated));
this._appSwitcher.connect('item-entered', Lang.bind(this, this._appEntered));
this._appIcons = this._appSwitcher.icons;
// Make the initial selection
if (switch_group) {
if (backward) {
this._select(0, this._appIcons[0].cachedWindows.length - 1);
} else {
if (this._appIcons[0].cachedWindows.length > 1)
this._select(0, 1);
else
this._select(0, 0);
}
} else if (this._appIcons.length == 1) {
this._select(0);
} else if (backward) {
this._select(this._appIcons.length - 1);
} else {
this._select(1);
}
// There's a race condition; if the user released Alt before
// we got the grab, then we won't be notified. (See
// https://bugzilla.gnome.org/show_bug.cgi?id=596695 for
// details.) So we check now. (Have to do this after updating
// selection.)
let [x, y, mods] = global.get_pointer();
if (!(mods & Gdk.ModifierType.MOD1_MASK)) {
this._finish();
return false;
}
this.actor.opacity = 0;
this.actor.show();
Tweener.addTween(this.actor,
{ opacity: 255,
time: POPUP_FADE_TIME,
transition: 'easeOutQuad'
});
return true;
},
_finish : function() {
let app = this._appIcons[this._currentApp];
Main.activateWindow(app.cachedWindows[0]);
this.destroy();
}
};
function AppIcon(app, window) {
this._init(app, window);
}
AppIcon.prototype = {
__proto__ : AltTab.AppIcon.prototype,
_init: function(app, window) {
this.app = app;
this.cachedWindows = [];
this.cachedWindows.push(window);
this.actor = new St.BoxLayout({ style_class: 'alt-tab-app',
vertical: true });
this.icon = null;
this._iconBin = new St.Bin({ x_fill: true, y_fill: true });
this.actor.add(this._iconBin, { x_fill: false, y_fill: false } );
let title = window.get_title();
if (title) {
this.label = new St.Label({ text: title });
let bin = new St.Bin({ x_align: St.Align.MIDDLE });
bin.add_actor(this.label);
this.actor.add(bin);
}
else {
this.label = new St.Label({ text: this.app.get_name() });
this.actor.add(this.label, { x_fill: false });
}
}
};
function WindowSwitcher(apps, altTabPopup) {
this._init(apps, altTabPopup);
}
WindowSwitcher.prototype = {
__proto__ : AltTab.AppSwitcher.prototype,
_init : function(apps, altTabPopup) {
AltTab.SwitcherList.prototype._init.call(this, true);
// Construct the AppIcons, sort by time, add to the popup
let activeWorkspace = global.screen.get_active_workspace();
let workspaceIcons = [];
let otherIcons = [];
for (let i = 0; i < apps.length; i++) {
// Cache the window list now; we don't handle dynamic changes here,
// and we don't want to be continually retrieving it
let windows = apps[i].get_windows();
for(let j = 0; j < windows.length; j++) {
let appIcon = new AppIcon(apps[i], windows[j]);
if (this._isWindowOnWorkspace(windows[j], activeWorkspace)) {
workspaceIcons.push(appIcon);
}
else {
otherIcons.push(appIcon);
}
}
}
workspaceIcons.sort(Lang.bind(this, this._sortAppIcon));
otherIcons.sort(Lang.bind(this, this._sortAppIcon));
if(otherIcons.length > 0) {
let mostRecentOtherIcon = otherIcons[0];
otherIcons = [];
otherIcons.push(mostRecentOtherIcon);
}
this.icons = [];
this._arrows = [];
for (let i = 0; i < workspaceIcons.length; i++)
this._addIcon(workspaceIcons[i]);
if (workspaceIcons.length > 0 && otherIcons.length > 0)
this.addSeparator();
for (let i = 0; i < otherIcons.length; i++)
this._addIcon(otherIcons[i]);
this._curApp = -1;
this._iconSize = 0;
this._altTabPopup = altTabPopup;
this._mouseTimeOutId = 0;
},
_isWindowOnWorkspace: function(w, workspace) {
if (w.get_workspace() == workspace)
return true;
return false;
},
_sortAppIcon : function(appIcon1, appIcon2) {
let t1 = appIcon1.cachedWindows[0].get_user_time();
let t2 = appIcon2.cachedWindows[0].get_user_time();
if (t2 > t1) return 1;
else return -1;
}
};
function AltTabSettingsDialog() {
this._init();
}
AltTabSettingsDialog.prototype = {
__proto__: ModalDialog.ModalDialog.prototype,
_init : function() {
ModalDialog.ModalDialog.prototype._init.call(this, { styleClass: null });
let mainContentBox = new St.BoxLayout({ style_class: 'polkit-dialog-main-layout',
vertical: false });
this.contentLayout.add(mainContentBox,
{ x_fill: true,
y_fill: true });
let messageBox = new St.BoxLayout({ style_class: 'polkit-dialog-message-layout',
vertical: true });
mainContentBox.add(messageBox,
{ y_align: St.Align.START });
this._subjectLabel = new St.Label({ style_class: 'polkit-dialog-headline',
text: _("Alt Tab Behaviour") });
messageBox.add(this._subjectLabel,
{ y_fill: false,
y_align: St.Align.START });
this._descriptionLabel = new St.Label({ style_class: 'polkit-dialog-description',
text: Gettext.gettext(MESSAGE) });
messageBox.add(this._descriptionLabel,
{ y_fill: true,
y_align: St.Align.START });
this.setButtons([
{
label: _("All & Thumbnails"),
action: Lang.bind(this, function() {
this.setBehaviour('all_thumbnails');
this.close();
})
},
{
label: _("Workspace & Icons"),
action: Lang.bind(this, function() {
this.setBehaviour('workspace_icons');
this.close();
})
},
{
label: _("Native"),
action: Lang.bind(this, function() {
this.setBehaviour('native');
this.close();
})
},
{
label: _("Cancel"),
action: Lang.bind(this, function() {
this.close();
}),
key: Clutter.Escape
}
]);
},
setBehaviour: function(behaviour) {
this._settings = new Gio.Settings({ schema: SETTINGS_SCHEMA });
this._settings.set_string(SETTINGS_BEHAVIOUR_KEY, behaviour);
this._settings.set_boolean(SETTINGS_FIRST_TIME_KEY, false);
}
};
function AltTabPopup2() {
this._init();
}
@@ -41,6 +349,7 @@ AltTabPopup2.prototype = {
this.show();
Main.uiGroup.add_actor(this.actor);
this._select(0);
},
show : function(backward) {
@@ -54,9 +363,7 @@ AltTabPopup2.prototype = {
for (let w = windows.length-1; w >= 0; w--) {
let win = windows[w].get_meta_window();
if (win.window_type == 0) {
normal_windows.push(win);
}
}
normal_windows.sort(Lang.bind(this, this._sortWindows));
@@ -74,8 +381,10 @@ AltTabPopup2.prototype = {
ap1 = new AltTab.AppIcon(apps[i]);
}
}
ap1.cachedWindows = [win];
appIcons.push(ap1);
if (ap1 != null) {
ap1.cachedWindows = [win];
appIcons.push(ap1);
}
}
if (!windows.length)
@@ -93,13 +402,13 @@ AltTabPopup2.prototype = {
this._appSwitcher = new WindowList(windows);
this._appSwitcher._altTabPopup=this;
this._appSwitcher.highlight(0,false);
this.actor.add_actor(this._appSwitcher.actor);
this._appSwitcher.connect('item-activated', Lang.bind(this, this._appActivated));
this._appSwitcher.connect('item-entered', Lang.bind(this, this._appEntered));
this._appIcons = appIcons;
return true
},
@@ -220,8 +529,10 @@ WindowList.prototype = {
}
}
}
if (ap1 != null) {
ap1.cachedWindows = [win];
this._addIcon(ap1);
}
}
},
@@ -230,8 +541,19 @@ WindowList.prototype = {
}
};
function main() {
function main(metadata) {
imports.gettext.bindtextdomain('gnome-shell-extensions', metadata.localedir);
Main.wm.setKeybindingHandler('switch_windows', function() {
let alpopup = new AltTabPopup2();
let settings = new Gio.Settings({ schema: SETTINGS_SCHEMA });
if(settings.get_boolean(SETTINGS_FIRST_TIME_KEY)) {
new AltTabSettingsDialog().open();
} else {
let behaviour = settings.get_string(SETTINGS_BEHAVIOUR_KEY);
if(behaviour in MODES) {
MODES[behaviour]();
}
}
});
}

View File

@@ -2,8 +2,8 @@
"uuid": "@uuid@",
"name": "AlternateTab",
"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": [ "3.0" ],
"original-authors": [ "jw@bargsten.org", "thomas.bouffon@gmail.com" ],
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1,19 @@
<schemalist gettext-domain="gnome-shell-extensions">
<enum id="org.gnome.shell.extensions.alternate-tab.BehaviourMode">
<value value="0" nick="native"/>
<value value="1" nick="all_thumbnails"/>
<value value="2" nick="workspace_icons"/>
</enum>
<schema id="org.gnome.shell.extensions.alternate-tab" path="/org/gnome/shell/extensions/alternate-tab/">
<key name="behaviour" enum="org.gnome.shell.extensions.alternate-tab.BehaviourMode">
<default>'native'</default>
<_summary>The alt tab behaviour.</_summary>
<_description>Sets the Alt-Tab behaviour. Possible values are: native, all_thumbnails and workspace_icons.</_description>
</key>
<key type="b" name="first-time">
<default>true</default>
<_summary>Indicates if Alternate Tab is newly installed</_summary>
<_description>Ask the user for a default behaviour if true.</_description>
</key>
</schema>
</schemalist>

View File

@@ -2,48 +2,35 @@
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 = imports.gettext.domain('gnome-shell-extensions');
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 updateSuspend(object, pspec, item) {
item.actor.visible = object.get_can_suspend();
}
function onSuspendOrHibernateActivate(item) {
function updateHibernate(object, pspec, item) {
item.actor.visible = object.get_can_hibernate();
}
function onSuspendActivate(item) {
Main.overview.hide();
let haveSuspend = this._upClient.get_can_suspend();
let haveHibernate = this._upClient.get_can_hibernate();
this._screenSaverProxy.LockRemote(Lang.bind(this, function() {
this._upClient.suspend_sync(null);
}));
}
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 onHibernateActivate(item) {
Main.overview.hide();
this._screenSaverProxy.LockRemote(Lang.bind(this, function() {
this._upClient.hibernate_sync(null);
}));
}
function createSubMenu() {
@@ -89,13 +76,17 @@ function createSubMenu() {
item = new PopupMenu.PopupSeparatorMenuItem();
this.menu.addMenuItem(item);
item = new PopupMenu.PopupAlternatingMenuItem(_("Suspend"),
_("Hibernate"));
item = new PopupMenu.PopupMenuItem(_("Suspend"));
item.connect('activate', Lang.bind(this, onSuspendActivate));
this._upClient.connect('notify::can-suspend', Lang.bind(this, updateSuspend, item));
updateSuspend(this._upClient, null, item);
this.menu.addMenuItem(item);
item = new PopupMenu.PopupMenuItem(_("Hibernate"));
item.connect('activate', Lang.bind(this, onHibernateActivate));
this._upClient.connect('notify::can-hibernate', Lang.bind(this, updateHibernate, item));
updateHibernate(this._upClient, null, item);
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() {
@@ -106,7 +97,9 @@ function createSubMenu() {
// Put your extension initialization code here
function main(metadata) {
let statusMenu = Main.panel._statusmenu;
imports.gettext.bindtextdomain('gnome-shell-extensions', metadata.localedir);
let statusMenu = Main.panel._userMenu;
statusMenu.menu.removeAll();
createSubMenu.call(statusMenu);
}

View File

@@ -2,7 +2,7 @@
"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": [ "3.0" ],
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

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

View File

@@ -0,0 +1,97 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const St = imports.gi.St;
const Main = imports.ui.main;
const PopupMenu = imports.ui.popupMenu;
const PanelMenu = imports.ui.panelMenu;
const Shell = imports.gi.Shell;
const Lang = imports.lang;
const ICON_SIZE = 28;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
let appsys = Shell.AppSystem.get_default();
function AppMenuItem(appInfo,params) {
this._init(appInfo,params);
}
AppMenuItem.prototype = {
__proto__: PopupMenu.PopupBaseMenuItem.prototype,
_init: function (appInfo, params) {
PopupMenu.PopupBaseMenuItem.prototype._init.call(this, params);
let app = appsys.get_app(appInfo.get_id());
this.label = new St.Label({ text: appInfo.get_name() });
this.addActor(this.label);
this._icon = app.create_icon_texture(ICON_SIZE);
this.addActor(this._icon,{expand : false});
this._appInfo = appInfo;
},
_onButtonReleaseEvent: function (actor, event) {
let id = this._appInfo.get_id();
appsys.get_app(id).activate(-1);
this.activate(event);
}
};
function ApplicationsButton() {
this._init();
}
ApplicationsButton.prototype = {
__proto__: PanelMenu.SystemStatusButton.prototype,
_init: function() {
PanelMenu.SystemStatusButton.prototype._init.call(this, 'start-here');
this._display();
appsys.connect('installed-changed', Lang.bind(this,this.reDisplay));
},
reDisplay : function() {
this._clearAll();
this._display();
},
_clearAll : function() {
this.menu.removeAll();
},
_display : function() {
let id;
this.appItems = [];
this.categories = appsys.get_sections();
for ( id = 0; id < this.categories.length; id++) {
this.appItems[this.categories[id]] = new PopupMenu.PopupSubMenuMenuItem(this.categories[id]);
this.menu.addMenuItem(this.appItems[this.categories[id]]);
}
this._addSubMenuItems();
for ( id = 0; id < this.categories.length; id++) {
let item = this.appItems[this.categories[id]];
if(item.menu._getMenuItems().length == 0){
item.actor.hide();
}
}
},
_addSubMenuItems: function() {
let appInfos = appsys.get_flattened_apps().filter(function(app) {
return !app.get_is_nodisplay();
});
for (let appid = appInfos.length-1 ; appid >= 0; appid--) {
let appInfo = appInfos[appid];
let appItem = new AppMenuItem(appInfo);
this.appItems[appInfo.get_section()].menu.addMenuItem(appItem);
}
},
_onDestroy: function() {
this._clearAll();
}
};
function main(metadata) {
let appsMenuButton = new ApplicationsButton();
Main.panel._leftBox.insert_actor(appsMenuButton.actor, 1);
Main.panel._leftBox.child_set(appsMenuButton.actor, { y_fill : true } );
Main.panel._menus.addMenu(appsMenuButton.menu);
}

View File

@@ -0,0 +1,8 @@
{
"uuid": "@uuid@",
"name": "Applications Menu",
"description": "Add a gnome 2.x style menu for applications",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1 @@
/* none used*/

View File

@@ -5,6 +5,7 @@ const Glib = imports.gi.GLib;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Meta = imports.gi.Meta;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
@@ -73,8 +74,17 @@ function main(extensionMeta) {
let i;
let emptyWorkspaces = new Array(Main._workspaces.length);
for (i = 0; i < Main._workspaces.length; i++)
emptyWorkspaces[i] = true;
for (i = 0; i < Main._workspaces.length; i++) {
let lastRemoved = Main._workspaces[i]._lastRemovedWindow;
if (lastRemoved &&
(lastRemoved.get_window_type() == Meta.WindowType.SPLASHSCREEN ||
lastRemoved.get_window_type() == Meta.WindowType.DIALOG ||
lastRemoved.get_window_type() == Meta.WindowType.MODAL_DIALOG))
emptyWorkspaces[i] = false;
else
emptyWorkspaces[i] = true;
}
let windows = global.get_window_actors();
for (i = 0; i < windows.length; i++) {
@@ -93,6 +103,19 @@ function main(extensionMeta) {
emptyWorkspaces.push(false);
}
let activeWorkspaceIndex = global.screen.get_active_workspace_index();
let activeIsLast = activeWorkspaceIndex == global.screen.n_workspaces - 2;
let removingTrailWorkspaces = (emptyWorkspaces[activeWorkspaceIndex] &&
activeIsLast);
// Don't enter the overview when removing multiple empty workspaces at startup
let showOverview = (removingTrailWorkspaces &&
!emptyWorkspaces.every(function(x) { return x; }));
if (removingTrailWorkspaces) {
// "Merge" the empty workspace we are removing with the one at the end
Main.wm.blockAnimations();
}
// Delete other empty workspaces; do it from the end to avoid index changes
for (i = emptyWorkspaces.length - 2; i >= 0; i--) {
if (emptyWorkspaces[i])
@@ -100,6 +123,16 @@ function main(extensionMeta) {
else
break;
}
if (removingTrailWorkspaces) {
global.screen.get_workspace_by_index(global.screen.n_workspaces - 1).activate(global.get_current_time());
Main.wm.unblockAnimations();
if (!Main.overview.visible && showOverview)
Main.overview.show();
}
Main._checkWorkspacesId = 0;
return false;

View File

@@ -1,3 +1,14 @@
EXTENSION_ID = dock
include ../../extension.mk
gschemas_in = org.gnome.shell.extensions.dock.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

@@ -25,9 +25,231 @@ const AltTab = imports.ui.altTab;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
const DOCKICON_SIZE = 48;
// Settings
const DOCK_SETTINGS_SCHEMA = 'org.gnome.shell.extensions.dock';
const DOCK_POSITION_KEY = 'position';
const DOCK_SIZE_KEY = 'size';
const DOCK_HIDE_KEY = 'autohide';
const DOCK_EFFECTHIDE_KEY = 'hide-effect';
const DOCK_AUTOHIDE_ANIMATION_TIME_KEY = 'hide-effect-duration';
//hide
//const autohide_animation_time = 0.3;
// Keep enums in sync with GSettings schemas
const PositionMode = {
LEFT: 0,
RIGHT: 1
};
const AutoHideEffect = {
RESIZE: 0,
RESCALE: 1
};
let position = PositionMode.RIGHT;
let dockicon_size = 48;
let hideable = true;
let hideDock = true;
let hideEffect = AutoHideEffect.RESIZE;
let autohide_animation_time = 0.3;
const DND_RAISE_APP_TIMEOUT = 500;
/*************************************************************************************/
/**** start resize's Dock functions *****************/
/*************************************************************************************/
function hideDock_size () {
if (hideable){
let monitor = Main.layoutManager.primaryMonitor
let position_x = monitor.x;
let height = (this._nicons)*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
Tweener.addTween(this,{
_item_size: 1,
time: autohide_animation_time,
transition: 'easeOutQuad',
onUpdate: function () {
height = (this._nicons)*(this._item_size + this._spacing) + 2*this._spacing;
width = this._item_size + 4*this._spacing;
switch (position) {
case PositionMode.LEFT:
position_x=monitor.x-2*this._spacing;
break;
case PositionMode.RIGHT:
default:
position_x = monitor.x + (monitor.width-1-this._item_size-2*this._spacing);
}
this.actor.set_position (position_x,monitor.y+(monitor.height-height)/2);
this.actor.set_size(width,height);
},
});
hideDock=true;
}
}
function showDock_size () {
let monitor = Main.layoutManager.primaryMonitor;
let height = (this._nicons)*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
let position_x = monitor.x;
Tweener.addTween(this,{
_item_size: dockicon_size,
time: autohide_animation_time,
transition: 'easeOutQuad',
onUpdate: function () {
height = (this._nicons)*(this._item_size + this._spacing) + 2*this._spacing;
width = this._item_size + 4*this._spacing;
switch (position) {
case PositionMode.LEFT:
position_x=monitor.x-2*this._spacing;
break;
case PositionMode.RIGHT:
default:
position_x=monitor.x + (monitor.width-this._item_size-2*this._spacing);
}
this.actor.set_position (position_x, monitor.y+(monitor.height-height)/2);
this.actor.set_size(width,height);
}
});
hideDock=false;
}
function initShowDock_size () {
this._item_size=1;
this._showDock();
}
function showEffectAddItem_size () {
let primary = Main.layoutManager.primaryMonitor;
let height = (this._nicons)*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
Tweener.addTween(this.actor, {
y: primary.y + (primary.height-height)/2,
height: height,
width: width,
time: autohide_animation_time,
transition: 'easeOutQuad'
});
}
/**************************************************************************************/
/**** start rescale's Dock functions *****************/
/**************************************************************************************/
function hideDock_scale () {
this._item_size = dockicon_size;
let monitor = Main.layoutManager.primaryMonitor;
let cornerX = 0;
let height = this._nicons*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
switch (position) {
case PositionMode.LEFT:
cornerX=monitor.x;
break;
case PositionMode.RIGHT:
default:
cornerX = monitor.x + monitor.width-1;
}
if (hideable) {
Tweener.addTween(this.actor,{
y: monitor.y + (monitor.height-height)/2,
x: cornerX,
height:height,
width: width,
scale_x: 0.025,
time: autohide_animation_time,
transition: 'easeOutQuad'
});
hideDock=true;
}
}
function showDock_scale () {
this._item_size = dockicon_size;
let monitor = Main.layoutManager.primaryMonitor;
let position_x = monitor.x;
let height = this._nicons*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
switch (position) {
case PositionMode.LEFT:
position_x=monitor.x-2*this._spacing;
break;
case PositionMode.RIGHT:
default:
position_x=monitor.x + (monitor.width-this._item_size-2*this._spacing);
}
Tweener.addTween(this.actor, {
y: monitor.y + (monitor.height-height)/2,
x: monitor.x + position_x,
height: height,
width: width,
scale_x: 1,
time: autohide_animation_time,
transition: 'easeOutQuad'
});
hideDock=false;
}
function initShowDock_scale () {
let primary = Main.layoutManager.primaryMonitor;
let height = this._nicons*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
this.actor.set_scale (0,0);
this.actor.set_size (width,height);
// set the position of the dock
switch (position) {
case PositionMode.LEFT:
this.actor.x = 0;
// effect of creation of the dock
Tweener.addTween(this.actor, {
x: primary.x-2*this._spacing,
y: primary.y + (primary.height-height)/2,
time: autohide_animation_time * 3,
transition: 'easeOutQuad'
});
break;
case PositionMode.RIGHT:
default:
this.actor.x = primary.width-1;
// effect of creation of the dock
Tweener.addTween(this.actor, {
x: primary.x + primary.width-this._item_size- 2*this._spacing,
y: primary.y + (primary.height-height)/2,
time: autohide_animation_time * 3,
transition: 'easeOutQuad'
});
}
Tweener.addTween(this.actor,{
scale_x: 1,
scale_y: 1,
time: autohide_animation_time * 3,
transition: 'easeOutQuad'
});
hideDock=false;
}
function showEffectAddItem_scale () {
let monitor = Main.layoutManager.primaryMonitor;
let height = this._nicons*(this._item_size + this._spacing) + 2*this._spacing;
let width = this._item_size + 4*this._spacing;
Tweener.addTween(this.actor, {
y: monitor.y + (monitor.height-height)/2,
height: height,
width: width,
time: autohide_animation_time,
transition: 'easeOutQuad'
});
}
function Dock() {
this._init();
}
@@ -40,8 +262,21 @@ Dock.prototype = {
this._favorites = [];
// Load Settings
this._settings = new Gio.Settings({ schema: DOCK_SETTINGS_SCHEMA });
position = this._settings.get_enum(DOCK_POSITION_KEY);
dockicon_size = this._settings.get_int(DOCK_SIZE_KEY);
hideDock = hideable = this._settings.get_boolean(DOCK_HIDE_KEY);
hideEffect = this._settings.get_enum(DOCK_EFFECTHIDE_KEY);
autohide_animation_time = this._settings.get_double(DOCK_AUTOHIDE_ANIMATION_TIME_KEY);
//global.log("POSITION: " + position);
//global.log("dockicon_size: " + dockicon_size);
this._spacing = 4;
this._item_size = DOCKICON_SIZE;
this._item_size = dockicon_size;
this._nicons = 0;
this._selectFunctionsHide ();
this.actor = new St.BoxLayout({ name: 'dock', vertical: true, reactive: true });
@@ -62,8 +297,92 @@ Dock.prototype = {
AppFavorites.getAppFavorites().connect('changed', Lang.bind(this, this._queueRedisplay));
this._tracker.connect('app-state-changed', Lang.bind(this, this._queueRedisplay));
Main.chrome.addActor(this.actor, { visibleInOverview: false });
Main.overview.connect('showing', Lang.bind(this, function() {
this.actor.hide();
}));
Main.overview.connect('hidden', Lang.bind(this, function() {
this.actor.show();
}));
Main.chrome.addActor(this.actor);
this.actor.lower_bottom();
//hidden
this._settings.connect('changed::'+DOCK_POSITION_KEY, Lang.bind(this, function (){
let primary = Main.layoutManager.primaryMonitor;
position = this._settings.get_enum(DOCK_POSITION_KEY);
this.actor.y=primary.y;
this._redisplay();
}));
this._settings.connect('changed::'+DOCK_SIZE_KEY, Lang.bind(this, function (){
dockicon_size = this._settings.get_int(DOCK_SIZE_KEY);
this._redisplay();
}));
this._settings.connect('changed::'+DOCK_HIDE_KEY, Lang.bind(this, function (){
hideable = this._settings.get_boolean(DOCK_HIDE_KEY);
if (hideable){
hideDock=false;
this._hideDock();
} else {
hideDock=true;
this._showDock();
}
}));
this._settings.connect('changed::'+DOCK_EFFECTHIDE_KEY, Lang.bind(this, function (){
hideEffect = this._settings.get_enum(DOCK_EFFECTHIDE_KEY);
this.actor.y=0;
switch (hideEffect) {
case AutoHideEffect.RESCALE:
this._item_size=dockicon_size;
break;
case AutoHideEffect.RESIZE:
this.actor.set_scale (1,1);
}
this.actor.disconnect(leave_event);
this.actor.disconnect(enter_event);
this._selectFunctionsHide ();
leave_event = this.actor.connect('leave-event', Lang.bind(this, this._hideDock));
enter_event = this.actor.connect('enter-event', Lang.bind(this, this._showDock));
this._redisplay();
}));
this._settings.connect('changed::'+DOCK_AUTOHIDE_ANIMATION_TIME_KEY, Lang.bind(this,function (){
autohide_animation_time = this._settings.get_double(DOCK_AUTOHIDE_ANIMATION_TIME_KEY);
}));
let leave_event = this.actor.connect('leave-event', Lang.bind(this, this._hideDock));
let enter_event = this.actor.connect('enter-event', Lang.bind(this, this._showDock));
},
// fuctions hide
_restoreHideDock: function(){
hideable = this._settings.get_boolean(DOCK_HIDE_KEY);
},
_disableHideDock: function (){
hideable = false;
},
_selectFunctionsHide: function () {
switch (hideEffect) {
case AutoHideEffect.RESCALE:
this._hideDock = hideDock_scale;
this._showDock = showDock_scale;
this._initShowDock = initShowDock_scale;
this._showEffectAddItem = showEffectAddItem_scale;
break;
case AutoHideEffect.RESIZE:
default:
this._hideDock = hideDock_size;
this._showDock = showDock_size;
this._initShowDock = initShowDock_size;
this._showEffectAddItem = showEffectAddItem_size;
}
},
_appIdListToHash: function(apps) {
@@ -93,7 +412,7 @@ Dock.prototype = {
let nFavorites = 0;
for (let id in favorites) {
let app = favorites[id];
let display = new DockIcon(app);
let display = new DockIcon(app,this);
this.addItem(display.actor);
nFavorites++;
icons++;
@@ -103,10 +422,12 @@ Dock.prototype = {
let app = running[i];
if (app.get_id() in favorites)
continue;
let display = new DockIcon(app);
let display = new DockIcon(app,this);
icons++;
this.addItem(display.actor);
}
this._nicons=icons;
if (this._placeholderText) {
this._placeholderText.destroy();
this._placeholderText = null;
@@ -117,10 +438,26 @@ Dock.prototype = {
this.actor.add_actor(this._placeholderText);
}
let primary = global.get_primary_monitor();
let primary = Main.layoutManager.primaryMonitor;
let height = (icons)*(this._item_size + this._spacing) + 2*this._spacing;
this.actor.set_size(this._item_size + 4*this._spacing, height);
this.actor.set_position(primary.width-this._item_size-this._spacing-2, (primary.height-height)/2);
let width = this._item_size + 4*this._spacing;
if (this.actor.y != primary.y) {
if (hideable && hideDock) {
this._hideDock();
} else {
if (dockicon_size == this._item_size) {
// only add/delete icon
this._showEffectAddItem ();
} else {
// change size icon
this._showDock ();
}
}
} else {
// effect of creation
this._initShowDock ();
}
},
_getPreferredWidth: function (grid, forHeight, alloc) {
@@ -141,6 +478,8 @@ Dock.prototype = {
let children = this._grid.get_children();
let x = box.x1 + this._spacing;
if (position == PositionMode.LEFT)
x = box.x1 + 2*this._spacing;
let y = box.y1 + this._spacing;
for (let i = 0; i < children.length; i++) {
@@ -178,12 +517,12 @@ Dock.prototype = {
};
Signals.addSignalMethods(Dock.prototype);
function DockIcon(app) {
this._init(app);
function DockIcon(app, dock) {
this._init(app, dock);
}
DockIcon.prototype = {
_init : function(app) {
_init : function(app, dock) {
this.app = app;
this.actor = new St.Button({ style_class: 'dock-app',
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO,
@@ -191,9 +530,9 @@ DockIcon.prototype = {
x_fill: true,
y_fill: true });
this.actor._delegate = this;
this.actor.set_size(DOCKICON_SIZE, DOCKICON_SIZE);
this.actor.set_size(dockicon_size, dockicon_size);
this._icon = this.app.create_icon_texture(DOCKICON_SIZE);
this._icon = this.app.create_icon_texture(dockicon_size);
this.actor.set_child(this._icon);
this.actor.connect('clicked', Lang.bind(this, this._onClicked));
@@ -214,6 +553,7 @@ DockIcon.prototype = {
this._stateChangedId = this.app.connect('notify::state',
Lang.bind(this, this._onStateChanged));
this._onStateChanged();
this._dock=dock;
},
_onDestroy: function() {
@@ -289,14 +629,21 @@ DockIcon.prototype = {
this._removeMenuTimeout();
this.actor.fake_release();
this._dock._disableHideDock();
if (!this._menu) {
this._menu = new DockIconMenu(this);
this._menu.connect('activate-window', Lang.bind(this, function (menu, window) {
this.activateWindow(window);
}));
this._menu.connect('popup', Lang.bind(this, function (menu, isPoppedUp) {
if (!isPoppedUp)
if (!isPoppedUp){
//Restore value of autohidedock
this._dock._restoreHideDock();
this._dock._hideDock();
this._onMenuPoppedDown();
}
}));
this._menuManager.addMenu(this._menu, true);
@@ -371,7 +718,14 @@ DockIconMenu.prototype = {
__proto__: AppDisplay.AppIconMenu.prototype,
_init: function(source) {
PopupMenu.PopupMenu.prototype._init.call(this, source.actor, St.Align.MIDDLE, St.Side.RIGHT, 0);
switch (position) {
case PositionMode.LEFT:
PopupMenu.PopupMenu.prototype._init.call(this, source.actor, St.Align.MIDDLE, St.Side.LEFT, 0);
break;
case PositionMode.RIGHT:
default:
PopupMenu.PopupMenu.prototype._init.call(this, source.actor, St.Align.MIDDLE, St.Side.RIGHT, 0);
}
this._source = source;

View File

@@ -3,7 +3,7 @@
"name": "Dock",
"description": "A dock for the GNOME Shell -- displays favorite and running applications",
"original-author": "tclaesson@gmail.com",
"shell-version": [ "3.0" ],
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1,37 @@
<schemalist gettext-domain="gnome-shell-extensions">
<enum id='org.gnome.shell.extensions.dock.PositionMode'>
<value nick='left' value='0'/>
<value nick='right' value='1'/>
</enum>
<enum id='org.gnome.shell.extensions.dock.AutoHideEfect'>
<value nick='resize' value='0'/>
<value nick='rescale' value='1'/>
</enum>
<schema id="org.gnome.shell.extensions.dock" path="/org/gnome/shell/extensions/dock/">
<key name="position" enum="org.gnome.shell.extensions.dock.PositionMode">
<default>'right'</default>
<_summary>Position of the dock</_summary>
<_description>Sets the position of the dock in the screen. Allowed values are 'right' or 'left'</_description>
</key>
<key name="size" type="i">
<default>48</default>
<_summary>Icon size</_summary>
<_description>Sets icon size of the dock.</_description>
</key>
<key name="autohide" type="b">
<default>true</default>
<_summary>Enable/disable autohide</_summary>
</key>
<key name="hide-effect" enum="org.gnome.shell.extensions.dock.AutoHideEfect">
<default>'resize'</default>
<_summary>Autohide effect</_summary>
<_description>Sets the effect of the hide dock. Allowed values are 'resize' or 'rescale'</_description>
</key>
<key name="hide-effect-duration" type="d">
<default>0.3</default>
<_summary>Autohide duration</_summary>
<_description>Sets the time duration of the autohide effect.</_description>
</key>
</schema>
</schemalist>

View File

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

View File

@@ -0,0 +1,98 @@
// Drive menu extension
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const St = imports.gi.St;
const Shell = imports.gi.Shell;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
const Main = imports.ui.main;
const Panel = imports.ui.panel;
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;
function DriveMenuItem(place) {
this._init(place);
}
DriveMenuItem.prototype = {
__proto__: PopupMenu.PopupBaseMenuItem.prototype,
_init: function(place) {
PopupMenu.PopupBaseMenuItem.prototype._init.call(this);
this.place = place;
this.label = new St.Label({ text: place.name });
this.addActor(this.label);
let ejectIcon = new St.Icon({ icon_name: 'media-eject',
icon_type: St.IconType.SYMBOLIC,
style_class: 'popup-menu-icon ' });
let ejectButton = new St.Button({ child: ejectIcon });
ejectButton.connect('clicked', Lang.bind(this, this._eject));
this.addActor(ejectButton);
},
_eject: function() {
this.place.remove();
},
activate: function(event) {
this.place.launch({ timestamp: event.get_time() });
PopupMenu.PopupBaseMenuItem.prototype.activate.call(this, event);
}
};
function DriveMenu() {
this._init();
}
DriveMenu.prototype = {
__proto__: PanelMenu.SystemStatusButton.prototype,
_init: function() {
// is 'media-eject' better?
PanelMenu.SystemStatusButton.prototype._init.call(this, 'media-optical');
this._manager = Main.placesManager;
this._manager.connect('mounts-updated', Lang.bind(this, this._update));
this._contentSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._contentSection);
this._update();
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this.menu.addAction(_("Open file manager"), function(event) {
let appSystem = Shell.AppSystem.get_default();
let app = appSystem.get_app('nautilus.desktop');
app.activate(-1);
});
},
_update: function() {
this._contentSection.removeAll();
let mounts = this._manager.getMounts();
let any = false;
for (let i = 0; i < mounts.length; i++) {
if (mounts[i].isRemovable()) {
this._contentSection.addMenuItem(new DriveMenuItem(mounts[i]));
any = true;
}
}
this.actor.visible = any;
},
}
// Put your extension initialization code here
function main(metadata) {
imports.gettext.bindtextdomain('gnome-shell-extensions', metadata.localedir);
Panel.STANDARD_TRAY_ICON_ORDER.unshift('drive-menu');
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['drive-menu'] = DriveMenu;
}

View File

@@ -0,0 +1,8 @@
{
"uuid": "@uuid@",
"name": "Removable Drive Menu",
"description": "A status menu for accessing and unmounting removable devices",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1 @@
/* This extensions requires no custom styling */

View File

@@ -9,7 +9,7 @@ const Main = imports.ui.main;
function _showHello() {
let text = new St.Label({ style_class: 'helloworld-label', text: _("Hello, world!") });
let monitor = global.get_primary_monitor();
let monitor = Main.layoutManager.primaryMonitor;
global.stage.add_actor(text);
text.set_position(Math.floor (monitor.width / 2 - text.width / 2), Math.floor(monitor.height / 2 - text.height / 2));
Mainloop.timeout_add(3000, function () { text.destroy(); });

View File

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

View File

@@ -2,7 +2,7 @@
"uuid": "@uuid@",
"name": "Gajim IM integration",
"description": "Display Gajim incoming chats as notifications in the Shell message tray.",
"shell-version": [ "3.0" ],
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "http://base-art.net"
}

View File

@@ -0,0 +1 @@
/* none used */

View File

@@ -0,0 +1,14 @@
EXTENSION_ID = native-window-placement
include ../../extension.mk
gschemas_in = org.gnome.shell.extensions.native-window-placement.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,494 @@
// -*- mode: js2; indent-tabs-mode: nil; js2-basic-offset: 4 -*-
// import just everything from workspace.js:
const Clutter = imports.gi.Clutter;
const Gio = imports.gi.Gio;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const Meta = imports.gi.Meta;
const Pango = imports.gi.Pango;
const Shell = imports.gi.Shell;
const St = imports.gi.St;
const Signals = imports.signals;
const DND = imports.ui.dnd;
const Lightbox = imports.ui.lightbox;
const Main = imports.ui.main;
const Overview = imports.ui.overview;
const Panel = imports.ui.panel;
const Tweener = imports.ui.tweener;
const Workspace = imports.ui.workspace;
const WindowPositionFlags = Workspace.WindowPositionFlags;
const WindowPlacementStrategy = {
NATURAL: 0,
GRID: 1,
};
// testing settings for natural window placement strategy:
const WINDOW_PLACEMENT_NATURAL_FILLGAPS = true; // enlarge windows at the end to fill gaps // not implemented yet
const WINDOW_PLACEMENT_NATURAL_GRID_FALLBACK = true; // fallback to grid mode if all windows have the same size and positions. // not implemented yet
const WINDOW_PLACEMENT_NATURAL_ACCURACY = 20; // accuracy of window translate moves (KDE-default: 20)
const WINDOW_PLACEMENT_NATURAL_GAPS = 5; // half of the minimum gap between windows
const WINDOW_PLACEMENT_NATURAL_MAX_TRANSLATIONS = 5000; // safety limit for preventing endless loop if something is wrong in the algorithm
const PLACE_WINDOW_CAPTIONS_ON_TOP = true; // place window titles in overview on top of windows with overlap parameter
function injectToFunction(parent, name, func) {
let origin = parent[name];
parent[name] = function() {
let ret;
ret = origin.apply(this, arguments);
if (ret === undefined)
ret = func.apply(this, arguments);
return ret;
}
}
const WORKSPACE_BORDER_GAP = 10; // gap between the workspace area and the workspace selector
function Rect(x, y, width, height) {
[this.x, this.y, this.width, this.height] = arguments;
}
Rect.prototype = {
/**
* used in _calculateWindowTransformationsNatural to replace Meta.Rectangle that is too slow.
*/
copy: function() {
return new Rect(this.x, this.y, this.width, this.height);
},
union: function(rect2) {
let dest = this.copy();
if (rect2.x < dest.x)
{
dest.width += dest.x - rect2.x;
dest.x = rect2.x;
}
if (rect2.y < dest.y)
{
dest.height += dest.y - rect2.y;
dest.y = rect2.y;
}
if (rect2.x + rect2.width > dest.x + dest.width)
dest.width = rect2.x + rect2.width - dest.x;
if (rect2.y + rect2.height > dest.y + dest.height)
dest.height = rect2.y + rect2.height - dest.y;
return dest;
},
adjusted: function(dx, dy, dx2, dy2) {
let dest = this.copy();
dest.x += dx;
dest.y += dy;
dest.width += -dx + dx2;
dest.height += -dy + dy2;
return dest;
},
overlap: function(rect2) {
return !((this.x + this.width <= rect2.x) ||
(rect2.x + rect2.width <= this.x) ||
(this.y + this.height <= rect2.y) ||
(rect2.y + rect2.height <= this.y));
},
center: function() {
return [this.x + this.width / 2, this.y + this.height / 2];
},
translate: function(dx, dy) {
this.x += dx;
this.y += dy;
}
};
// Put your extension initialization code here
function main() {
let settings = new Gio.Settings({ schema: 'org.gnome.shell.extensions.native-window-placement' });
let placementStrategy = settings.get_enum('strategy');
settings.connect('changed::strategy', function() {
placementStrategy = settings.get_enum('strategy');
// we don't update immediately, we wait for a relayout
// (and hope for the best)
});
let useMoreScreen = settings.get_boolean('use-more-screen');
settings.connect('changed::use-more-screen', function() {
useMoreScreen = settings.get_boolean('use-more-screen');
});
/**
* _calculateWindowTransformationsNatural:
* @clones: Array of #MetaWindow
*
* Returns clones with matching target coordinates and scales to arrange windows in a natural way that no overlap exists and relative window size is preserved.
* This function is almost a 1:1 copy of the function
* PresentWindowsEffect::calculateWindowTransformationsNatural() from KDE, see:
* https://projects.kde.org/projects/kde/kdebase/kde-workspace/repository/revisions/master/entry/kwin/effects/presentwindows/presentwindows.cpp
*/
Workspace.Workspace.prototype._calculateWindowTransformationsNatural = function(clones) {
// As we are using pseudo-random movement (See "slot") we need to make sure the list
// is always sorted the same way no matter which window is currently active.
clones = clones.sort(function (win1, win2) {
return win2.metaWindow.get_stable_sequence() - win1.metaWindow.get_stable_sequence();
});
// Put a gap on the right edge of the workspace to separe it from the workspace selector
let x_gap = WORKSPACE_BORDER_GAP;
let y_gap = WORKSPACE_BORDER_GAP * this._height / this._width
let area = new Rect(this._x, this._y, this._width - x_gap, this._height - y_gap);
let bounds = area.copy();
let direction = 0;
let directions = [];
let rects = [];
for (let i = 0; i < clones.length; i++) {
// save rectangles into 4-dimensional arrays representing two corners of the rectangular: [left_x, top_y, right_x, bottom_y]
let rect = clones[i].metaWindow.get_outer_rect();
rects[i] = new Rect(rect.x, rect.y, rect.width, rect.height);
bounds = bounds.union(rects[i]);
// This is used when the window is on the edge of the screen to try to use as much screen real estate as possible.
directions[i] = direction;
direction++;
if (direction == 4) {
direction = 0;
}
}
let loop_counter = 0;
let overlap;
do {
overlap = false;
for (let i = 0; i < rects.length; i++) {
for (let j = 0; j < rects.length; j++) {
if (i != j && rects[i].adjusted(-WINDOW_PLACEMENT_NATURAL_GAPS, -WINDOW_PLACEMENT_NATURAL_GAPS,
WINDOW_PLACEMENT_NATURAL_GAPS, WINDOW_PLACEMENT_NATURAL_GAPS).overlap(
rects[j].adjusted(-WINDOW_PLACEMENT_NATURAL_GAPS, -WINDOW_PLACEMENT_NATURAL_GAPS,
WINDOW_PLACEMENT_NATURAL_GAPS, WINDOW_PLACEMENT_NATURAL_GAPS))) {
loop_counter++;
overlap = true;
// TODO: something like a Point2D would be nicer here:
// Determine pushing direction
let i_center = rects[i].center();
let j_center = rects[j].center();
let diff = [j_center[0] - i_center[0], j_center[1] - i_center[1]];
// Prevent dividing by zero and non-movement
if (diff[0] == 0 && diff[1] == 0)
diff[0] = 1;
// Try to keep screen/workspace aspect ratio
if ( bounds.height / bounds.width > area.height / area.width )
diff[0] *= 2;
else
diff[1] *= 2;
// Approximate a vector of between 10px and 20px in magnitude in the same direction
let length = Math.sqrt(diff[0] * diff[0] + diff[1] * diff[1]);
diff[0] = diff[0] * WINDOW_PLACEMENT_NATURAL_ACCURACY / length;
diff[1] = diff[1] * WINDOW_PLACEMENT_NATURAL_ACCURACY / length;
// Move both windows apart
rects[i].translate(-diff[0], -diff[1]);
rects[j].translate(diff[0], diff[1]);
if (useMoreScreen) {
// Try to keep the bounding rect the same aspect as the screen so that more
// screen real estate is utilised. We do this by splitting the screen into nine
// equal sections, if the window center is in any of the corner sections pull the
// window towards the outer corner. If it is in any of the other edge sections
// alternate between each corner on that edge. We don't want to determine it
// randomly as it will not produce consistant locations when using the filter.
// Only move one window so we don't cause large amounts of unnecessary zooming
// in some situations. We need to do this even when expanding later just in case
// all windows are the same size.
// (We are using an old bounding rect for this, hopefully it doesn't matter)
let xSection = Math.round((rects[i].x - bounds.x) / (bounds.width / 3));
let ySection = Math.round((rects[i].y - bounds.y) / (bounds.height / 3));
let i_center = rects[i].center();
diff[0] = 0;
diff[1] = 0;
if (xSection != 1 || ySection != 1) { // Remove this if you want the center to pull as well
if (xSection == 1)
xSection = (directions[i] / 2 ? 2 : 0);
if (ySection == 1)
ySection = (directions[i] % 2 ? 2 : 0);
}
if (xSection == 0 && ySection == 0) {
diff[0] = bounds.x - i_center[0];
diff[1] = bounds.y - i_center[1];
}
if (xSection == 2 && ySection == 0) {
diff[0] = bounds.x + bounds.width - i_center[0];
diff[1] = bounds.y - i_center[1];
}
if (xSection == 2 && ySection == 2) {
diff[0] = bounds.x + bounds.width - i_center[0];
diff[1] = bounds.y + bounds.height - i_center[1];
}
if (xSection == 0 && ySection == 2) {
diff[0] = bounds.x - i_center[0];
diff[1] = bounds.y + bounds.height - i_center[1];
}
if (diff[0] != 0 || diff[1] != 0) {
let length = Math.sqrt(diff[0]*diff[0] + diff[1]*diff[1]);
diff[0] *= WINDOW_PLACEMENT_NATURAL_ACCURACY / length / 2; // /2 to make it less influencing than the normal center-move above
diff[1] *= WINDOW_PLACEMENT_NATURAL_ACCURACY / length / 2;
rects[i].translate(diff[0], diff[1]);
}
}
// Update bounding rect
bounds = bounds.union(rects[i]);
bounds = bounds.union(rects[j]);
}
}
}
} while (overlap && loop_counter < WINDOW_PLACEMENT_NATURAL_MAX_TRANSLATIONS);
// Work out scaling by getting the most top-left and most bottom-right window coords.
let scale;
scale = Math.min(area.width / bounds.width,
area.height / bounds.height,
1.0);
// Make bounding rect fill the screen size for later steps
bounds.x = bounds.x - (area.width - bounds.width * scale) / 2;
bounds.y = bounds.y - (area.height - bounds.height * scale) / 2;
bounds.width = area.width / scale;
bounds.height = area.height / scale;
// Move all windows back onto the screen and set their scale
for (let i = 0; i < rects.length; i++) {
rects[i].translate(-bounds.x, -bounds.y);
}
// TODO: Implement the KDE part "Try to fill the gaps by enlarging windows if they have the space" here. (If this is wanted)
// rescale to workspace
let scales = [];
let buttonOuterHeight, captionHeight;
let buttonOuterWidth = 0;
let targets = [];
for (let i = 0; i < rects.length; i++) {
rects[i].x = rects[i].x * scale + this._x;
rects[i].y = rects[i].y * scale + this._y;
targets[i] = [rects[i].x, rects[i].y, scale];
}
return [clones, targets];
},
/**
* _calculateWindowTransformationsGrid:
* @clones: Array of #MetaWindow
*
* Returns clones with matching target coordinates and scales to arrange windows in a grid.
*/
Workspace.Workspace.prototype._calculateWindowTransformationsGrid = function(clones) {
let slots = this._computeAllWindowSlots(clones.length);
clones = this._orderWindowsByMotionAndStartup(clones, slots);
let targets = [];
for (let i = 0; i < clones.length; i++) {
targets[i] = this._computeWindowLayout(clones[i].metaWindow, slots[i]);
}
return [clones, targets];
}
/**
* positionWindows:
* @flags:
* INITIAL - this is the initial positioning of the windows.
* ANIMATE - Indicates that we need animate changing position.
*/
Workspace.Workspace.prototype.positionWindows = function(flags) {
if (this._repositionWindowsId > 0) {
Mainloop.source_remove(this._repositionWindowsId);
this._repositionWindowsId = 0;
}
let clones = this._windows.slice();
if (this._reservedSlot)
clones.push(this._reservedSlot);
let initialPositioning = flags & WindowPositionFlags.INITIAL;
let animate = flags & WindowPositionFlags.ANIMATE;
// Start the animations
let targets = [];
let scales = [];
switch (placementStrategy) {
case WindowPlacementStrategy.NATURAL:
[clones, targets] = this._calculateWindowTransformationsNatural(clones);
break;
default:
log ('Invalid window placement strategy');
placementStrategy = WindowPlacementStrategy.GRID;
case WindowPlacementStrategy.GRID:
[clones, targets] = this._calculateWindowTransformationsGrid(clones);
break;
}
let currentWorkspace = global.screen.get_active_workspace();
let isOnCurrentWorkspace = this.metaWorkspace == null || this.metaWorkspace == currentWorkspace;
for (let i = 0; i < clones.length; i++) {
let clone = clones[i];
let [x, y , scale] = targets[i];
let metaWindow = clone.metaWindow;
let mainIndex = this._lookupIndex(metaWindow);
let overlay = this._windowOverlays[mainIndex];
// Positioning a window currently being dragged must be avoided;
// we'll just leave a blank spot in the layout for it.
if (clone.inDrag)
continue;
if (overlay)
overlay.hide();
if (animate && isOnCurrentWorkspace) {
if (!metaWindow.showing_on_its_workspace()) {
/* Hidden windows should fade in and grow
* therefore we need to resize them now so they
* can be scaled up later */
if (initialPositioning) {
clone.actor.opacity = 0;
clone.actor.scale_x = 0;
clone.actor.scale_y = 0;
clone.actor.x = x;
clone.actor.y = y;
}
// Make the window slightly transparent to indicate it's hidden
Tweener.addTween(clone.actor,
{ opacity: 255,
time: Overview.ANIMATION_TIME,
transition: 'easeInQuad'
});
}
Tweener.addTween(clone.actor,
{ x: x,
y: y,
scale_x: scale,
scale_y: scale,
time: Overview.ANIMATION_TIME,
transition: 'easeOutQuad',
onComplete: Lang.bind(this, function() {
this._showWindowOverlay(clone, overlay, true);
})
});
} else {
clone.actor.set_position(x, y);
clone.actor.set_scale(scale, scale);
this._showWindowOverlay(clone, overlay, isOnCurrentWorkspace);
}
}
}
/// position window titles on top of windows in overlay ////
if (settings.get_boolean('window-captions-on-top')) {
Workspace.WindowOverlay.prototype._init = function(windowClone, parentActor) {
let metaWindow = windowClone.metaWindow;
this._windowClone = windowClone;
this._parentActor = parentActor;
this._hidden = false;
let title = new St.Label({ style_class: 'window-caption',
text: metaWindow.title });
title.clutter_text.ellipsize = Pango.EllipsizeMode.END;
title._spacing = 0;
title._overlap = 0;
this._updateCaptionId = metaWindow.connect('notify::title', Lang.bind(this, function(w) {
this.title.text = w.title;
}));
let button = new St.Button({ style_class: 'window-close' });
button._overlap = 0;
this._idleToggleCloseId = 0;
button.connect('clicked', Lang.bind(this, this._closeWindow));
windowClone.actor.connect('destroy', Lang.bind(this, this._onDestroy));
windowClone.actor.connect('enter-event', Lang.bind(this, this._onEnter));
windowClone.actor.connect('leave-event', Lang.bind(this, this._onLeave));
this._windowAddedId = 0;
windowClone.connect('zoom-start', Lang.bind(this, this.hide));
windowClone.connect('zoom-end', Lang.bind(this, this.show));
button.hide();
this.title = title;
this.closeButton = button;
parentActor.add_actor(this.title);
parentActor.add_actor(this.closeButton);
title.connect('style-changed', Lang.bind(this, this._onStyleChanged));
button.connect('style-changed', Lang.bind(this, this._onStyleChanged));
// force a style change if we are already on a stage - otherwise
// the signal will be emitted normally when we are added
if (parentActor.get_stage())
this._onStyleChanged();
},
Workspace.WindowOverlay.prototype.chromeHeights = function () {
return [Math.max( this.closeButton.height - this.closeButton._overlap, this.title.height - this.title._overlap),
0];
},
Workspace.WindowOverlay.prototype.updatePositions = function(cloneX, cloneY, cloneWidth, cloneHeight) {
let button = this.closeButton;
let title = this.title;
let buttonX;
let buttonY = cloneY - (button.height - button._overlap);
if (St.Widget.get_default_direction() == St.TextDirection.RTL)
buttonX = cloneX - (button.width - button._overlap);
else
buttonX = cloneX + (cloneWidth - button._overlap);
button.set_position(Math.floor(buttonX), Math.floor(buttonY));
if (!title.fullWidth)
title.fullWidth = title.width;
title.width = Math.min(title.fullWidth, cloneWidth);
let titleX = cloneX + (cloneWidth - title.width) / 2;
let titleY = cloneY - title.height + title._overlap;
title.set_position(Math.floor(titleX), Math.floor(titleY));
},
Workspace.WindowOverlay.prototype._onStyleChanged = function() {
let titleNode = this.title.get_theme_node();
this.title._spacing = titleNode.get_length('-shell-caption-spacing');
this.title._overlap = titleNode.get_length('-shell-caption-overlap');
let closeNode = this.closeButton.get_theme_node();
this.closeButton._overlap = closeNode.get_length('-shell-close-overlap');
this._parentActor.queue_relayout();
}
}
}

View File

@@ -0,0 +1,9 @@
{
"uuid": "@uuid@",
"name": "Native Window Placement",
"description": "Arrange windows in overview in a more native way",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@",
"original-authors": [ "wepmaschda@gmx.de" ]
}

View File

@@ -0,0 +1,26 @@
<schemalist gettext-domain="gnome-shell-extensions">
<enum id="org.gnome.shell.extensions.native-window-placement.strategy">
<value nick="natural" value="0" />
<value nick="grid" value="1" />
</enum>
<schema id="org.gnome.shell.extensions.native-window-placement" path="/org/gnome/shell/extensions/native-window-placement/">
<key name="strategy" enum="org.gnome.shell.extensions.native-window-placement.strategy">
<default>'natural'</default>
<_summary>Window placement strategy</_summary>
<_description>The algorithm used to layout thumbnails in the overview. 'grid' to use the default grid based algorithm,
'natural' to use another one that reflects more the position and size of the actual window</_description>
</key>
<key name="use-more-screen" type="b">
<default>true</default>
<_summary>Use more screen for windows</_summary>
<_description>Try to use more screen for placing window thumbnails by adapting to screen aspect ratio, and consolidating
them further to reduce the bounding box. This setting applies only with the natural placement strategy.</_description>
</key>
<key name="window-captions-on-top" type="b">
<default>true</default>
<_summary>Place window captions on top</_summary>
<_description>If true, place window captions on top the respective thumbnail, overriding shell default of placing it at
the bottom. Changing this setting requires restarting the shell to have any effect.</_description>
</key>
</schema>
</schemalist>

View File

@@ -0,0 +1,4 @@
.window-caption {
color: red;
-shell-caption-overlap: 10px;
}

View File

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

View File

@@ -0,0 +1,121 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const Gdk = imports.gi.Gdk;
const GLib = imports.gi.GLib;
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-extensions');
const _ = Gettext.gettext;
const PLACE_ICON_SIZE = 22;
function PlacesMenu() {
this._init.apply(this, arguments);
}
PlacesMenu.prototype = {
__proto__: PanelMenu.SystemStatusButton.prototype,
_init: function() {
PanelMenu.SystemStatusButton.prototype._init.call(this, 'folder');
this.defaultItems = [];
this.bookmarkItems = [];
this.deviceItems = [];
this._createDefaultPlaces();
this._bookmarksSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._bookmarksSection);
this._createBookmarks();
this._devicesMenuItem = new PopupMenu.PopupSubMenuMenuItem('Removable Devices');
this.menu.addMenuItem(this._devicesMenuItem);
this._createDevices();
Main.placesManager.connect('bookmarks-updated',Lang.bind(this,this._redisplayBookmarks));
Main.placesManager.connect('mounts-updated',Lang.bind(this,this._redisplayDevices));
},
_redisplayBookmarks: function(){
this._clearBookmarks();
this._createBookmarks();
},
_redisplayDevices: function(){
this._clearDevices();
this._createDevices();
},
_createDefaultPlaces : function() {
this.defaultPlaces = Main.placesManager.getDefaultPlaces();
for (let placeid = 0; placeid < this.defaultPlaces.length; placeid++) {
this.defaultItems[placeid] = new PopupMenu.PopupMenuItem(_(this.defaultPlaces[placeid].name));
let icon = this.defaultPlaces[placeid].iconFactory(PLACE_ICON_SIZE);
this.defaultItems[placeid].addActor(icon, { align: St.Align.END});
this.defaultItems[placeid].place = this.defaultPlaces[placeid];
this.menu.addMenuItem(this.defaultItems[placeid]);
this.defaultItems[placeid].connect('activate', function(actor,event) {
actor.place.launch();
});
}
},
_createBookmarks : function() {
this.bookmarks = Main.placesManager.getBookmarks();
for (let bookmarkid = 0; bookmarkid < this.bookmarks.length; bookmarkid++) {
this.bookmarkItems[bookmarkid] = new PopupMenu.PopupMenuItem(_(this.bookmarks[bookmarkid].name));
let icon = this.bookmarks[bookmarkid].iconFactory(PLACE_ICON_SIZE);
this.bookmarkItems[bookmarkid].addActor(icon, { align: St.Align.END});
this.bookmarkItems[bookmarkid].place = this.bookmarks[bookmarkid];
this._bookmarksSection.addMenuItem(this.bookmarkItems[bookmarkid]);
this.bookmarkItems[bookmarkid].connect('activate', function(actor,event) {
actor.place.launch();
});
}
},
_createDevices : function() {
this.devices = Main.placesManager.getMounts();
for (let devid = 0; devid < this.devices.length; devid++) {
this.deviceItems[devid] = new PopupMenu.PopupMenuItem(_(this.devices[devid].name));
let icon = this.devices[devid].iconFactory(PLACE_ICON_SIZE);
this.deviceItems[devid].addActor(icon, { align: St.Align.END});
this.deviceItems[devid].place = this.devices[devid];
this._devicesMenuItem.menu.addMenuItem(this.deviceItems[devid]);
this.deviceItems[devid].connect('activate', function(actor,event) {
actor.place.launch();
});
}
if (this.devices.length == 0)
this._devicesMenuItem.actor.hide();
else
this._devicesMenuItem.actor.show();
},
_clearBookmarks : function(){
this._bookmarksSection.removeAll();
this.bookmarkItems = [];
},
_clearDevices : function(){
this._devicesMenuItem.menu.removeAll();
this.DeviceItems = [];
},
};
function main(metadata) {
imports.gettext.bindtextdomain('gnome-shell-extensions', metadata.localedir);
Panel.STANDARD_TRAY_ICON_ORDER.unshift('places-menu');
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['places-menu'] = PlacesMenu;
}

View File

@@ -0,0 +1,8 @@
{
"uuid": "@uuid@",
"name": "Places Status Indicator",
"description": "Add a systems status menu for quickly navigating places in the system",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -0,0 +1 @@
/* none used*/

View File

@@ -0,0 +1,3 @@
EXTENSION_ID = systemMonitor
include ../../extension.mk

View File

@@ -0,0 +1,133 @@
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
const Clutter = imports.gi.Clutter;
const GTop = imports.gi.GTop;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const St = imports.gi.St;
const Shell = imports.gi.Shell;
const Main = imports.ui.main;
function Indicator() {
this._init();
}
Indicator.prototype = {
_init: function() {
this._initValues();
this.actor = new St.DrawingArea({ style_class: "extension-systemMonitor-indicator-area",
reactive: true});
this.actor.connect('repaint', Lang.bind(this, this._draw));
this.actor.connect('button-press-event', function() {
let app = Shell.AppSystem.get_default().get_app("gnome-system-monitor.desktop");
app.open_new_window(-1);
});
Mainloop.timeout_add(250, Lang.bind(this, function () {
this._updateValues();
this.actor.queue_repaint();
return true;
}));
},
_initValues: function() {
},
_updateValues: function() {
},
_draw: function(area) {
let [width, height] = area.get_surface_size();
let themeNode = this.actor.get_theme_node();
let cr = area.get_context();
for (let i = this.values.length - 1; i >= 0; i--) {
let color = themeNode.get_color(this.values[i].color);
cr.moveTo(0, height);
let k;
for (k = 0; k < this.values[i].values.length; k++) {
cr.lineTo(k, (1 - this.values[i].values[k]) * height);
}
if (k > width)
this.values[i].values.shift();
cr.lineTo(k, height);
cr.lineTo(0, height);
cr.closePath();
Clutter.cairo_set_source_color(cr, color);
cr.fill();
}
}
};
function CpuIndicator() {
this._init();
}
CpuIndicator.prototype = {
__proto__: Indicator.prototype,
_initValues: function() {
this._prev = new GTop.glibtop_cpu;
GTop.glibtop_get_cpu(this._prev);
this.values = [];
this.values.push({color: "-cpu-user-color", values: []});
this.values.push({color: "-cpu-sys-color", values: []});
this.values.push({color: "-cpu-iowait-color", values: []});
},
_updateValues: function() {
let cpu = new GTop.glibtop_cpu;
let t = 0.0;
GTop.glibtop_get_cpu(cpu);
let total = cpu.total - this._prev.total;
let user = cpu.user - this._prev.user;
let sys = cpu.sys - this._prev.sys;
let iowait = cpu.iowait - this._prev.iowait;
t = user / total;
this.values[0].values.push(t);
t += sys / total;
this.values[1].values.push(t);
t += iowait / total;
this.values[2].values.push(t);
this._prev = cpu;
}
};
function MemoryIndicator() {
this._init();
}
MemoryIndicator.prototype = {
__proto__: Indicator.prototype,
_initValues: function() {
this.mem = new GTop.glibtop_mem;
this.values = [];
this.values.push({ color: "-mem-user-color", values: [] });
this.values.push({ color: "-mem-other-color", values: [] });
this.values.push({ color: "-mem-cached-color", values: [] });
},
_updateValues: function() {
GTop.glibtop_get_mem(this.mem);
let t = this.mem.user / this.mem.total;
this.values[0].values.push(t);
t += (this.mem.used - this.mem.user - this.mem.cached) / this.mem.total;
this.values[1].values.push(t);
t += this.mem.cached / this.mem.total;
this.values[2].values.push(t);
}
};
function main() {
let box = new St.BoxLayout({ style_class: 'extension-systemMonitor-container' });
box.add((new CpuIndicator()).actor);
box.add((new MemoryIndicator()).actor);
Main.messageTray.actor.add_actor(box);
}

View File

@@ -0,0 +1,9 @@
{
"shell-version": ["@shell_current@"],
"uuid": "@uuid@",
"localedir": "@LOCALEDIR@",
"original-author": "zaspire@rambler.ru",
"name": "SystemMonitor",
"description": "System Monitor",
"url": "@url@"
}

View File

@@ -0,0 +1,16 @@
.extension-systemMonitor-container {
spacing: 5px;
}
.extension-systemMonitor-indicator-area {
border: 1px solid #000;
width: 100px;
height: 34px;
-cpu-user-color: #f00;
-cpu-sys-color: #0f0;
-cpu-iowait-color: #00f;
-mem-user-color: #ff0;
-mem-cached-color: #0ff;
-mem-other-color: #111;
background-color: #fff;
}

View File

@@ -26,16 +26,28 @@ ThemeManager.prototype = {
if (_themeName) {
let _userCssStylesheet = GLib.get_home_dir() + '/.themes/' + _themeName + '/gnome-shell/gnome-shell.css';
file = Gio.file_new_for_path(_userCssStylesheet);
let file = Gio.file_new_for_path(_userCssStylesheet);
if (file.query_exists(null))
_stylesheet = _userCssStylesheet;
else {
let sysdirs = GLib.get_system_data_dirs();
for (let i = 0; i < sysdirs.length; i++) {
_userCssStylesheet = sysdirs[i] + '/themes/' + _themeName + '/gnome-shell/gnome-shell.css';
let file = Gio.file_new_for_path(_userCssStylesheet);
if (file.query_exists(null)) {
_stylesheet = _userCssStylesheet;
break;
}
}
}
}
if (_stylesheet) {
global.log('loading user theme: ' + _stylesheet)
Main.setThemeStylesheet(_stylesheet);
Main.loadTheme();
}
if (_stylesheet)
global.log('loading user theme: ' + _stylesheet);
else
global.log('loading default theme (Adwaita)');
Main.setThemeStylesheet(_stylesheet);
Main.loadTheme();
}
}

View File

@@ -2,7 +2,7 @@
"uuid": "@uuid@",
"name": "User Themes",
"description": "Load shell themes from user directory",
"shell-version": [ "3.0" ],
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"original-authors": [ "john.stowers@gmail.com" ],
"url": "@url@"

View File

@@ -0,0 +1 @@
/* none used */

View File

@@ -0,0 +1,3 @@
EXTENSION_ID = workspace-indicator
include ../../extension.mk

View File

@@ -0,0 +1,102 @@
const Meta = imports.gi.Meta;
const Clutter = imports.gi.Clutter;
const St = imports.gi.St;
const Lang = imports.lang;
const Mainloop = imports.mainloop;
const PanelMenu = imports.ui.panelMenu;
const PopupMenu = imports.ui.popupMenu;
const Panel = imports.ui.panel;
const Main = imports.ui.main;
const Gettext = imports.gettext.domain('gnome-shell-extensions');
const _ = Gettext.gettext;
function WorkspaceIndicator() {
this._init.apply(this, arguments);
}
WorkspaceIndicator.prototype = {
__proto__: PanelMenu.SystemStatusButton.prototype,
_init: function(){
PanelMenu.SystemStatusButton.prototype._init.call(this, 'folder');
this._currentWorkspace = global.screen.get_active_workspace().index();
this.statusLabel = new St.Label({ text: this._labelText() });
this.actor.set_child(this.statusLabel);
this.workspacesItems = [];
this._workspaceSection = new PopupMenu.PopupMenuSection();
this.menu.addMenuItem(this._workspaceSection);
global.screen.connect_after('workspace-added', Lang.bind(this,this._createWorkspacesSection));
global.screen.connect_after('workspace-removed', Lang.bind(this,this._createWorkspacesSection));
global.screen.connect_after('workspace-switched', Lang.bind(this,this._updateIndicator));
this.actor.connect('scroll-event', Lang.bind(this, this._onScrollEvent));
this._createWorkspacesSection();
//styling
this.menu.actor.add_style_class_name('workspace-indicator-shorter');
},
_updateIndicator: function() {
this.workspacesItems[this._currentWorkspace].setShowDot(false);
this._currentWorkspace = global.screen.get_active_workspace().index();
this.workspacesItems[this._currentWorkspace].setShowDot(true);
this.statusLabel.set_text(this._labelText());
},
_labelText : function(workspaceIndex) {
if(workspaceIndex == undefined) {
workspaceIndex = this._currentWorkspace;
}
return Meta.prefs_get_workspace_name(workspaceIndex);
},
_createWorkspacesSection : function() {
this._workspaceSection.removeAll();
this.workspacesItems = [];
let i = 0;
for(; i < global.screen.n_workspaces; i++) {
this.workspacesItems[i] = new PopupMenu.PopupMenuItem(this._labelText(i));
this._workspaceSection.addMenuItem(this.workspacesItems[i]);
this.workspacesItems[i].workspaceId = i;
this.workspacesItems[i].label_actor = this.statusLabel;
let self = this;
this.workspacesItems[i].connect('activate', Lang.bind(this, function(actor, event) {
this._activate(actor.workspaceId);
}));
}
this._updateIndicator();
},
_activate : function (index) {
if(index >= 0 && index < global.screen.n_workspaces) {
let metaWorkspace = global.screen.get_workspace_by_index(index);
metaWorkspace.activate(true);
}
},
_onScrollEvent : function(actor, event) {
let direction = event.get_scroll_direction();
let diff = 0;
if (direction == Clutter.ScrollDirection.DOWN) {
diff = 1;
} else if (direction == Clutter.ScrollDirection.UP) {
diff = -1;
} else {
return;
}
let newIndex = global.screen.get_active_workspace().index() + diff;
this._activate(newIndex);
},
}
function main() {
Panel.STANDARD_TRAY_ICON_ORDER.unshift('workspace-indicator');
Panel.STANDARD_TRAY_ICON_SHELL_IMPLEMENTATION['workspace-indicator'] = WorkspaceIndicator;
}

View File

@@ -0,0 +1,9 @@
{
"uuid": "@uuid@",
"name": "Workspace Indicator",
"description": "Put an indicator on the panel signaling in which workspace you are, and give you the possibility of switching to another one",
"shell-version": [ "@shell_current@" ],
"localedir": "@LOCALEDIR@",
"original-authors": [ "erick.red@gmail.com" ],
"url": "@url@"
}

View File

@@ -0,0 +1,4 @@
.workspace-indicator-shorter {
min-width: 25px;
font-size: 10pt;
}

View File

@@ -2,7 +2,8 @@
"uuid": "@uuid@",
"name": "Monitor Status Indicator",
"description": "Add a systems status menu for rotating monitors (overrides what is currently provided by gnome-settings-daemon)",
"shell-version": [ "3.0" ],
"shell-version": [ "@shell_current@" ],
"js-version": [ "0.7.15", "1.29.1" ],
"localedir": "@LOCALEDIR@",
"url": "@url@"
}

View File

@@ -6,6 +6,13 @@
<name xml:lang="en">GNOME Shell Extensions</name>
<shortdesc xml:lang="en">Modify and extend GNOME Shell functionality and behavior</shortdesc>
<description xml:lang="en">
GNOME Shell Extensions is a collection of extensions providing
additional and optional functionality to GNOME Shell.
Most extensions can be installed by configuring --prefix=$HOME/.local,
and will be picked automatically at next login.
</description>
<bug-database rdf:resource="http://bugzilla.gnome.org/browse.cgi?product=gnome-shell&amp;component=extensions" />
<homepage rdf:resource="http://live.gnome.org/GnomeShell/Extenstions" />
<maintainer>

View File

@@ -2,11 +2,20 @@ cs
da
de
es
fa
fr
gl
he
hu
it
ja
lv
nb
pa
pt
pt_BR
pl
ru
sl
sv
vi

View File

@@ -1,9 +1,13 @@
extensions/alternative-status-menu/extension.js
extensions/alternate-tab/extension.js
extensions/alternate-tab/org.gnome.shell.extensions.alternate-tab.gschema.xml.in
extensions/auto-move-windows/extension.js
extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in
extensions/dock/extension.js
extensions/dock/org.gnome.shell.extensions.dock.gschema.xml.in
extensions/example/extension.js
extensions/gajim/extension.js
extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in
extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in
extensions/windowsNavigator/extension.js
extensions/xrandr-indicator/extension.js

View File

@@ -1,7 +1,6 @@
# 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 ""
@@ -9,8 +8,8 @@ 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-04-01 16:40+0000\n"
"PO-Revision-Date: 2011-04-02 19:19+0200\n"
"POT-Creation-Date: 2011-04-16 16:32+0000\n"
"PO-Revision-Date: 2011-04-17 11:10+0200\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
"MIME-Version: 1.0\n"
@@ -19,6 +18,49 @@ msgstr ""
"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Uspat na disk"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Uspat do paměti"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Dostupný"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Zaneprázdněný"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Můj účet"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Nastavení systému"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Zamknout obrazovku"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Přepnout uživatele"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Odhlásit se…"
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Vypnout…"
#: ../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), "

View File

@@ -8,8 +8,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-03-30 22:37+0200\n"
"PO-Revision-Date: 2011-03-29 00:18+0000\n"
"POT-Creation-Date: 2011-04-06 22:28+0200\n"
"PO-Revision-Date: 2011-04-06 09:07+0000\n"
"Last-Translator: Kris Thomsen <lakristho@gmail.com>\n"
"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
"Language: da\n"
@@ -18,30 +18,6 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hej verden!"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Venstre"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Højre"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "På hovedet"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Konfigurér skærmindstillinger..."
#: ../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), "
@@ -54,14 +30,6 @@ msgstr ""
msgid "Application and workspace list"
msgstr "Liste over programmer og arbejdsområder"
#: ../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 "Navnet på temaet, som indlæses fra ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Temanavn"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Træk hertil for at føje til favoritter"
@@ -81,3 +49,55 @@ msgstr "Fjern fra favoritter"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Føj til favoritter"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hej verden!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s er ikke til stede."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s er frakoblet."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s er tilgængelig."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s er optaget."
#: ../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 "Navnet på temaet, som indlæses fra ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Temanavn"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Venstre"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Højre"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "På hovedet"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Konfigurér skærmindstillinger..."

127
po/de.po
View File

@@ -1,45 +1,64 @@
# 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.
# Mario Blättermann <mariobl@freenet.de>, 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"
"POT-Creation-Date: 2011-04-16 16:32+0000\n"
"PO-Revision-Date: 2011-04-17 11:12+0100\n"
"Last-Translator: Mario Blättermann <mariobl@freenet.de>\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/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Ruhezustand"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Bereitschaft"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Links"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Verfügbar"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Rechts"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Beschäftigt"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Kopfüber"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Mein Konto"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Bildschirmeinstellungen festlegen …"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Systemeinstellungen"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Bildschirm sperren"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Benutzer wechseln"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Abmelden …"
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Ausschalten …"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
@@ -53,16 +72,6 @@ msgstr ""
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"
@@ -82,3 +91,57 @@ msgstr "Aus Favoriten entfernen"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Zu Favoriten hinzufügen"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hallo, Welt!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s ist abwesend."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s ist abgemeldet."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s ist angemeldet."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s ist beschäftigt."
#: ../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/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 …"

View File

@@ -8,8 +8,8 @@ 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-04-01 16:40+0000\n"
"PO-Revision-Date: 2011-04-04 13:30+0200\n"
"POT-Creation-Date: 2011-04-16 16:32+0000\n"
"PO-Revision-Date: 2011-04-21 19:31+0200\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"
@@ -17,6 +17,49 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Hibernar"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Suspender"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Disponible"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Ocupado"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Mi cuenta"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Configuración del sistema"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Bloquear la pantalla"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Cambiar de usuario"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Cerrar la sesión…"
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Apagar…"
#: ../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), "

143
po/fa.po Normal file
View File

@@ -0,0 +1,143 @@
# Persian translation for gnome-shell-extensions.
# Copyright (C) 2011 Iranian Free Software Users Group (IFSUG.org) translation team.
# This file is distributed under the same license as the gnome-shell-extensions package.
# Arash Mousavi <mousavi.arash@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions gnome-3-0\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-05-21 14:17+0000\n"
"PO-Revision-Date: 2011-05-23 22:28+0330\n"
"Last-Translator: Arash Mousavi <mousavi.arash@gmail.com>\n"
"Language-Team: Persian <translate@ifsug.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-Language: Persian\n"
"X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "خواب‌زمستانی"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "تعلیق"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "موجود"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "مشغول"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "حساب من"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "تنظیمات سیستم"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "قفل‌کردن صفحه‌نمایش"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "تعویض کاربر"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "خروج از سیستم..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
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/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 "اضافه کردن به علاقه‌مندی‌ها"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "سلام دنیا!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s غائب است."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s برون‌خط است."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s برخط است."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s مشغول است."
#: ../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/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 "پیکربندی تنظیمات نمایش..."

123
po/fr.po
View File

@@ -8,8 +8,8 @@ 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"
"POT-Creation-Date: 2011-04-16 16:32+0000\n"
"PO-Revision-Date: 2011-04-21 16:51+0200\n"
"Last-Translator: Claude Paroz <claude@2xlibre.net>\n"
"Language-Team: French <gnomefr@traduc.org>\n"
"MIME-Version: 1.0\n"
@@ -17,51 +17,62 @@ msgstr ""
"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/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Hiberner"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Mettre en veille"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Gauche"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Disponible"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Droite"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Occupé"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Renversé"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Mon compte"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configurer les paramètres d'affichage..."
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Paramètres système"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Verrouiller l'écran"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Changer d'utilisateur"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Fermer la session..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Éteindre..."
#: ../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 "
"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"
@@ -81,3 +92,55 @@ msgstr "Enlever des favoris"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Ajouter aux favoris"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Bonjour le monde !"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s est absent(e)."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s n'est pas en ligne."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s est en ligne."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s est occupé(e)."
#: ../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/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..."

103
po/gl.po Normal file
View File

@@ -0,0 +1,103 @@
# Galician 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.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Fran Diéguez <frandieguez@gnome.org>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-04-14 09:58+0200\n"
"PO-Revision-Date: 2011-04-14 09:54+0200\n"
"Last-Translator: Fran Diéguez <frandieguez@gnome.org>\n"
"Language-Team: Galician <gnome-l10n-gl@gnome.org>\n"
"Language: gl\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/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 ""
"Unha lista de cadeas, cada unha das cales contén un id de aplicativo (nome "
"de ficheiro desktop), seguido por unha coma e o número do espazo de traballo"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lista de aplicativos e espazos de traballo"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Arrastre aquí para engadir aos favoritos"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nova xanela"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Saír do aplicativo"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Eliminar dos favoritos"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Engadir aos favoritos"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hola, mundo!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s está ausente."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s está desconectado."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s está conectado."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s está ocupado."
#: ../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 "O nome do tema, a cargar desde ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Nome do tema"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Esquerda"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Dereita"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Co de arriba cara abaixo"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configurar as configuracións de pantalla..."

187
po/he.po Normal file
View File

@@ -0,0 +1,187 @@
# Hebrew translations for PACKAGE package.
# Copyright (C) 2011 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Yaron Shahrabani <sh.yaron@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-05-13 13:11+0300\n"
"PO-Revision-Date: 2011-05-13 13:15+0200\n"
"Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>\n"
"Language-Team: Hebrew <sh.yaron@gmail.com>\n"
"Language: he\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-Poedit-Language: Hebrew\n"
"X-Poedit-Country: ISRAEL\n"
"X-Poedit-SourceCharset: UTF-8\n"
#: ../extensions/alternative-status-menu/extension.js:39
msgid "Available"
msgstr "פנוי"
#: ../extensions/alternative-status-menu/extension.js:44
msgid "Busy"
msgstr "עסוק"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "My Account"
msgstr "החשבון שלי"
#: ../extensions/alternative-status-menu/extension.js:56
msgid "System Settings"
msgstr "הגדרות המערכת"
#: ../extensions/alternative-status-menu/extension.js:63
msgid "Lock Screen"
msgstr "נעילת המסך"
#: ../extensions/alternative-status-menu/extension.js:67
msgid "Switch User"
msgstr "החלפת משתמש"
#: ../extensions/alternative-status-menu/extension.js:72
msgid "Log Out..."
msgstr "יציאה..."
#: ../extensions/alternative-status-menu/extension.js:79
msgid "Suspend"
msgstr "השהיה"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Hibernate"
msgstr "תרדמת"
#: ../extensions/alternative-status-menu/extension.js:91
msgid "Power Off..."
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 ""
"A list of strings, each containing an application id (desktop file name), "
"followed by a colon and the workspace number"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Application and workspace list"
#: ../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 "הוספה למועדפים"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "שלום, עולם!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s הופיע/ה כמרוחק/ת."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s התנתק/ה."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s פנוי/ה."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s עסוק/ה."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
msgid ""
"If true, place window captions on top the respective thumbnail, overriding "
"shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect."
msgstr ""
"If true, place window captions on top the respective thumbnail, overriding "
"shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
msgid "Place window captions on top"
msgstr "Place window captions on top"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
msgid ""
"The algorithm used to layout thumbnails in the overview. 'grid' to use the "
"default grid based algorithm, 'natural' to use another one that reflects "
"more the position and size of the actual window"
msgstr ""
"The algorithm used to layout thumbnails in the overview. 'grid' to use the "
"default grid based algorithm, 'natural' to use another one that reflects "
"more the position and size of the actual window"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
msgid ""
"Try to use more screen for placing window thumbnails by adapting to screen "
"aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy."
msgstr ""
"Try to use more screen for placing window thumbnails by adapting to screen "
"aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:5
msgid "Use more screen for windows"
msgstr "Use more screen for windows"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:6
msgid "Window placement strategy"
msgstr "Window placement strategy"
#: ../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 "The name of the theme, to be loaded from ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Theme name"
#: ../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 "הגדרת תצורת התצוגה..."

177
po/hu.po Normal file
View File

@@ -0,0 +1,177 @@
# Hungarian translation of
# Copyright (C) 2011. Free Software Foundation, Inc.
# This file is distributed under the same license as the gnome-shell-extensions package.
#
# Biró Balázs <arch.scar at gmail dot com>, 2011.
# Gabor Kelemen <kelemeng at gnome dot hu>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-06-07 22:45+0200\n"
"PO-Revision-Date: 2011-06-07 22:44+0200\n"
"Last-Translator: Gabor Kelemen <kelemeng at gnome dot hu>\n"
"Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: ../extensions/alternative-status-menu/extension.js:39
msgid "Available"
msgstr "Elérhető"
#: ../extensions/alternative-status-menu/extension.js:44
msgid "Busy"
msgstr "Elfoglalt"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "My Account"
msgstr "Saját fiók"
#: ../extensions/alternative-status-menu/extension.js:56
msgid "System Settings"
msgstr "Rendszerbeállítások"
#: ../extensions/alternative-status-menu/extension.js:63
msgid "Lock Screen"
msgstr "Képernyő zárolása"
#: ../extensions/alternative-status-menu/extension.js:67
msgid "Switch User"
msgstr "Felhasználóváltás"
#: ../extensions/alternative-status-menu/extension.js:72
msgid "Log Out..."
msgstr "Kijelentkezés…"
#: ../extensions/alternative-status-menu/extension.js:79
msgid "Suspend"
msgstr "Felfüggesztés"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Hibernate"
msgstr "Hibernálás"
#: ../extensions/alternative-status-menu/extension.js:91
msgid "Power Off..."
msgstr "Kikapcsolás…"
#: ../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 ""
"Alkalmazásazonosítókat (.desktop fájl neve), majd kettősponttal elválasztva "
"a munkaterület számát tartalmazó karakterláncok sorozata"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Alkalmazások és munkaterületek listája"
#: ../extensions/dock/extension.js:136
msgid "Drag here to add favorites"
msgstr "Húzza ide kedvenceit"
#: ../extensions/dock/extension.js:456
msgid "New Window"
msgstr "Új ablak"
#: ../extensions/dock/extension.js:458
msgid "Quit Application"
msgstr "Alkalmazás bezárása"
#: ../extensions/dock/extension.js:463
msgid "Remove from Favorites"
msgstr "Eltávolítás a Kedvencek közül"
#: ../extensions/dock/extension.js:464
msgid "Add to Favorites"
msgstr "Hozzáadás a Kedvencekhez"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Helló, világ!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s távol van."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s kilépett."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s elérhető."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s elfoglalt."
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
msgid ""
"If true, place window captions on top the respective thumbnail, overriding "
"shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect."
msgstr ""
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
msgid "Place window captions on top"
msgstr ""
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
msgid ""
"The algorithm used to layout thumbnails in the overview. 'grid' to use the "
"default grid based algorithm, 'natural' to use another one that reflects "
"more the position and size of the actual window"
msgstr ""
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
msgid ""
"Try to use more screen for placing window thumbnails by adapting to screen "
"aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy."
msgstr ""
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:5
msgid "Use more screen for windows"
msgstr ""
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:6
msgid "Window placement strategy"
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 "A ~/.themes/név/gnome-shell alól betöltendő téma neve"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Témanév"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normál"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Balra"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Jobbra"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Fejjel lefelé"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Kijelzőbeállítások…"

116
po/it.po
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-03-12 22:11+0100\n"
"PO-Revision-Date: 2011-03-12 22:12+0100\n"
"POT-Creation-Date: 2011-04-26 15:14+0200\n"
"PO-Revision-Date: 2011-04-26 15:27+0200\n"
"Last-Translator: Giovanni Campagna <scampa.giovanni@gmail.com>\n"
"Language-Team: none <LL@li.org>\n"
"Language: \n"
@@ -17,29 +17,45 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Ciao, mondo!"
#: ../extensions/alternative-status-menu/extension.js:39
msgid "Available"
msgstr "Disponibile"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normale"
#: ../extensions/alternative-status-menu/extension.js:44
msgid "Busy"
msgstr "Non disponibile"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Sinistra"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "My Account"
msgstr "Account personale"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Destra"
#: ../extensions/alternative-status-menu/extension.js:56
msgid "System Settings"
msgstr "Impostazioni di sistema"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Rovesciato"
#: ../extensions/alternative-status-menu/extension.js:63
msgid "Lock Screen"
msgstr "Blocca schermo"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configura impostazioni display..."
#: ../extensions/alternative-status-menu/extension.js:67
msgid "Switch User"
msgstr "Cambia utente"
#: ../extensions/alternative-status-menu/extension.js:72
msgid "Log Out..."
msgstr "Termina sessione..."
#: ../extensions/alternative-status-menu/extension.js:79
msgid "Suspend"
msgstr "Sospendi"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Hibernate"
msgstr "Iberna"
#: ../extensions/alternative-status-menu/extension.js:91
msgid "Power Off..."
msgstr "Spegni..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
@@ -53,14 +69,6 @@ msgstr ""
msgid "Application and workspace list"
msgstr "Lista applicazioni e spazi di lavoro"
#: ../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"
@@ -80,3 +88,55 @@ msgstr "Rimuovi dai preferiti"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Aggiungi ai preferiti"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Ciao, mondo!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s è assente"
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s è fuori rete"
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s è disponibile"
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s non è disponibile"
#: ../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/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normale"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Sinistra"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Destra"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Rovesciato"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Configura impostazioni display..."

205
po/ja.po Normal file
View File

@@ -0,0 +1,205 @@
# gnome-shell-extensions ja.po
# Copyright (C) 2011 gnome-shell-extensions's COPYRIGHT HOLDER
# This file is distributed under the same license as the gnome-shell-extensions package.
# Takeshi AIHANA <takeshi.aihana@gmail.com>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions master\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-07-05 00:34+0900\n"
"PO-Revision-Date: 2011-07-05 00:34+0900\n"
"Last-Translator: Takeshi AIHANA <takeshi.aihana@gmail.com>\n"
"Language-Team: Japanese <takeshi.aihana@gmail.com>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../extensions/alternative-status-menu/extension.js:39
msgid "Available"
msgstr "在席中"
#: ../extensions/alternative-status-menu/extension.js:44
msgid "Busy"
msgstr "離席中"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "My Account"
msgstr "自分のアカウント"
#: ../extensions/alternative-status-menu/extension.js:56
msgid "System Settings"
msgstr "システムの設定"
#: ../extensions/alternative-status-menu/extension.js:63
msgid "Lock Screen"
msgstr "画面のロック"
#: ../extensions/alternative-status-menu/extension.js:67
msgid "Switch User"
msgstr "ユーザの切り替え"
#: ../extensions/alternative-status-menu/extension.js:72
msgid "Log Out..."
msgstr "ログアウト..."
#: ../extensions/alternative-status-menu/extension.js:79
msgid "Suspend"
msgstr "サスペンド"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Hibernate"
msgstr "ハイバーネート"
#: ../extensions/alternative-status-menu/extension.js:91
msgid "Power Off..."
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 ""
"アプリケーションの識別子 (.desktop ファイル名) とコロンの後にワークスペース番"
"号を付与した文字列を要素とするリストです。"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "アプリケーションとワークスペースのリスト"
#: ../extensions/dock/extension.js:142
msgid "Drag here to add favorites"
msgstr "ここにドラッグしてお気に入りへ追加します"
#: ../extensions/dock/extension.js:462
msgid "New Window"
msgstr "新しいウィンドウで開く"
#: ../extensions/dock/extension.js:464
msgid "Quit Application"
msgstr "アプリケーションの終了"
#: ../extensions/dock/extension.js:469
msgid "Remove from Favorites"
msgstr "お気に入りから削除する"
#: ../extensions/dock/extension.js:470
msgid "Add to Favorites"
msgstr "お気に入りへ追加する"
#: ../extensions/dock/org.gnome.shell.extensions.dock.gschema.xml.in.h:1
msgid "Icon size"
msgstr "アイコンのサイズ"
#: ../extensions/dock/org.gnome.shell.extensions.dock.gschema.xml.in.h:2
msgid "Position of the dock"
msgstr "ドックの位置"
#: ../extensions/dock/org.gnome.shell.extensions.dock.gschema.xml.in.h:3
msgid "Sets icon size of the dock."
msgstr "ドックに表示するアイコンの大きさを指定します。"
#: ../extensions/dock/org.gnome.shell.extensions.dock.gschema.xml.in.h:4
msgid ""
"Sets the position of the dock in the screen. Allowed values are 'right' or "
"'left'"
msgstr ""
"ドックをデスクトップに表示する位置を指定します。指定可能な値: 'right'、'left'"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "\"Hello, world!\""
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%sさんは離席中です"
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%sさんはオフラインです"
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%sさんはオンラインです"
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%sさんは取り込み中です"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:1
msgid ""
"If true, place window captions on top the respective thumbnail, overriding "
"shell default of placing it at the bottom. Changing this setting requires "
"restarting the shell to have any effect."
msgstr ""
"TRUE にすると、ウィンドウのサムネイルの上端にそのウィンドウのタイトルバーを表"
"示します (これは、サムネイルの下端にタイトルバーを表示する GNOME シェルのデ"
"フォルト値よりも優先されます)。この設定を適用する際は GNOME シェルを再起動し"
"て下さい。"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:2
msgid "Place window captions on top"
msgstr "ウィンドウのタイトルバーを上端に表示するかどうか"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:3
msgid ""
"The algorithm used to layout thumbnails in the overview. 'grid' to use the "
"default grid based algorithm, 'natural' to use another one that reflects "
"more the position and size of the actual window"
msgstr ""
"オーバービュー・モードでウィンドウのサムネイルを配置する際のアルゴリズムで"
"す。指定可能な値: 'grid' (原則的に格子状に配置していくアルゴリズ"
"ム)、'natural' (ウィンドウの実際の位置や大きさを考慮して配置していくアルゴリ"
"ズム)"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:4
msgid ""
"Try to use more screen for placing window thumbnails by adapting to screen "
"aspect ratio, and consolidating them further to reduce the bounding box. "
"This setting applies only with the natural placement strategy."
msgstr ""
"ウィンドウのサムネイルを複数配置する際に、画面のアスペクト比に合わせて、境界"
"部分を減らすことにより、ウィンドウを統合しすることで、さらにたくさんの画面を"
"使用できるようにするかどうかです。この設定は 'natural' の配置アルゴリズムを採"
"用している場合にのみ適用されます。"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:5
msgid "Use more screen for windows"
msgstr "ウィンドウにたくさんの画面を使うかどうか"
#: ../extensions/native-window-placement/org.gnome.shell.extensions.native-window-placement.gschema.xml.in.h:6
msgid "Window placement strategy"
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/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 "ディスプレイの設定..."

147
po/lv.po Normal file
View File

@@ -0,0 +1,147 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Rūdofls Mazurs <rudolfs.mazurs@gmail.com>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: \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-04-18 14:10+0000\n"
"PO-Revision-Date: 2011-04-20 12:42+0300\n"
"Last-Translator: Rūdofls Mazurs <rudolfs.mazurs@gmail.com>\n"
"Language-Team: Latvian <lata-l10n@googlegroups.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Lokalize 1.1\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
"2);\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Iemidzināt"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Iesnaudināt"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Pieejams"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Aizņemts"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Mans konts"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Sistēmas iestatījumi"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Bloķēt ekrānu"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Mainīt lietotāju"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Izrakstīties..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Izslēgt..."
#: ../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 ""
"Saraksts ar virknēm, kas katra satur lietotnes id (darbvirsmas faila "
"nosaukums), kam seko kols un darbvietas numurs"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Lietotņu un darbvietu saraksts"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Velciet šeit, lai pievienotu izlasei"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Jauns logs"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Iziet no lietotnes"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Izņemt no izlases"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Pievienot izlasei"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Sveika pasaule!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s\" ir prom."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s ir nesaistē."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s ir tiešsaistē."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s\" ir aizņemts."
#: ../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ēmas nosaukums, ko ielādēt no ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Tēmas nosaukums"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normāls"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Pa kreisi"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Pa labi"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Otrādi"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Konfigurēt displeja iestatījumus..."

144
po/nb.po Normal file
View File

@@ -0,0 +1,144 @@
# Norwegian bokmål translation of gnome-shell-extensions.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Kjartan Maraas <kmaraas@gnome.org>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-04-16 18:30+0200\n"
"PO-Revision-Date: 2011-04-16 18:31+0200\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian bokmål <i18n-nb@lister.ping.uio.no>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Dvalemodus"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Hvilemodus"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Tilgjengelig"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Opptatt"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Min konto"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Systeminnstillinger"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Lås skjem"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Bytt bruker"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Logg ut …"
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Slå av …"
#: ../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 liste med strenger som inneholder en ID for et program (navn på .desktop-"
"fil), fulgt av et kolon og arbeidsområdenummeret"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Liste med programmer og arbeidsområder"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Dra hit for å legge til favoritter"
#: ../extensions/dock/extension.js:417
msgid "New Window"
msgstr "Nytt vindu"
#: ../extensions/dock/extension.js:419
msgid "Quit Application"
msgstr "Avslutt programmet"
#: ../extensions/dock/extension.js:424
msgid "Remove from Favorites"
msgstr "Fjern fra favoritter"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Legg til i favoritter"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hallo verden!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s er borte."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s er frakoblet."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s er tilkoblet."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s er opptatt."
#: ../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 "Navn på tema som skal lastes fra ~/.themes/name/gnome-shell"
#: ../extensions/user-theme/org.gnome.shell.extensions.user-theme.gschema.xml.in.h:2
msgid "Theme name"
msgstr "Navn på tema"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normal"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Venstre"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Høyre"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Opp-ned"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Konfigurer innstillinger for skjerm …"

149
po/pa.po Normal file
View File

@@ -0,0 +1,149 @@
# Punjabi 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.
#
# A S Alam <aalam@users.sf.net>, 2011.
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions gnome-3-0\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-05-21 14:17+0000\n"
"PO-Revision-Date: 2011-06-03 08:18+0530\n"
"Last-Translator: A S Alam <aalam@users.sf.net>\n"
"Language-Team: Punjabi/Panjabi <punjabi-users@lists.sf.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: pa\n"
"X-Generator: Lokalize 1.2\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "ਹਾਈਬਰਨੇਟ"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "ਸਸਪੈਂਡ"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "ਉਪਲੱਬਧ"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "ਰੁਝਿਆ"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "ਮੇਰਾ ਅਕਾਊਂਟ"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "ਸਿਸਟਮ ਸੈਟਿੰਗ"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "ਸਕਰੀਨ ਲਾਕ ਕਰੋ"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "ਯੂਜ਼ਰ ਬਦਲੋ"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "ਲਾਗਆਉਟ..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
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 ""
"ਲਾਈਨਾਂ ਦੀ ਲਿਸਟ, ਜੋ ਕਿ ਐਪਲੀਕੇਸ਼ਨ ID (ਡੈਸਕਟਾਪ ਫਾਇਲ ਨਾਂ), ਬਾਅਦ 'ਚ ਕਾਲਮ ਅਤੇ "
"ਵਰਕਸਪੇਸ "
"ਨੰਬਰ ਰੱਖਦਾ ਹੈ"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
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 "ਪਸੰਦ 'ਚ ਸ਼ਾਮਲ ਕਰੋ"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "ਹੈਲੋ, ਵਰਲਡ!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s ਦੂਰ ਹੈ।"
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s ਆਫਲਾਈਨ ਹੈ।"
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s ਆਨਲਾਈਨ ਹੈ।"
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s ਰੁੱਝਿਆ/ਰੁੱਝੀ ਹੈ।"
#: ../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/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 "ਡਿਸਪਲੇਅ ਸੈਟਿੰਗ ਸੰਰਚਨਾ..."

127
po/pl.po
View File

@@ -7,12 +7,12 @@
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"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-04-19 09:14+0200\n"
"PO-Revision-Date: 2011-04-19 09:16+0200\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <gnomepl@aviary.pl>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -21,50 +21,61 @@ msgstr ""
"X-Poedit-Language: Polish\n"
"X-Poedit-Country: Poland\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Witaj, świecie!"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Hibernuj"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Normalnie"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Uśpij"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "W lewo"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Dostępny"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "W prawo"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Zajęty"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Odbicie poziomo"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Moje konto"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Skonfiguruj ustawienia ekranu..."
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Ustawienia systemu"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Zablokuj ekran"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Przełącz użytkownika"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Wyloguj się..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Wyłącz komputer..."
#: ../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"
"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"
@@ -84,3 +95,55 @@ msgstr "Usuń z ulubionych"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Dodaj do ulubionych"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Witaj, świecie!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "Użytkownik %s jest nieobecny."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "Użytkownik %s jest w trybie offline."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "Użytkownik %s jest w trybie online."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "Użytkownik %s jest zajęty."
#: ../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/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..."

View File

@@ -3,36 +3,80 @@
# This file is distributed under the same license as the gnome-shell-extensions package.
# Felipe Borges <felipe10borges@gmail.com>, 2011.
# Rodrigo Padula <contato@rodrigopadula.com>, 2011.
# Rodolfo Ribeiro Gomes <rodolforg@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-04-04 17:57+0000\n"
"PO-Revision-Date: 2011-04-05 02:39-0300\n"
"Last-Translator: Rodrigo Padula de Oliveira <contato@rodrigopadula.com>\n"
"POT-Creation-Date: 2011-04-20 19:47+0000\n"
"PO-Revision-Date: 2011-04-21 11:11-0300\n"
"Last-Translator: Rodolfo Ribeiro Gomes <rodolforg@gmail.com>\n"
"Language-Team: Brazilian Portuguese <gnome-pt_br-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/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Hibernar"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Supender"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Disponível"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Ocupado"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Minha conta"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Configurações de sistema"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Bloquear tela"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Trocar de usuário"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Encerrar sessão..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Desligar..."
#: ../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 ""
"Uma lista de strings, cada uma contendo um id do aplicativo (nome de arquivo "
"desktop), seguido por dois pontos e o número da área de trabalho"
"desktop), seguido por dois pontos e o número do espaço de trabalho"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
msgstr "Aplicativo e lista de área de trabalho"
msgstr "Lista de aplicativo e espaço de trabalho"
#: ../extensions/dock/extension.js:116
msgid "Drag here to add favorites"
msgstr "Arraste aqui para adicionar favoritos"
msgstr "Arraste aqui para adicionar aos favoritos"
#: ../extensions/dock/extension.js:417
msgid "New Window"
@@ -100,4 +144,4 @@ msgstr "De cabeça pra baixo"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Definir configurações de exibição..."
msgstr "Alterar configurações de exibição..."

141
po/ru.po Normal file
View File

@@ -0,0 +1,141 @@
# Russian 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.
# Yuri Myasoedov <omerta13@yandex.ru>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: gnome-shell-extensions gnome-3-0\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-06-04 07:00+0000\n"
"PO-Revision-Date: 2011-06-05 14:59+0300\n"
"Last-Translator: Yuri Myasoedov <omerta13@yandex.ru>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\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%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Спящий режим"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Ждущий режим"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Доступен"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Занят"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Моя учётная запись"
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Системные параметры"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Заблокировать экран"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Переключить пользователя"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Выйти…"
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
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 "Список строк, содержащих id приложения (имя desktop-файла), далее следует двоеточие и номер рабочего места"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:2
msgid "Application and workspace list"
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 "Добавить в избранное"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Привет, мир!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s отошёл."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s не в сети."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s в сети."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s занят."
#: ../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/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 "На 180 градусов"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Настроить параметры экрана…"

120
po/sl.po
View File

@@ -7,10 +7,11 @@ 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"
"POT-Creation-Date: 2011-04-16 16:32+0000\n"
"PO-Revision-Date: 2011-04-16 21:08+0100\n"
"Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n"
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -19,29 +20,48 @@ msgstr ""
"X-Poedit-Country: SLOVENIA\n"
"X-Poedit-SourceCharset: utf-8\n"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Pozdravljen, svet!"
#: ../extensions/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "V mirovanje"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Običajno"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "V pripravljenost"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Levo"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Na voljo"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Desno"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Zasedeno"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Zgornja stran navzdol"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Račun"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Nastavitve zaslona ..."
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Sistemske nastavitve"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Zakleni zaslon"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Preklopi uporabnika"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Odjava ..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Izklopi ..."
#: ../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"
@@ -51,14 +71,6 @@ msgstr "Seznam nizov z določilom ID programa (namizno ime programa), ki mu sled
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"
@@ -79,3 +91,55 @@ msgstr "Odstrani iz priljubljenih"
msgid "Add to Favorites"
msgstr "Dodaj med priljubljene"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Pozdravljen, svet!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s ni prisoten."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s ni povezan."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s je na zvezi."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s je zaseden."
#: ../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/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 "Zgoraj-navzdol"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Nastavitve zaslona ..."

View File

@@ -7,8 +7,8 @@ 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"
"POT-Creation-Date: 2011-04-08 21:01+0200\n"
"PO-Revision-Date: 2011-04-08 21:02+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: \n"
@@ -16,30 +16,6 @@ msgstr ""
"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"
@@ -48,14 +24,6 @@ msgstr "En lista över strängar, var och en innehållande ett program-id (skriv
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"
@@ -76,3 +44,55 @@ msgstr "Ta bort från favoriter"
msgid "Add to Favorites"
msgstr "Lägg till i favoriter"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Hej, världen!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s är borta."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s är frånkopplad."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s är ansluten."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s är upptagen."
#: ../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/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.."

124
po/vi.po
View File

@@ -6,40 +6,58 @@
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"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-shell&keywords=I18N+L10N&component=extensions\n"
"POT-Creation-Date: 2011-04-01 16:40+0000\n"
"PO-Revision-Date: 2011-04-18 21:07+0700\n"
"Last-Translator: Lê Trường An <xinemdungkhoc1@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/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "Ngủ đông"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Chuẩn"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "Ngừng"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr "Trái"
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "Có mặt"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr "Phải"
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "Bận"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "Trên xuống"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "Tài khoản của tôi"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "Cấu hình thiết lập hiển thị..."
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "Thiết lập hệ thống"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "Khoá màn hình"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "Đổi người dùng"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "Đăng xuất..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "Tắt máy..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
@@ -53,14 +71,6 @@ msgstr ""
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"
@@ -80,3 +90,55 @@ msgstr "Hết ưa thích"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "Đánh dấu ưa thích"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "Xin chào!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s không có mặt."
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s đang ngoại tuyến."
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s đang trực tuyến."
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s đang bận."
#: ../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 chủ đề, 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 chủ đề"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "Bình thường"
#: ../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ị..."

View File

@@ -8,37 +8,56 @@ 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"
"POT-Creation-Date: 2011-04-19 07:16+0000\n"
"PO-Revision-Date: 2011-04-20 20:49+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/alternative-status-menu/extension.js:23
#: ../extensions/alternative-status-menu/extension.js:27
#: ../extensions/alternative-status-menu/extension.js:93
msgid "Hibernate"
msgstr "休眠"
#: ../extensions/xrandr-indicator/extension.js:26
msgid "Normal"
msgstr "正常"
#: ../extensions/alternative-status-menu/extension.js:26
#: ../extensions/alternative-status-menu/extension.js:92
msgid "Suspend"
msgstr "挂起"
#: ../extensions/xrandr-indicator/extension.js:27
msgid "Left"
msgstr ""
#: ../extensions/alternative-status-menu/extension.js:52
msgid "Available"
msgstr "可用"
#: ../extensions/xrandr-indicator/extension.js:28
msgid "Right"
msgstr ""
#: ../extensions/alternative-status-menu/extension.js:57
msgid "Busy"
msgstr "忙碌"
#: ../extensions/xrandr-indicator/extension.js:29
msgid "Upside-down"
msgstr "上下翻转"
#: ../extensions/alternative-status-menu/extension.js:65
msgid "My Account"
msgstr "我的账户"
#: ../extensions/xrandr-indicator/extension.js:78
msgid "Configure display settings..."
msgstr "配置显示设置..."
#: ../extensions/alternative-status-menu/extension.js:69
msgid "System Settings"
msgstr "系统设置"
#: ../extensions/alternative-status-menu/extension.js:76
msgid "Lock Screen"
msgstr "锁定屏幕"
#: ../extensions/alternative-status-menu/extension.js:80
msgid "Switch User"
msgstr "切换用户"
#: ../extensions/alternative-status-menu/extension.js:85
msgid "Log Out..."
msgstr "注销..."
#: ../extensions/alternative-status-menu/extension.js:100
msgid "Power Off..."
msgstr "关机..."
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
@@ -51,14 +70,6 @@ msgstr ""
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 "拖放到这里以添加收藏"
@@ -78,3 +89,55 @@ msgstr "移除收藏"
#: ../extensions/dock/extension.js:425
msgid "Add to Favorites"
msgstr "添加收藏"
#: ../extensions/example/extension.js:11
msgid "Hello, world!"
msgstr "世界,你好!"
#: ../extensions/gajim/extension.js:219
#, c-format
msgid "%s is away."
msgstr "%s 不在。"
#: ../extensions/gajim/extension.js:222
#, c-format
msgid "%s is offline."
msgstr "%s 已离线。"
#: ../extensions/gajim/extension.js:225
#, c-format
msgid "%s is online."
msgstr "%s 在线。"
#: ../extensions/gajim/extension.js:228
#, c-format
msgid "%s is busy."
msgstr "%s 正忙。"
#: ../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/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 "配置显示设置..."