Merge lp:~noskcaj/ubuntu/saucy/xfce4-power-manager/systemd into lp:ubuntu/saucy/xfce4-power-manager
- Saucy (13.10)
- systemd
- Merge into saucy
Proposed by
Jackson Doak
Status: | Needs review |
---|---|
Proposed branch: | lp:~noskcaj/ubuntu/saucy/xfce4-power-manager/systemd |
Merge into: | lp:ubuntu/saucy/xfce4-power-manager |
Diff against target: |
13764 lines (+2097/-11300) 34 files modified
.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/po/POTFILES.in (+0/-19) .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/Makefile.am (+0/-211) .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.c (+0/-1078) .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.h (+0/-71) .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-backlight.c (+0/-478) .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-notify.c (+0/-409) .pc/02_translations-fix-invalid-format-strings.patch/po/en_GB.po (+0/-1083) .pc/02_translations-fix-invalid-format-strings.patch/po/te.po (+0/-1061) .pc/02_translations-fix-invalid-format-strings.patch/po/tr.po (+0/-1486) .pc/03_fix-insert-battery.patch/src/xfpm-battery.c (+0/-916) .pc/03_fix-insert-battery.patch/src/xfpm-power.c (+0/-1755) .pc/06_fix-suspend-auth-check.patch/src/xfpm-power.c (+0/-1756) .pc/08_show_preferences_lxde.patch/settings/xfce4-power-manager-settings.desktop.in (+0/-14) .pc/applied-patches (+0/-6) .pc/xubuntu_fix-status-icon-other-devices.patch/src/xfpm-battery.c (+0/-918) debian/changelog (+7/-0) debian/control (+1/-1) debian/patches/05_dont-allow-systemd-to-handle-suspend-hibernate-events.patch (+126/-0) debian/patches/06_add-shutdown-reboot-functionality-for-systemd.patch (+635/-0) debian/patches/06_fix-suspend-auth-check.patch (+7/-5) debian/patches/series (+2/-0) debian/rules (+4/-1) po/POTFILES.in (+0/-1) po/en_GB.po (+4/-2) po/te.po (+20/-0) po/tr.po (+20/-0) settings/xfce4-power-manager-settings.desktop.in (+1/-1) src/Makefile.am (+3/-1) src/gsd-media-keys-window.c (+1078/-0) src/gsd-media-keys-window.h (+71/-0) src/xfpm-backlight.c (+113/-19) src/xfpm-battery.c (+3/-5) src/xfpm-notify.c (+1/-1) src/xfpm-power.c (+1/-2) |
To merge this branch: | bzr merge lp:~noskcaj/ubuntu/saucy/xfce4-power-manager/systemd |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Micah Gersten (community) | Disapprove | ||
Review via email: mp+202578@code.launchpad.net |
Commit message
Description of the change
SRU fixes from trusty to saucy
To post a comment you must log in.
Unmerged revisions
- 37. By Jackson Doak
-
Run dh-autoreconf to continue to allow arm64 to build
- 36. By Jackson Doak
-
Add the patches
- 35. By Jackson Doak
-
Add patches from debian svn branch to fix systemd. LP: #1222021
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed directory '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch' | |||
2 | === removed directory '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/po' | |||
3 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/po/POTFILES.in' | |||
4 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/po/POTFILES.in 2013-05-22 00:46:08 +0000 | |||
5 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/po/POTFILES.in 1970-01-01 00:00:00 +0000 | |||
6 | @@ -1,19 +0,0 @@ | |||
7 | 1 | [encoding: UTF-8] | ||
8 | 2 | [type: gettext/glade]data/interfaces/xfpm-settings.ui | ||
9 | 3 | settings/xfpm-settings.c | ||
10 | 4 | settings/xfpm-settings-main.c | ||
11 | 5 | settings/xfce4-power-manager-settings.desktop.in | ||
12 | 6 | common/xfpm-common.c | ||
13 | 7 | src/xfpm-power.c | ||
14 | 8 | src/xfpm-power-common.c | ||
15 | 9 | src/xfpm-battery.c | ||
16 | 10 | src/xfpm-battery.c | ||
17 | 11 | src/xfpm-main.c | ||
18 | 12 | src/xfpm-network-manager.c | ||
19 | 13 | src/xfpm-dpms.c | ||
20 | 14 | src/xfpm-inhibit.c | ||
21 | 15 | src/xfpm-power-info.c | ||
22 | 16 | src/xfce4-power-manager.desktop.in | ||
23 | 17 | src/org.xfce.power.policy.in2 | ||
24 | 18 | panel-plugins/brightness/brightness-button.c | ||
25 | 19 | panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in | ||
26 | 20 | 0 | ||
27 | === removed directory '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src' | |||
28 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/Makefile.am' | |||
29 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/Makefile.am 2013-05-22 00:46:08 +0000 | |||
30 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/Makefile.am 1970-01-01 00:00:00 +0000 | |||
31 | @@ -1,211 +0,0 @@ | |||
32 | 1 | bin_PROGRAMS = xfce4-power-manager \ | ||
33 | 2 | xfce4-power-information | ||
34 | 3 | |||
35 | 4 | xfce4_power_manager_SOURCES = \ | ||
36 | 5 | $(BUILT_SOURCES) \ | ||
37 | 6 | xfpm-enum.h \ | ||
38 | 7 | xfpm-enum-glib.h \ | ||
39 | 8 | xfpm-main.c \ | ||
40 | 9 | xfpm-manager.c \ | ||
41 | 10 | xfpm-manager.h \ | ||
42 | 11 | xfpm-power.c \ | ||
43 | 12 | xfpm-power.h \ | ||
44 | 13 | xfpm-power-common.c \ | ||
45 | 14 | xfpm-power-common.h \ | ||
46 | 15 | xfpm-battery.c \ | ||
47 | 16 | xfpm-battery.h \ | ||
48 | 17 | xfpm-xfconf.c \ | ||
49 | 18 | xfpm-xfconf.h \ | ||
50 | 19 | xfpm-disks.c \ | ||
51 | 20 | xfpm-disks.h \ | ||
52 | 21 | xfpm-console-kit.c \ | ||
53 | 22 | xfpm-console-kit.h \ | ||
54 | 23 | egg-idletime.c \ | ||
55 | 24 | egg-idletime.h \ | ||
56 | 25 | xfpm-backlight.c \ | ||
57 | 26 | xfpm-backlight.h \ | ||
58 | 27 | xfpm-dpms.c \ | ||
59 | 28 | xfpm-dpms.h \ | ||
60 | 29 | xfpm-button.c \ | ||
61 | 30 | xfpm-button.h \ | ||
62 | 31 | xfpm-network-manager.c \ | ||
63 | 32 | xfpm-network-manager.h \ | ||
64 | 33 | xfpm-inhibit.c \ | ||
65 | 34 | xfpm-inhibit.h \ | ||
66 | 35 | xfpm-notify.c \ | ||
67 | 36 | xfpm-notify.h \ | ||
68 | 37 | xfpm-polkit.c \ | ||
69 | 38 | xfpm-polkit.h \ | ||
70 | 39 | xfpm-errors.c \ | ||
71 | 40 | xfpm-errors.h \ | ||
72 | 41 | gsd-media-keys-window.c \ | ||
73 | 42 | gsd-media-keys-window.h | ||
74 | 43 | |||
75 | 44 | xfce4_power_manager_CFLAGS = \ | ||
76 | 45 | -I$(top_srcdir) \ | ||
77 | 46 | -I$(top_srcdir)/common \ | ||
78 | 47 | -I$(top_srcdir)/libdbus \ | ||
79 | 48 | -DLOCALEDIR=\"$(localedir)\" \ | ||
80 | 49 | -DG_LOG_DOMAIN=\"xfce4-power-manager\" \ | ||
81 | 50 | -DSYSCONFDIR=\"$(sysconfdir)\" \ | ||
82 | 51 | $(GOBJECT_CFLAGS) \ | ||
83 | 52 | $(GTHREAD_CFLAGS) \ | ||
84 | 53 | $(DBUS_GLIB_CFLAGS) \ | ||
85 | 54 | $(LIBXFCE4UI_CFLAGS) \ | ||
86 | 55 | $(XFCONF_CFLAGS) \ | ||
87 | 56 | $(LIBNOTIFY_CFLAGS) \ | ||
88 | 57 | $(XRANDR_CFLAGS) \ | ||
89 | 58 | $(DPMS_CFLAGS) \ | ||
90 | 59 | $(PLATFORM_CPPFLAGS) \ | ||
91 | 60 | $(PLATFORM_CFLAGS) | ||
92 | 61 | |||
93 | 62 | xfce4_power_manager_LDFLAGS = \ | ||
94 | 63 | -no-undefined \ | ||
95 | 64 | $(PLATFORM_LDFLAGS) | ||
96 | 65 | |||
97 | 66 | xfce4_power_manager_LDADD = \ | ||
98 | 67 | $(top_builddir)/common/libxfpmcommon.la \ | ||
99 | 68 | $(top_builddir)/libdbus/libxfpmdbus.la \ | ||
100 | 69 | $(GOBJECT_LIBS) \ | ||
101 | 70 | $(GTHREAD_LIBS) \ | ||
102 | 71 | $(DBUS_GLIB_LIBS) \ | ||
103 | 72 | $(LIBXFCE4UI_LIBS) \ | ||
104 | 73 | $(XFCONF_LIBS) \ | ||
105 | 74 | $(LIBNOTIFY_LIBS) \ | ||
106 | 75 | $(XRANDR_LIBS) \ | ||
107 | 76 | $(DPMS_LIBS) | ||
108 | 77 | |||
109 | 78 | xfce4_power_information_SOURCES = \ | ||
110 | 79 | xfpm-power-info.c \ | ||
111 | 80 | xfpm-power-common.c \ | ||
112 | 81 | xfpm-power-common.h | ||
113 | 82 | |||
114 | 83 | xfce4_power_information_CFLAGS = \ | ||
115 | 84 | -I$(top_srcdir) \ | ||
116 | 85 | -I$(top_srcdir)/common \ | ||
117 | 86 | -I$(top_srcdir)/libdbus \ | ||
118 | 87 | -DLOCALEDIR=\"$(localedir)\" \ | ||
119 | 88 | -DG_LOG_DOMAIN=\"xfce4-power-information\"\ | ||
120 | 89 | $(GOBJECT_CFLAGS) \ | ||
121 | 90 | $(DBUS_GLIB_CFLAGS) \ | ||
122 | 91 | $(LIBXFCE4UI_CFLAGS) \ | ||
123 | 92 | $(PLATFORM_CPPFLAGS) \ | ||
124 | 93 | $(PLATFORM_CFLAGS) | ||
125 | 94 | |||
126 | 95 | xfce4_power_information_LDFLAGS = \ | ||
127 | 96 | -no-undefined \ | ||
128 | 97 | $(PLATFORM_LDFLAGS) | ||
129 | 98 | |||
130 | 99 | xfce4_power_information_LDADD = \ | ||
131 | 100 | $(GOBJECT_LIBS) \ | ||
132 | 101 | $(DBUS_GLIB_LIBS) \ | ||
133 | 102 | $(LIBXFCE4UI_LIBS) \ | ||
134 | 103 | $(top_builddir)/libdbus/libxfpmdbus.la | ||
135 | 104 | |||
136 | 105 | if ENABLE_POLKIT | ||
137 | 106 | |||
138 | 107 | sbin_PROGRAMS = xfpm-power-backlight-helper | ||
139 | 108 | |||
140 | 109 | xfpm_power_backlight_helper_SOURCES = \ | ||
141 | 110 | xfpm-backlight-helper.c | ||
142 | 111 | |||
143 | 112 | xfpm_power_backlight_helper_LDADD = \ | ||
144 | 113 | $(GLIB_LIBS) \ | ||
145 | 114 | -lm | ||
146 | 115 | |||
147 | 116 | xfpm_power_backlight_helper_CFLAGS = \ | ||
148 | 117 | $(GLIB_CFLAGS) \ | ||
149 | 118 | $(PLATFORM_CPPFLAGS) \ | ||
150 | 119 | $(PLATFORM_CFLAGS) | ||
151 | 120 | |||
152 | 121 | polkit_policydir = $(datadir)/polkit-1/actions | ||
153 | 122 | polkit_policy_DATA = \ | ||
154 | 123 | org.xfce.power.policy | ||
155 | 124 | |||
156 | 125 | # You will need a recent intltool or the patch from this bug | ||
157 | 126 | # http://bugzilla.gnome.org/show_bug.cgi?id=462312 | ||
158 | 127 | @INTLTOOL_POLICY_RULE@ | ||
159 | 128 | |||
160 | 129 | .in2.in: | ||
161 | 130 | sed "s|[@]sbindir@|${sbindir}|" $< > $@ | ||
162 | 131 | |||
163 | 132 | endif | ||
164 | 133 | |||
165 | 134 | manpagedir = $(mandir)/man1 | ||
166 | 135 | |||
167 | 136 | manpage_DATA = xfce4-power-manager.1 | ||
168 | 137 | |||
169 | 138 | xfpm_glib_headers = \ | ||
170 | 139 | $(srcdir)/xfpm-enum-glib.h | ||
171 | 140 | |||
172 | 141 | BUILT_SOURCES = \ | ||
173 | 142 | xfce-power-manager-dbus-server.h \ | ||
174 | 143 | xfce-power-manager-dbus-client.h \ | ||
175 | 144 | xfpm-enum-types.c \ | ||
176 | 145 | xfpm-enum-types.h \ | ||
177 | 146 | xfpm-marshal.c \ | ||
178 | 147 | xfpm-marshal.h \ | ||
179 | 148 | org.freedesktop.PowerManagement.h \ | ||
180 | 149 | org.freedesktop.PowerManagement.Inhibit.h | ||
181 | 150 | |||
182 | 151 | if MAINTAINER_MODE | ||
183 | 152 | |||
184 | 153 | xfpm-enum-types.h: $(xfpm_glib_headers) | ||
185 | 154 | ( cd $(srcdir) && glib-mkenums \ | ||
186 | 155 | --fhead "#ifndef _XFPM_ENUM_TYPES_H\n#define _XFPM_ENUM_TYPES_H\n#include <glib-object.h>\nG_BEGIN_DECLS\n" \ | ||
187 | 156 | --fprod "/* enumerations from \"@filename@\" */\n" \ | ||
188 | 157 | --vhead "GType @enum_name@_get_type (void);\n#define XFPM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \ | ||
189 | 158 | --ftail "G_END_DECLS\n\n#endif /* _XFPM_ENUM_TYPES_H__ */" \ | ||
190 | 159 | $(xfpm_glib_headers) ) >> xgen \ | ||
191 | 160 | && (cmp -s xgen xfpm-enum-types.h || cp xgen xfpm-enum-types.h ) \ | ||
192 | 161 | && rm -f xgen xgen~ | ||
193 | 162 | |||
194 | 163 | xfpm-enum-types.c: xfpm-enum-types.h | ||
195 | 164 | ( cd $(srcdir) && glib-mkenums \ | ||
196 | 165 | --fhead "#include <xfpm-enum-types.h>\n" \ | ||
197 | 166 | --fhead "#include \"xfpm-enum-glib.h\"\n\n" \ | ||
198 | 167 | --fprod "\n/* enumerations from \"@filename@\" */\n" \ | ||
199 | 168 | --vhead "GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {"\ | ||
200 | 169 | --vprod "\t{ @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ | ||
201 | 170 | --vtail "\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static (\"@EnumName@\", values);\n }\n\treturn type;\n}\n" \ | ||
202 | 171 | $(xfpm_glib_headers) ) > xgen \ | ||
203 | 172 | && cp xgen xfpm-enum-types.c \ | ||
204 | 173 | && rm -f xgen xgen~ | ||
205 | 174 | |||
206 | 175 | xfpm-marshal.c: xfpm-marshal.list | ||
207 | 176 | echo "#include \"xfpm-marshal.h\"" > $@ && \ | ||
208 | 177 | glib-genmarshal $< --prefix=_xfpm_marshal --body >> $@ | ||
209 | 178 | |||
210 | 179 | xfpm-marshal.h: xfpm-marshal.list | ||
211 | 180 | glib-genmarshal $< --prefix=_xfpm_marshal --header > $@ | ||
212 | 181 | |||
213 | 182 | xfce-power-manager-dbus-server.h: $(srcdir)/org.xfce.Power.Manager.xml | ||
214 | 183 | dbus-binding-tool --mode=glib-server --prefix=xfpm_manager $< >$@ | ||
215 | 184 | |||
216 | 185 | xfce-power-manager-dbus-client.h: $(srcdir)/org.xfce.Power.Manager.xml | ||
217 | 186 | dbus-binding-tool --mode=glib-client --prefix=xfpm_manager $< >$@ | ||
218 | 187 | |||
219 | 188 | org.freedesktop.PowerManagement.h: $(srcdir)/org.freedesktop.PowerManagement.xml | ||
220 | 189 | dbus-binding-tool --mode=glib-server --prefix=xfpm_power $< >$@ | ||
221 | 190 | |||
222 | 191 | org.freedesktop.PowerManagement.Inhibit.h: $(srcdir)/org.freedesktop.PowerManagement.Inhibit.xml | ||
223 | 192 | dbus-binding-tool --mode=glib-server --prefix=xfpm_inhibit $< >$@ | ||
224 | 193 | |||
225 | 194 | endif | ||
226 | 195 | |||
227 | 196 | @INTLTOOL_DESKTOP_RULE@ | ||
228 | 197 | autostartdir = $(sysconfdir)/xdg/autostart | ||
229 | 198 | autostart_in_files = xfce4-power-manager.desktop.in | ||
230 | 199 | autostart_DATA = $(autostart_in_files:.desktop.in=.desktop) | ||
231 | 200 | |||
232 | 201 | EXTRA_DIST = \ | ||
233 | 202 | xfpm-marshal.list \ | ||
234 | 203 | $(autostart_in_files) \ | ||
235 | 204 | org.xfce.power.policy.in2 \ | ||
236 | 205 | $(manpage_DATA) | ||
237 | 206 | |||
238 | 207 | DISTCLEANFILES = \ | ||
239 | 208 | $(BUILT_SOURCES) \ | ||
240 | 209 | xfce4-power-manager.desktop \ | ||
241 | 210 | org.xfce.power.policy \ | ||
242 | 211 | org.xfce.power.policy.in | ||
243 | 212 | 0 | ||
244 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.c' | |||
245 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.c 2013-05-22 00:46:08 +0000 | |||
246 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.c 1970-01-01 00:00:00 +0000 | |||
247 | @@ -1,1078 +0,0 @@ | |||
248 | 1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- | ||
249 | 2 | * | ||
250 | 3 | * Copyright (C) 2006-2007 William Jon McCann <mccann@jhu.edu> | ||
251 | 4 | * | ||
252 | 5 | * This program is free software; you can redistribute it and/or modify | ||
253 | 6 | * it under the terms of the GNU General Public License as published by | ||
254 | 7 | * the Free Software Foundation; either version 2 of the License, or | ||
255 | 8 | * (at your option) any later version. | ||
256 | 9 | * | ||
257 | 10 | * This program is distributed in the hope that it will be useful, | ||
258 | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
259 | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
260 | 13 | * GNU General Public License for more details. | ||
261 | 14 | * | ||
262 | 15 | * You should have received a copy of the GNU General Public License | ||
263 | 16 | * along with this program; if not, write to the Free Software | ||
264 | 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
265 | 18 | * | ||
266 | 19 | */ | ||
267 | 20 | |||
268 | 21 | #include "config.h" | ||
269 | 22 | |||
270 | 23 | #include <stdlib.h> | ||
271 | 24 | #include <string.h> | ||
272 | 25 | #include <math.h> | ||
273 | 26 | #include <glib.h> | ||
274 | 27 | #include <glib/gi18n.h> | ||
275 | 28 | #include <gtk/gtk.h> | ||
276 | 29 | |||
277 | 30 | #include "gsd-media-keys-window.h" | ||
278 | 31 | |||
279 | 32 | #include "data/interfaces/acme_ui.h" | ||
280 | 33 | |||
281 | 34 | #define DIALOG_TIMEOUT 2000 /* dialog timeout in ms */ | ||
282 | 35 | #define DIALOG_FADE_TIMEOUT 1500 /* timeout before fade starts */ | ||
283 | 36 | #define FADE_TIMEOUT 10 /* timeout in ms between each frame of the fade */ | ||
284 | 37 | |||
285 | 38 | #define BG_ALPHA 0.75 | ||
286 | 39 | #define FG_ALPHA 1.00 | ||
287 | 40 | |||
288 | 41 | #define GSD_MEDIA_KEYS_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_MEDIA_KEYS_WINDOW, GsdMediaKeysWindowPrivate)) | ||
289 | 42 | |||
290 | 43 | struct GsdMediaKeysWindowPrivate | ||
291 | 44 | { | ||
292 | 45 | guint is_composited : 1; | ||
293 | 46 | guint hide_timeout_id; | ||
294 | 47 | guint fade_timeout_id; | ||
295 | 48 | double fade_out_alpha; | ||
296 | 49 | GsdMediaKeysWindowAction action; | ||
297 | 50 | char *icon_name; | ||
298 | 51 | gboolean show_level; | ||
299 | 52 | |||
300 | 53 | guint volume_muted : 1; | ||
301 | 54 | int volume_level; | ||
302 | 55 | |||
303 | 56 | GtkImage *image; | ||
304 | 57 | GtkWidget *progress; | ||
305 | 58 | }; | ||
306 | 59 | |||
307 | 60 | G_DEFINE_TYPE (GsdMediaKeysWindow, gsd_media_keys_window, GTK_TYPE_WINDOW) | ||
308 | 61 | |||
309 | 62 | static gboolean | ||
310 | 63 | fade_timeout (GsdMediaKeysWindow *window) | ||
311 | 64 | { | ||
312 | 65 | if (window->priv->fade_out_alpha <= 0.0) { | ||
313 | 66 | gtk_widget_hide (GTK_WIDGET (window)); | ||
314 | 67 | |||
315 | 68 | /* Reset it for the next time */ | ||
316 | 69 | window->priv->fade_out_alpha = 1.0; | ||
317 | 70 | window->priv->fade_timeout_id = 0; | ||
318 | 71 | |||
319 | 72 | return FALSE; | ||
320 | 73 | } else { | ||
321 | 74 | GdkRectangle rect; | ||
322 | 75 | GtkWidget *win = GTK_WIDGET (window); | ||
323 | 76 | GtkAllocation allocation; | ||
324 | 77 | |||
325 | 78 | window->priv->fade_out_alpha -= 0.10; | ||
326 | 79 | |||
327 | 80 | rect.x = 0; | ||
328 | 81 | rect.y = 0; | ||
329 | 82 | gtk_widget_get_allocation (win, &allocation); | ||
330 | 83 | rect.width = allocation.width; | ||
331 | 84 | rect.height = allocation.height; | ||
332 | 85 | |||
333 | 86 | gtk_widget_realize (win); | ||
334 | 87 | gdk_window_invalidate_rect (gtk_widget_get_window (win), &rect, FALSE); | ||
335 | 88 | } | ||
336 | 89 | |||
337 | 90 | return TRUE; | ||
338 | 91 | } | ||
339 | 92 | |||
340 | 93 | static gboolean | ||
341 | 94 | hide_timeout (GsdMediaKeysWindow *window) | ||
342 | 95 | { | ||
343 | 96 | if (window->priv->is_composited) { | ||
344 | 97 | window->priv->hide_timeout_id = 0; | ||
345 | 98 | window->priv->fade_timeout_id = g_timeout_add (FADE_TIMEOUT, | ||
346 | 99 | (GSourceFunc) fade_timeout, | ||
347 | 100 | window); | ||
348 | 101 | } else { | ||
349 | 102 | gtk_widget_hide (GTK_WIDGET (window)); | ||
350 | 103 | } | ||
351 | 104 | |||
352 | 105 | return FALSE; | ||
353 | 106 | } | ||
354 | 107 | |||
355 | 108 | static void | ||
356 | 109 | remove_hide_timeout (GsdMediaKeysWindow *window) | ||
357 | 110 | { | ||
358 | 111 | if (window->priv->hide_timeout_id != 0) { | ||
359 | 112 | g_source_remove (window->priv->hide_timeout_id); | ||
360 | 113 | window->priv->hide_timeout_id = 0; | ||
361 | 114 | } | ||
362 | 115 | |||
363 | 116 | if (window->priv->fade_timeout_id != 0) { | ||
364 | 117 | g_source_remove (window->priv->fade_timeout_id); | ||
365 | 118 | window->priv->fade_timeout_id = 0; | ||
366 | 119 | window->priv->fade_out_alpha = 1.0; | ||
367 | 120 | } | ||
368 | 121 | } | ||
369 | 122 | |||
370 | 123 | static void | ||
371 | 124 | add_hide_timeout (GsdMediaKeysWindow *window) | ||
372 | 125 | { | ||
373 | 126 | int timeout; | ||
374 | 127 | |||
375 | 128 | if (window->priv->is_composited) { | ||
376 | 129 | timeout = DIALOG_FADE_TIMEOUT; | ||
377 | 130 | } else { | ||
378 | 131 | timeout = DIALOG_TIMEOUT; | ||
379 | 132 | } | ||
380 | 133 | window->priv->hide_timeout_id = g_timeout_add (timeout, | ||
381 | 134 | (GSourceFunc) hide_timeout, | ||
382 | 135 | window); | ||
383 | 136 | } | ||
384 | 137 | |||
385 | 138 | static void | ||
386 | 139 | update_window (GsdMediaKeysWindow *window) | ||
387 | 140 | { | ||
388 | 141 | remove_hide_timeout (window); | ||
389 | 142 | add_hide_timeout (window); | ||
390 | 143 | |||
391 | 144 | if (window->priv->is_composited) { | ||
392 | 145 | gtk_widget_queue_draw (GTK_WIDGET (window)); | ||
393 | 146 | } | ||
394 | 147 | } | ||
395 | 148 | |||
396 | 149 | static void | ||
397 | 150 | volume_controls_set_visible (GsdMediaKeysWindow *window, | ||
398 | 151 | gboolean visible) | ||
399 | 152 | { | ||
400 | 153 | if (window->priv->progress == NULL) | ||
401 | 154 | return; | ||
402 | 155 | |||
403 | 156 | if (visible) { | ||
404 | 157 | gtk_widget_show (window->priv->progress); | ||
405 | 158 | } else { | ||
406 | 159 | gtk_widget_hide (window->priv->progress); | ||
407 | 160 | } | ||
408 | 161 | } | ||
409 | 162 | |||
410 | 163 | static void | ||
411 | 164 | window_set_icon_name (GsdMediaKeysWindow *window, | ||
412 | 165 | const char *name) | ||
413 | 166 | { | ||
414 | 167 | if (window->priv->image == NULL) | ||
415 | 168 | return; | ||
416 | 169 | |||
417 | 170 | gtk_image_set_from_icon_name (window->priv->image, | ||
418 | 171 | name, GTK_ICON_SIZE_DIALOG); | ||
419 | 172 | } | ||
420 | 173 | |||
421 | 174 | static void | ||
422 | 175 | action_changed (GsdMediaKeysWindow *window) | ||
423 | 176 | { | ||
424 | 177 | if (! window->priv->is_composited) { | ||
425 | 178 | switch (window->priv->action) { | ||
426 | 179 | case GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME: | ||
427 | 180 | volume_controls_set_visible (window, TRUE); | ||
428 | 181 | |||
429 | 182 | if (window->priv->volume_muted) { | ||
430 | 183 | window_set_icon_name (window, "audio-volume-muted"); | ||
431 | 184 | } else { | ||
432 | 185 | window_set_icon_name (window, "audio-volume-high"); | ||
433 | 186 | } | ||
434 | 187 | |||
435 | 188 | break; | ||
436 | 189 | case GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM: | ||
437 | 190 | volume_controls_set_visible (window, window->priv->show_level); | ||
438 | 191 | window_set_icon_name (window, window->priv->icon_name); | ||
439 | 192 | break; | ||
440 | 193 | default: | ||
441 | 194 | g_assert_not_reached (); | ||
442 | 195 | break; | ||
443 | 196 | } | ||
444 | 197 | } | ||
445 | 198 | |||
446 | 199 | update_window (window); | ||
447 | 200 | } | ||
448 | 201 | |||
449 | 202 | static void | ||
450 | 203 | volume_level_changed (GsdMediaKeysWindow *window) | ||
451 | 204 | { | ||
452 | 205 | update_window (window); | ||
453 | 206 | |||
454 | 207 | if (!window->priv->is_composited && window->priv->progress != NULL) { | ||
455 | 208 | double fraction; | ||
456 | 209 | |||
457 | 210 | fraction = (double) window->priv->volume_level / 100.0; | ||
458 | 211 | |||
459 | 212 | gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (window->priv->progress), | ||
460 | 213 | fraction); | ||
461 | 214 | } | ||
462 | 215 | } | ||
463 | 216 | |||
464 | 217 | static void | ||
465 | 218 | volume_muted_changed (GsdMediaKeysWindow *window) | ||
466 | 219 | { | ||
467 | 220 | update_window (window); | ||
468 | 221 | |||
469 | 222 | if (! window->priv->is_composited) { | ||
470 | 223 | if (window->priv->volume_muted) { | ||
471 | 224 | window_set_icon_name (window, "audio-volume-muted"); | ||
472 | 225 | } else { | ||
473 | 226 | window_set_icon_name (window, "audio-volume-high"); | ||
474 | 227 | } | ||
475 | 228 | } | ||
476 | 229 | } | ||
477 | 230 | |||
478 | 231 | void | ||
479 | 232 | gsd_media_keys_window_set_action (GsdMediaKeysWindow *window, | ||
480 | 233 | GsdMediaKeysWindowAction action) | ||
481 | 234 | { | ||
482 | 235 | g_return_if_fail (GSD_IS_MEDIA_KEYS_WINDOW (window)); | ||
483 | 236 | g_return_if_fail (action == GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME); | ||
484 | 237 | |||
485 | 238 | if (window->priv->action != action) { | ||
486 | 239 | window->priv->action = action; | ||
487 | 240 | action_changed (window); | ||
488 | 241 | } else { | ||
489 | 242 | update_window (window); | ||
490 | 243 | } | ||
491 | 244 | } | ||
492 | 245 | |||
493 | 246 | void | ||
494 | 247 | gsd_media_keys_window_set_action_custom (GsdMediaKeysWindow *window, | ||
495 | 248 | const char *icon_name, | ||
496 | 249 | gboolean show_level) | ||
497 | 250 | { | ||
498 | 251 | g_return_if_fail (GSD_IS_MEDIA_KEYS_WINDOW (window)); | ||
499 | 252 | g_return_if_fail (icon_name != NULL); | ||
500 | 253 | |||
501 | 254 | if (window->priv->action != GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM || | ||
502 | 255 | g_strcmp0 (window->priv->icon_name, icon_name) != 0 || | ||
503 | 256 | window->priv->show_level != show_level) { | ||
504 | 257 | window->priv->action = GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM; | ||
505 | 258 | g_free (window->priv->icon_name); | ||
506 | 259 | window->priv->icon_name = g_strdup (icon_name); | ||
507 | 260 | window->priv->show_level = show_level; | ||
508 | 261 | action_changed (window); | ||
509 | 262 | } else { | ||
510 | 263 | update_window (window); | ||
511 | 264 | } | ||
512 | 265 | } | ||
513 | 266 | |||
514 | 267 | void | ||
515 | 268 | gsd_media_keys_window_set_volume_muted (GsdMediaKeysWindow *window, | ||
516 | 269 | gboolean muted) | ||
517 | 270 | { | ||
518 | 271 | g_return_if_fail (GSD_IS_MEDIA_KEYS_WINDOW (window)); | ||
519 | 272 | |||
520 | 273 | if (window->priv->volume_muted != muted) { | ||
521 | 274 | window->priv->volume_muted = muted; | ||
522 | 275 | volume_muted_changed (window); | ||
523 | 276 | } | ||
524 | 277 | } | ||
525 | 278 | |||
526 | 279 | void | ||
527 | 280 | gsd_media_keys_window_set_volume_level (GsdMediaKeysWindow *window, | ||
528 | 281 | int level) | ||
529 | 282 | { | ||
530 | 283 | g_return_if_fail (GSD_IS_MEDIA_KEYS_WINDOW (window)); | ||
531 | 284 | |||
532 | 285 | if (window->priv->volume_level != level) { | ||
533 | 286 | window->priv->volume_level = level; | ||
534 | 287 | volume_level_changed (window); | ||
535 | 288 | } | ||
536 | 289 | } | ||
537 | 290 | |||
538 | 291 | static void | ||
539 | 292 | rounded_rectangle (cairo_t* cr, | ||
540 | 293 | gdouble aspect, | ||
541 | 294 | gdouble x, | ||
542 | 295 | gdouble y, | ||
543 | 296 | gdouble corner_radius, | ||
544 | 297 | gdouble width, | ||
545 | 298 | gdouble height) | ||
546 | 299 | { | ||
547 | 300 | gdouble radius = corner_radius / aspect; | ||
548 | 301 | |||
549 | 302 | cairo_move_to (cr, x + radius, y); | ||
550 | 303 | |||
551 | 304 | cairo_line_to (cr, | ||
552 | 305 | x + width - radius, | ||
553 | 306 | y); | ||
554 | 307 | cairo_arc (cr, | ||
555 | 308 | x + width - radius, | ||
556 | 309 | y + radius, | ||
557 | 310 | radius, | ||
558 | 311 | -90.0f * G_PI / 180.0f, | ||
559 | 312 | 0.0f * G_PI / 180.0f); | ||
560 | 313 | cairo_line_to (cr, | ||
561 | 314 | x + width, | ||
562 | 315 | y + height - radius); | ||
563 | 316 | cairo_arc (cr, | ||
564 | 317 | x + width - radius, | ||
565 | 318 | y + height - radius, | ||
566 | 319 | radius, | ||
567 | 320 | 0.0f * G_PI / 180.0f, | ||
568 | 321 | 90.0f * G_PI / 180.0f); | ||
569 | 322 | cairo_line_to (cr, | ||
570 | 323 | x + radius, | ||
571 | 324 | y + height); | ||
572 | 325 | cairo_arc (cr, | ||
573 | 326 | x + radius, | ||
574 | 327 | y + height - radius, | ||
575 | 328 | radius, | ||
576 | 329 | 90.0f * G_PI / 180.0f, | ||
577 | 330 | 180.0f * G_PI / 180.0f); | ||
578 | 331 | cairo_line_to (cr, | ||
579 | 332 | x, | ||
580 | 333 | y + radius); | ||
581 | 334 | cairo_arc (cr, | ||
582 | 335 | x + radius, | ||
583 | 336 | y + radius, | ||
584 | 337 | radius, | ||
585 | 338 | 180.0f * G_PI / 180.0f, | ||
586 | 339 | 270.0f * G_PI / 180.0f); | ||
587 | 340 | cairo_close_path (cr); | ||
588 | 341 | } | ||
589 | 342 | |||
590 | 343 | static GdkPixbuf * | ||
591 | 344 | load_pixbuf (GsdMediaKeysWindow *window, | ||
592 | 345 | const char *name, | ||
593 | 346 | int icon_size) | ||
594 | 347 | { | ||
595 | 348 | GtkIconTheme *theme; | ||
596 | 349 | GdkPixbuf *pixbuf; | ||
597 | 350 | |||
598 | 351 | if (window != NULL && gtk_widget_has_screen (GTK_WIDGET (window))) { | ||
599 | 352 | theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (window))); | ||
600 | 353 | } else { | ||
601 | 354 | theme = gtk_icon_theme_get_default (); | ||
602 | 355 | } | ||
603 | 356 | |||
604 | 357 | pixbuf = gtk_icon_theme_load_icon (theme, | ||
605 | 358 | name, | ||
606 | 359 | icon_size, | ||
607 | 360 | GTK_ICON_LOOKUP_FORCE_SVG, | ||
608 | 361 | NULL); | ||
609 | 362 | |||
610 | 363 | /* make sure the pixbuf is close to the requested size | ||
611 | 364 | * this is necessary because GTK_ICON_LOOKUP_FORCE_SVG | ||
612 | 365 | * seems to be broken */ | ||
613 | 366 | if (pixbuf != NULL) { | ||
614 | 367 | int width; | ||
615 | 368 | |||
616 | 369 | width = gdk_pixbuf_get_width (pixbuf); | ||
617 | 370 | if (width < (float)icon_size * 0.75) { | ||
618 | 371 | g_object_unref (pixbuf); | ||
619 | 372 | pixbuf = NULL; | ||
620 | 373 | } | ||
621 | 374 | } | ||
622 | 375 | |||
623 | 376 | return pixbuf; | ||
624 | 377 | } | ||
625 | 378 | |||
626 | 379 | static void | ||
627 | 380 | draw_eject (cairo_t *cr, | ||
628 | 381 | double _x0, | ||
629 | 382 | double _y0, | ||
630 | 383 | double width, | ||
631 | 384 | double height) | ||
632 | 385 | { | ||
633 | 386 | int box_height; | ||
634 | 387 | int tri_height; | ||
635 | 388 | int separation; | ||
636 | 389 | |||
637 | 390 | box_height = height * 0.2; | ||
638 | 391 | separation = box_height / 3; | ||
639 | 392 | tri_height = height - box_height - separation; | ||
640 | 393 | |||
641 | 394 | cairo_rectangle (cr, _x0, _y0 + height - box_height, width, box_height); | ||
642 | 395 | |||
643 | 396 | cairo_move_to (cr, _x0, _y0 + tri_height); | ||
644 | 397 | cairo_rel_line_to (cr, width, 0); | ||
645 | 398 | cairo_rel_line_to (cr, -width / 2, -tri_height); | ||
646 | 399 | cairo_rel_line_to (cr, -width / 2, tri_height); | ||
647 | 400 | cairo_close_path (cr); | ||
648 | 401 | cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, FG_ALPHA); | ||
649 | 402 | cairo_fill_preserve (cr); | ||
650 | 403 | |||
651 | 404 | cairo_set_source_rgba (cr, 0.6, 0.6, 0.6, FG_ALPHA / 2); | ||
652 | 405 | cairo_set_line_width (cr, 2); | ||
653 | 406 | cairo_stroke (cr); | ||
654 | 407 | } | ||
655 | 408 | |||
656 | 409 | static void | ||
657 | 410 | draw_waves (cairo_t *cr, | ||
658 | 411 | double cx, | ||
659 | 412 | double cy, | ||
660 | 413 | double max_radius, | ||
661 | 414 | int volume_level) | ||
662 | 415 | { | ||
663 | 416 | const int n_waves = 3; | ||
664 | 417 | int last_wave; | ||
665 | 418 | int i; | ||
666 | 419 | |||
667 | 420 | last_wave = n_waves * volume_level / 100; | ||
668 | 421 | |||
669 | 422 | for (i = 0; i < n_waves; i++) { | ||
670 | 423 | double angle1; | ||
671 | 424 | double angle2; | ||
672 | 425 | double radius; | ||
673 | 426 | double alpha; | ||
674 | 427 | |||
675 | 428 | angle1 = -M_PI / 4; | ||
676 | 429 | angle2 = M_PI / 4; | ||
677 | 430 | |||
678 | 431 | if (i < last_wave) | ||
679 | 432 | alpha = 1.0; | ||
680 | 433 | else if (i > last_wave) | ||
681 | 434 | alpha = 0.1; | ||
682 | 435 | else alpha = 0.1 + 0.9 * (n_waves * volume_level % 100) / 100.0; | ||
683 | 436 | |||
684 | 437 | radius = (i + 1) * (max_radius / n_waves); | ||
685 | 438 | cairo_arc (cr, cx, cy, radius, angle1, angle2); | ||
686 | 439 | cairo_set_source_rgba (cr, 0.6, 0.6, 0.6, alpha / 2); | ||
687 | 440 | cairo_set_line_width (cr, 14); | ||
688 | 441 | cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); | ||
689 | 442 | cairo_stroke_preserve (cr); | ||
690 | 443 | |||
691 | 444 | cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, alpha); | ||
692 | 445 | cairo_set_line_width (cr, 10); | ||
693 | 446 | cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); | ||
694 | 447 | cairo_stroke (cr); | ||
695 | 448 | } | ||
696 | 449 | } | ||
697 | 450 | |||
698 | 451 | static void | ||
699 | 452 | draw_cross (cairo_t *cr, | ||
700 | 453 | double cx, | ||
701 | 454 | double cy, | ||
702 | 455 | double size) | ||
703 | 456 | { | ||
704 | 457 | cairo_move_to (cr, cx, cy - size/2.0); | ||
705 | 458 | cairo_rel_line_to (cr, size, size); | ||
706 | 459 | |||
707 | 460 | cairo_move_to (cr, cx, cy + size/2.0); | ||
708 | 461 | cairo_rel_line_to (cr, size, -size); | ||
709 | 462 | |||
710 | 463 | cairo_set_source_rgba (cr, 0.6, 0.6, 0.6, FG_ALPHA / 2); | ||
711 | 464 | cairo_set_line_width (cr, 14); | ||
712 | 465 | cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); | ||
713 | 466 | cairo_stroke_preserve (cr); | ||
714 | 467 | |||
715 | 468 | cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, FG_ALPHA); | ||
716 | 469 | cairo_set_line_width (cr, 10); | ||
717 | 470 | cairo_set_line_cap (cr, CAIRO_LINE_CAP_ROUND); | ||
718 | 471 | cairo_stroke (cr); | ||
719 | 472 | } | ||
720 | 473 | |||
721 | 474 | static void | ||
722 | 475 | draw_speaker (cairo_t *cr, | ||
723 | 476 | double cx, | ||
724 | 477 | double cy, | ||
725 | 478 | double width, | ||
726 | 479 | double height) | ||
727 | 480 | { | ||
728 | 481 | double box_width; | ||
729 | 482 | double box_height; | ||
730 | 483 | double _x0; | ||
731 | 484 | double _y0; | ||
732 | 485 | |||
733 | 486 | box_width = width / 3; | ||
734 | 487 | box_height = height / 3; | ||
735 | 488 | |||
736 | 489 | _x0 = cx - (width / 2) + box_width; | ||
737 | 490 | _y0 = cy - box_height / 2; | ||
738 | 491 | |||
739 | 492 | cairo_move_to (cr, _x0, _y0); | ||
740 | 493 | cairo_rel_line_to (cr, - box_width, 0); | ||
741 | 494 | cairo_rel_line_to (cr, 0, box_height); | ||
742 | 495 | cairo_rel_line_to (cr, box_width, 0); | ||
743 | 496 | |||
744 | 497 | cairo_line_to (cr, cx + box_width, cy + height / 2); | ||
745 | 498 | cairo_rel_line_to (cr, 0, -height); | ||
746 | 499 | cairo_line_to (cr, _x0, _y0); | ||
747 | 500 | cairo_close_path (cr); | ||
748 | 501 | |||
749 | 502 | cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, FG_ALPHA); | ||
750 | 503 | cairo_fill_preserve (cr); | ||
751 | 504 | |||
752 | 505 | cairo_set_source_rgba (cr, 0.6, 0.6, 0.6, FG_ALPHA / 2); | ||
753 | 506 | cairo_set_line_width (cr, 2); | ||
754 | 507 | cairo_stroke (cr); | ||
755 | 508 | } | ||
756 | 509 | |||
757 | 510 | static gboolean | ||
758 | 511 | render_speaker (GsdMediaKeysWindow *window, | ||
759 | 512 | cairo_t *cr, | ||
760 | 513 | double _x0, | ||
761 | 514 | double _y0, | ||
762 | 515 | double width, | ||
763 | 516 | double height) | ||
764 | 517 | { | ||
765 | 518 | GdkPixbuf *pixbuf; | ||
766 | 519 | int icon_size; | ||
767 | 520 | int n; | ||
768 | 521 | static const char *icon_names[] = { | ||
769 | 522 | "audio-volume-muted", | ||
770 | 523 | "audio-volume-low", | ||
771 | 524 | "audio-volume-medium", | ||
772 | 525 | "audio-volume-high", | ||
773 | 526 | NULL | ||
774 | 527 | }; | ||
775 | 528 | |||
776 | 529 | if (window->priv->volume_muted) { | ||
777 | 530 | n = 0; | ||
778 | 531 | } else { | ||
779 | 532 | /* select image */ | ||
780 | 533 | n = 3 * window->priv->volume_level / 100 + 1; | ||
781 | 534 | if (n < 1) { | ||
782 | 535 | n = 1; | ||
783 | 536 | } else if (n > 3) { | ||
784 | 537 | n = 3; | ||
785 | 538 | } | ||
786 | 539 | } | ||
787 | 540 | |||
788 | 541 | icon_size = (int)width; | ||
789 | 542 | |||
790 | 543 | pixbuf = load_pixbuf (window, icon_names[n], icon_size); | ||
791 | 544 | |||
792 | 545 | if (pixbuf == NULL) { | ||
793 | 546 | return FALSE; | ||
794 | 547 | } | ||
795 | 548 | |||
796 | 549 | gdk_cairo_set_source_pixbuf (cr, pixbuf, _x0, _y0); | ||
797 | 550 | cairo_paint_with_alpha (cr, FG_ALPHA); | ||
798 | 551 | |||
799 | 552 | g_object_unref (pixbuf); | ||
800 | 553 | |||
801 | 554 | return TRUE; | ||
802 | 555 | } | ||
803 | 556 | |||
804 | 557 | static void | ||
805 | 558 | color_reverse (const GdkColor *a, | ||
806 | 559 | GdkColor *b) | ||
807 | 560 | { | ||
808 | 561 | gdouble red; | ||
809 | 562 | gdouble green; | ||
810 | 563 | gdouble blue; | ||
811 | 564 | gdouble h; | ||
812 | 565 | gdouble s; | ||
813 | 566 | gdouble v; | ||
814 | 567 | |||
815 | 568 | red = (gdouble) a->red / 65535.0; | ||
816 | 569 | green = (gdouble) a->green / 65535.0; | ||
817 | 570 | blue = (gdouble) a->blue / 65535.0; | ||
818 | 571 | |||
819 | 572 | gtk_rgb_to_hsv (red, green, blue, &h, &s, &v); | ||
820 | 573 | |||
821 | 574 | v = 0.5 + (0.5 - v); | ||
822 | 575 | if (v > 1.0) | ||
823 | 576 | v = 1.0; | ||
824 | 577 | else if (v < 0.0) | ||
825 | 578 | v = 0.0; | ||
826 | 579 | |||
827 | 580 | gtk_hsv_to_rgb (h, s, v, &red, &green, &blue); | ||
828 | 581 | |||
829 | 582 | b->red = red * 65535.0; | ||
830 | 583 | b->green = green * 65535.0; | ||
831 | 584 | b->blue = blue * 65535.0; | ||
832 | 585 | } | ||
833 | 586 | |||
834 | 587 | static void | ||
835 | 588 | draw_volume_boxes (GsdMediaKeysWindow *window, | ||
836 | 589 | cairo_t *cr, | ||
837 | 590 | double percentage, | ||
838 | 591 | double _x0, | ||
839 | 592 | double _y0, | ||
840 | 593 | double width, | ||
841 | 594 | double height) | ||
842 | 595 | { | ||
843 | 596 | gdouble x1; | ||
844 | 597 | GdkColor color; | ||
845 | 598 | double r, g, b; | ||
846 | 599 | GtkStyle *style; | ||
847 | 600 | |||
848 | 601 | _x0 += 0.5; | ||
849 | 602 | _y0 += 0.5; | ||
850 | 603 | height = round (height) - 1; | ||
851 | 604 | width = round (width) - 1; | ||
852 | 605 | x1 = round ((width - 1) * percentage); | ||
853 | 606 | style = gtk_widget_get_style (GTK_WIDGET (window)); | ||
854 | 607 | |||
855 | 608 | /* bar background */ | ||
856 | 609 | color_reverse (&style->dark[GTK_STATE_NORMAL], &color); | ||
857 | 610 | r = (float)color.red / 65535.0; | ||
858 | 611 | g = (float)color.green / 65535.0; | ||
859 | 612 | b = (float)color.blue / 65535.0; | ||
860 | 613 | rounded_rectangle (cr, 1.0, _x0, _y0, height / 6, width, height); | ||
861 | 614 | cairo_set_source_rgba (cr, r, g, b, FG_ALPHA / 2); | ||
862 | 615 | cairo_fill_preserve (cr); | ||
863 | 616 | |||
864 | 617 | /* bar border */ | ||
865 | 618 | color_reverse (&style->light[GTK_STATE_NORMAL], &color); | ||
866 | 619 | r = (float)color.red / 65535.0; | ||
867 | 620 | g = (float)color.green / 65535.0; | ||
868 | 621 | b = (float)color.blue / 65535.0; | ||
869 | 622 | cairo_set_source_rgba (cr, r, g, b, FG_ALPHA / 2); | ||
870 | 623 | cairo_set_line_width (cr, 1); | ||
871 | 624 | cairo_stroke (cr); | ||
872 | 625 | |||
873 | 626 | /* bar progress */ | ||
874 | 627 | if (percentage < 0.01) | ||
875 | 628 | return; | ||
876 | 629 | color = style->bg[GTK_STATE_NORMAL]; | ||
877 | 630 | r = (float)color.red / 65535.0; | ||
878 | 631 | g = (float)color.green / 65535.0; | ||
879 | 632 | b = (float)color.blue / 65535.0; | ||
880 | 633 | rounded_rectangle (cr, 1.0, _x0 + 0.5, _y0 + 0.5, height / 6 - 0.5, x1, height - 1); | ||
881 | 634 | cairo_set_source_rgba (cr, r, g, b, FG_ALPHA); | ||
882 | 635 | cairo_fill (cr); | ||
883 | 636 | } | ||
884 | 637 | |||
885 | 638 | static void | ||
886 | 639 | draw_action_volume (GsdMediaKeysWindow *window, | ||
887 | 640 | cairo_t *cr) | ||
888 | 641 | { | ||
889 | 642 | int window_width; | ||
890 | 643 | int window_height; | ||
891 | 644 | double icon_box_width; | ||
892 | 645 | double icon_box_height; | ||
893 | 646 | double icon_box_x0; | ||
894 | 647 | double icon_box_y0; | ||
895 | 648 | double volume_box_x0; | ||
896 | 649 | double volume_box_y0; | ||
897 | 650 | double volume_box_width; | ||
898 | 651 | double volume_box_height; | ||
899 | 652 | gboolean res; | ||
900 | 653 | |||
901 | 654 | gtk_window_get_size (GTK_WINDOW (window), &window_width, &window_height); | ||
902 | 655 | |||
903 | 656 | icon_box_width = round (window_width * 0.65); | ||
904 | 657 | icon_box_height = round (window_height * 0.65); | ||
905 | 658 | volume_box_width = icon_box_width; | ||
906 | 659 | volume_box_height = round (window_height * 0.05); | ||
907 | 660 | |||
908 | 661 | icon_box_x0 = (window_width - icon_box_width) / 2; | ||
909 | 662 | icon_box_y0 = (window_height - icon_box_height - volume_box_height) / 2; | ||
910 | 663 | volume_box_x0 = round (icon_box_x0); | ||
911 | 664 | volume_box_y0 = round (icon_box_height + icon_box_y0); | ||
912 | 665 | |||
913 | 666 | #if 0 | ||
914 | 667 | g_message ("icon box: w=%f h=%f _x0=%f _y0=%f", | ||
915 | 668 | icon_box_width, | ||
916 | 669 | icon_box_height, | ||
917 | 670 | icon_box_x0, | ||
918 | 671 | icon_box_y0); | ||
919 | 672 | g_message ("volume box: w=%f h=%f _x0=%f _y0=%f", | ||
920 | 673 | volume_box_width, | ||
921 | 674 | volume_box_height, | ||
922 | 675 | volume_box_x0, | ||
923 | 676 | volume_box_y0); | ||
924 | 677 | #endif | ||
925 | 678 | |||
926 | 679 | res = render_speaker (window, | ||
927 | 680 | cr, | ||
928 | 681 | icon_box_x0, icon_box_y0, | ||
929 | 682 | icon_box_width, icon_box_height); | ||
930 | 683 | if (! res) { | ||
931 | 684 | double speaker_width; | ||
932 | 685 | double speaker_height; | ||
933 | 686 | double speaker_cx; | ||
934 | 687 | double speaker_cy; | ||
935 | 688 | |||
936 | 689 | speaker_width = icon_box_width * 0.5; | ||
937 | 690 | speaker_height = icon_box_height * 0.75; | ||
938 | 691 | speaker_cx = icon_box_x0 + speaker_width / 2; | ||
939 | 692 | speaker_cy = icon_box_y0 + speaker_height / 2; | ||
940 | 693 | |||
941 | 694 | #if 0 | ||
942 | 695 | g_message ("speaker box: w=%f h=%f cx=%f cy=%f", | ||
943 | 696 | speaker_width, | ||
944 | 697 | speaker_height, | ||
945 | 698 | speaker_cx, | ||
946 | 699 | speaker_cy); | ||
947 | 700 | #endif | ||
948 | 701 | |||
949 | 702 | /* draw speaker symbol */ | ||
950 | 703 | draw_speaker (cr, speaker_cx, speaker_cy, speaker_width, speaker_height); | ||
951 | 704 | |||
952 | 705 | if (! window->priv->volume_muted) { | ||
953 | 706 | /* draw sound waves */ | ||
954 | 707 | double wave_x0; | ||
955 | 708 | double wave_y0; | ||
956 | 709 | double wave_radius; | ||
957 | 710 | |||
958 | 711 | wave_x0 = window_width / 2; | ||
959 | 712 | wave_y0 = speaker_cy; | ||
960 | 713 | wave_radius = icon_box_width / 2; | ||
961 | 714 | |||
962 | 715 | draw_waves (cr, wave_x0, wave_y0, wave_radius, window->priv->volume_level); | ||
963 | 716 | } else { | ||
964 | 717 | /* draw 'mute' cross */ | ||
965 | 718 | double cross_x0; | ||
966 | 719 | double cross_y0; | ||
967 | 720 | double cross_size; | ||
968 | 721 | |||
969 | 722 | cross_size = speaker_width * 3 / 4; | ||
970 | 723 | cross_x0 = icon_box_x0 + icon_box_width - cross_size; | ||
971 | 724 | cross_y0 = speaker_cy; | ||
972 | 725 | |||
973 | 726 | draw_cross (cr, cross_x0, cross_y0, cross_size); | ||
974 | 727 | } | ||
975 | 728 | } | ||
976 | 729 | |||
977 | 730 | /* draw volume meter */ | ||
978 | 731 | draw_volume_boxes (window, | ||
979 | 732 | cr, | ||
980 | 733 | (double)window->priv->volume_level / 100.0, | ||
981 | 734 | volume_box_x0, | ||
982 | 735 | volume_box_y0, | ||
983 | 736 | volume_box_width, | ||
984 | 737 | volume_box_height); | ||
985 | 738 | } | ||
986 | 739 | |||
987 | 740 | static gboolean | ||
988 | 741 | render_custom (GsdMediaKeysWindow *window, | ||
989 | 742 | cairo_t *cr, | ||
990 | 743 | double _x0, | ||
991 | 744 | double _y0, | ||
992 | 745 | double width, | ||
993 | 746 | double height) | ||
994 | 747 | { | ||
995 | 748 | GdkPixbuf *pixbuf; | ||
996 | 749 | int icon_size; | ||
997 | 750 | |||
998 | 751 | icon_size = (int)width; | ||
999 | 752 | |||
1000 | 753 | pixbuf = load_pixbuf (window, window->priv->icon_name, icon_size); | ||
1001 | 754 | |||
1002 | 755 | if (pixbuf == NULL) { | ||
1003 | 756 | char *name; | ||
1004 | 757 | if (gtk_widget_get_direction (GTK_WIDGET (window)) == GTK_TEXT_DIR_RTL) | ||
1005 | 758 | name = g_strdup_printf ("%s-rtl", window->priv->icon_name); | ||
1006 | 759 | else | ||
1007 | 760 | name = g_strdup_printf ("%s-ltr", window->priv->icon_name); | ||
1008 | 761 | pixbuf = load_pixbuf (window, name, icon_size); | ||
1009 | 762 | g_free (name); | ||
1010 | 763 | if (pixbuf == NULL) | ||
1011 | 764 | return FALSE; | ||
1012 | 765 | } | ||
1013 | 766 | |||
1014 | 767 | gdk_cairo_set_source_pixbuf (cr, pixbuf, _x0, _y0); | ||
1015 | 768 | cairo_paint_with_alpha (cr, FG_ALPHA); | ||
1016 | 769 | |||
1017 | 770 | g_object_unref (pixbuf); | ||
1018 | 771 | |||
1019 | 772 | return TRUE; | ||
1020 | 773 | } | ||
1021 | 774 | |||
1022 | 775 | static void | ||
1023 | 776 | draw_action_custom (GsdMediaKeysWindow *window, | ||
1024 | 777 | cairo_t *cr) | ||
1025 | 778 | { | ||
1026 | 779 | int window_width; | ||
1027 | 780 | int window_height; | ||
1028 | 781 | double icon_box_width; | ||
1029 | 782 | double icon_box_height; | ||
1030 | 783 | double icon_box_x0; | ||
1031 | 784 | double icon_box_y0; | ||
1032 | 785 | double bright_box_x0; | ||
1033 | 786 | double bright_box_y0; | ||
1034 | 787 | double bright_box_width; | ||
1035 | 788 | double bright_box_height; | ||
1036 | 789 | gboolean res; | ||
1037 | 790 | |||
1038 | 791 | gtk_window_get_size (GTK_WINDOW (window), &window_width, &window_height); | ||
1039 | 792 | |||
1040 | 793 | icon_box_width = round (window_width * 0.65); | ||
1041 | 794 | icon_box_height = round (window_height * 0.65); | ||
1042 | 795 | bright_box_width = round (icon_box_width); | ||
1043 | 796 | bright_box_height = round (window_height * 0.05); | ||
1044 | 797 | |||
1045 | 798 | icon_box_x0 = (window_width - icon_box_width) / 2; | ||
1046 | 799 | icon_box_y0 = (window_height - icon_box_height - bright_box_height) / 2; | ||
1047 | 800 | bright_box_x0 = round (icon_box_x0); | ||
1048 | 801 | bright_box_y0 = round (icon_box_height + icon_box_y0); | ||
1049 | 802 | |||
1050 | 803 | #if 0 | ||
1051 | 804 | g_message ("icon box: w=%f h=%f _x0=%f _y0=%f", | ||
1052 | 805 | icon_box_width, | ||
1053 | 806 | icon_box_height, | ||
1054 | 807 | icon_box_x0, | ||
1055 | 808 | icon_box_y0); | ||
1056 | 809 | g_message ("brightness box: w=%f h=%f _x0=%f _y0=%f", | ||
1057 | 810 | bright_box_width, | ||
1058 | 811 | bright_box_height, | ||
1059 | 812 | bright_box_x0, | ||
1060 | 813 | bright_box_y0); | ||
1061 | 814 | #endif | ||
1062 | 815 | |||
1063 | 816 | res = render_custom (window, | ||
1064 | 817 | cr, | ||
1065 | 818 | icon_box_x0, icon_box_y0, | ||
1066 | 819 | icon_box_width, icon_box_height); | ||
1067 | 820 | if (! res && g_strcmp0 (window->priv->icon_name, "media-eject") == 0) { | ||
1068 | 821 | /* draw eject symbol */ | ||
1069 | 822 | draw_eject (cr, | ||
1070 | 823 | icon_box_x0, icon_box_y0, | ||
1071 | 824 | icon_box_width, icon_box_height); | ||
1072 | 825 | } | ||
1073 | 826 | |||
1074 | 827 | if (window->priv->show_level != FALSE) { | ||
1075 | 828 | /* draw volume meter */ | ||
1076 | 829 | draw_volume_boxes (window, | ||
1077 | 830 | cr, | ||
1078 | 831 | (double)window->priv->volume_level / 100.0, | ||
1079 | 832 | bright_box_x0, | ||
1080 | 833 | bright_box_y0, | ||
1081 | 834 | bright_box_width, | ||
1082 | 835 | bright_box_height); | ||
1083 | 836 | } | ||
1084 | 837 | } | ||
1085 | 838 | |||
1086 | 839 | static void | ||
1087 | 840 | draw_action (GsdMediaKeysWindow *window, | ||
1088 | 841 | cairo_t *cr) | ||
1089 | 842 | { | ||
1090 | 843 | switch (window->priv->action) { | ||
1091 | 844 | case GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME: | ||
1092 | 845 | draw_action_volume (window, cr); | ||
1093 | 846 | break; | ||
1094 | 847 | case GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM: | ||
1095 | 848 | draw_action_custom (window, cr); | ||
1096 | 849 | break; | ||
1097 | 850 | default: | ||
1098 | 851 | break; | ||
1099 | 852 | } | ||
1100 | 853 | } | ||
1101 | 854 | |||
1102 | 855 | static gboolean | ||
1103 | 856 | on_expose_event (GtkWidget *widget, | ||
1104 | 857 | GdkEventExpose *event, | ||
1105 | 858 | GsdMediaKeysWindow *window) | ||
1106 | 859 | { | ||
1107 | 860 | cairo_t *context; | ||
1108 | 861 | cairo_t *cr; | ||
1109 | 862 | cairo_surface_t *surface; | ||
1110 | 863 | int width; | ||
1111 | 864 | int height; | ||
1112 | 865 | GtkStyle *style; | ||
1113 | 866 | GdkColor color; | ||
1114 | 867 | double r, g, b; | ||
1115 | 868 | |||
1116 | 869 | context = gdk_cairo_create (gtk_widget_get_window (widget)); | ||
1117 | 870 | |||
1118 | 871 | style = gtk_widget_get_style (widget); | ||
1119 | 872 | cairo_set_operator (context, CAIRO_OPERATOR_SOURCE); | ||
1120 | 873 | gtk_window_get_size (GTK_WINDOW (widget), &width, &height); | ||
1121 | 874 | |||
1122 | 875 | surface = cairo_surface_create_similar (cairo_get_target (context), | ||
1123 | 876 | CAIRO_CONTENT_COLOR_ALPHA, | ||
1124 | 877 | width, | ||
1125 | 878 | height); | ||
1126 | 879 | |||
1127 | 880 | if (cairo_surface_status (surface) != CAIRO_STATUS_SUCCESS) { | ||
1128 | 881 | goto done; | ||
1129 | 882 | } | ||
1130 | 883 | |||
1131 | 884 | cr = cairo_create (surface); | ||
1132 | 885 | if (cairo_status (cr) != CAIRO_STATUS_SUCCESS) { | ||
1133 | 886 | goto done; | ||
1134 | 887 | } | ||
1135 | 888 | cairo_set_source_rgba (cr, 1.0, 1.0, 1.0, 0.0); | ||
1136 | 889 | cairo_set_operator (cr, CAIRO_OPERATOR_OVER); | ||
1137 | 890 | cairo_paint (cr); | ||
1138 | 891 | |||
1139 | 892 | /* draw a box */ | ||
1140 | 893 | rounded_rectangle (cr, 1.0, 0.5, 0.5, height / 10, width-1, height-1); | ||
1141 | 894 | color_reverse (&style->bg[GTK_STATE_NORMAL], &color); | ||
1142 | 895 | r = (float)color.red / 65535.0; | ||
1143 | 896 | g = (float)color.green / 65535.0; | ||
1144 | 897 | b = (float)color.blue / 65535.0; | ||
1145 | 898 | cairo_set_source_rgba (cr, r, g, b, BG_ALPHA); | ||
1146 | 899 | cairo_fill_preserve (cr); | ||
1147 | 900 | |||
1148 | 901 | color_reverse (&style->text_aa[GTK_STATE_NORMAL], &color); | ||
1149 | 902 | r = (float)color.red / 65535.0; | ||
1150 | 903 | g = (float)color.green / 65535.0; | ||
1151 | 904 | b = (float)color.blue / 65535.0; | ||
1152 | 905 | cairo_set_source_rgba (cr, r, g, b, BG_ALPHA / 2); | ||
1153 | 906 | cairo_set_line_width (cr, 1); | ||
1154 | 907 | cairo_stroke (cr); | ||
1155 | 908 | |||
1156 | 909 | /* draw action */ | ||
1157 | 910 | draw_action (window, cr); | ||
1158 | 911 | |||
1159 | 912 | cairo_destroy (cr); | ||
1160 | 913 | |||
1161 | 914 | /* Make sure we have a transparent background */ | ||
1162 | 915 | cairo_rectangle (context, 0, 0, width, height); | ||
1163 | 916 | cairo_set_source_rgba (context, 0.0, 0.0, 0.0, 0.0); | ||
1164 | 917 | cairo_fill (context); | ||
1165 | 918 | |||
1166 | 919 | cairo_set_source_surface (context, surface, 0, 0); | ||
1167 | 920 | cairo_paint_with_alpha (context, window->priv->fade_out_alpha); | ||
1168 | 921 | |||
1169 | 922 | done: | ||
1170 | 923 | if (surface != NULL) { | ||
1171 | 924 | cairo_surface_destroy (surface); | ||
1172 | 925 | } | ||
1173 | 926 | cairo_destroy (context); | ||
1174 | 927 | |||
1175 | 928 | return FALSE; | ||
1176 | 929 | } | ||
1177 | 930 | |||
1178 | 931 | static void | ||
1179 | 932 | gsd_media_keys_window_real_show (GtkWidget *widget) | ||
1180 | 933 | { | ||
1181 | 934 | GsdMediaKeysWindow *window; | ||
1182 | 935 | |||
1183 | 936 | if (GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->show) { | ||
1184 | 937 | GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->show (widget); | ||
1185 | 938 | } | ||
1186 | 939 | |||
1187 | 940 | window = GSD_MEDIA_KEYS_WINDOW (widget); | ||
1188 | 941 | remove_hide_timeout (window); | ||
1189 | 942 | add_hide_timeout (window); | ||
1190 | 943 | } | ||
1191 | 944 | |||
1192 | 945 | static void | ||
1193 | 946 | gsd_media_keys_window_real_hide (GtkWidget *widget) | ||
1194 | 947 | { | ||
1195 | 948 | GsdMediaKeysWindow *window; | ||
1196 | 949 | |||
1197 | 950 | if (GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->hide) { | ||
1198 | 951 | GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->hide (widget); | ||
1199 | 952 | } | ||
1200 | 953 | |||
1201 | 954 | window = GSD_MEDIA_KEYS_WINDOW (widget); | ||
1202 | 955 | remove_hide_timeout (window); | ||
1203 | 956 | } | ||
1204 | 957 | |||
1205 | 958 | static void | ||
1206 | 959 | gsd_media_keys_window_real_realize (GtkWidget *widget) | ||
1207 | 960 | { | ||
1208 | 961 | GdkColormap *colormap; | ||
1209 | 962 | GtkAllocation allocation; | ||
1210 | 963 | GdkBitmap *mask; | ||
1211 | 964 | cairo_t *cr; | ||
1212 | 965 | |||
1213 | 966 | colormap = gdk_screen_get_rgba_colormap (gtk_widget_get_screen (widget)); | ||
1214 | 967 | |||
1215 | 968 | if (colormap != NULL) { | ||
1216 | 969 | gtk_widget_set_colormap (widget, colormap); | ||
1217 | 970 | } | ||
1218 | 971 | |||
1219 | 972 | if (GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->realize) { | ||
1220 | 973 | GTK_WIDGET_CLASS (gsd_media_keys_window_parent_class)->realize (widget); | ||
1221 | 974 | } | ||
1222 | 975 | |||
1223 | 976 | gtk_widget_get_allocation (widget, &allocation); | ||
1224 | 977 | mask = gdk_pixmap_new (gtk_widget_get_window (widget), | ||
1225 | 978 | allocation.width, | ||
1226 | 979 | allocation.height, | ||
1227 | 980 | 1); | ||
1228 | 981 | cr = gdk_cairo_create (mask); | ||
1229 | 982 | |||
1230 | 983 | cairo_set_source_rgba (cr, 1., 1., 1., 0.); | ||
1231 | 984 | cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); | ||
1232 | 985 | cairo_paint (cr); | ||
1233 | 986 | |||
1234 | 987 | /* make the whole window ignore events */ | ||
1235 | 988 | gdk_window_input_shape_combine_mask (gtk_widget_get_window (widget), mask, 0, 0); | ||
1236 | 989 | g_object_unref (mask); | ||
1237 | 990 | cairo_destroy (cr); | ||
1238 | 991 | } | ||
1239 | 992 | |||
1240 | 993 | static void | ||
1241 | 994 | gsd_media_keys_window_class_init (GsdMediaKeysWindowClass *klass) | ||
1242 | 995 | { | ||
1243 | 996 | GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); | ||
1244 | 997 | |||
1245 | 998 | widget_class->show = gsd_media_keys_window_real_show; | ||
1246 | 999 | widget_class->hide = gsd_media_keys_window_real_hide; | ||
1247 | 1000 | widget_class->realize = gsd_media_keys_window_real_realize; | ||
1248 | 1001 | |||
1249 | 1002 | g_type_class_add_private (klass, sizeof (GsdMediaKeysWindowPrivate)); | ||
1250 | 1003 | } | ||
1251 | 1004 | |||
1252 | 1005 | gboolean | ||
1253 | 1006 | gsd_media_keys_window_is_valid (GsdMediaKeysWindow *window) | ||
1254 | 1007 | { | ||
1255 | 1008 | GdkScreen *screen = gtk_widget_get_screen (GTK_WIDGET (window)); | ||
1256 | 1009 | return gdk_screen_is_composited (screen) == window->priv->is_composited; | ||
1257 | 1010 | } | ||
1258 | 1011 | |||
1259 | 1012 | static void | ||
1260 | 1013 | gsd_media_keys_window_init (GsdMediaKeysWindow *window) | ||
1261 | 1014 | { | ||
1262 | 1015 | GdkScreen *screen; | ||
1263 | 1016 | |||
1264 | 1017 | window->priv = GSD_MEDIA_KEYS_WINDOW_GET_PRIVATE (window); | ||
1265 | 1018 | |||
1266 | 1019 | screen = gtk_widget_get_screen (GTK_WIDGET (window)); | ||
1267 | 1020 | |||
1268 | 1021 | window->priv->is_composited = gdk_screen_is_composited (screen); | ||
1269 | 1022 | |||
1270 | 1023 | if (window->priv->is_composited) { | ||
1271 | 1024 | gdouble scalew, scaleh, scale; | ||
1272 | 1025 | gint size; | ||
1273 | 1026 | |||
1274 | 1027 | gtk_window_set_decorated (GTK_WINDOW (window), FALSE); | ||
1275 | 1028 | gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE); | ||
1276 | 1029 | |||
1277 | 1030 | /* assume 130x130 on a 640x480 display and scale from there */ | ||
1278 | 1031 | scalew = gdk_screen_get_width (screen) / 640.0; | ||
1279 | 1032 | scaleh = gdk_screen_get_height (screen) / 480.0; | ||
1280 | 1033 | scale = MIN (scalew, scaleh); | ||
1281 | 1034 | size = 130 * MAX (1, scale); | ||
1282 | 1035 | |||
1283 | 1036 | gtk_window_set_default_size (GTK_WINDOW (window), size, size); | ||
1284 | 1037 | g_signal_connect (window, "expose-event", G_CALLBACK (on_expose_event), window); | ||
1285 | 1038 | |||
1286 | 1039 | window->priv->fade_out_alpha = 1.0; | ||
1287 | 1040 | } else { | ||
1288 | 1041 | GtkBuilder *builder; | ||
1289 | 1042 | const gchar *objects[] = {"acme_frame", NULL}; | ||
1290 | 1043 | GtkWidget *frame; | ||
1291 | 1044 | |||
1292 | 1045 | builder = gtk_builder_new (); | ||
1293 | 1046 | gtk_builder_add_objects_from_string (builder, acme_ui, acme_ui_length, (char **)objects, NULL); | ||
1294 | 1047 | |||
1295 | 1048 | window->priv->image = GTK_IMAGE (gtk_builder_get_object (builder, "acme_image")); | ||
1296 | 1049 | window->priv->progress = GTK_WIDGET (gtk_builder_get_object (builder, "acme_volume_progressbar")); | ||
1297 | 1050 | frame = GTK_WIDGET (gtk_builder_get_object (builder, | ||
1298 | 1051 | "acme_frame")); | ||
1299 | 1052 | |||
1300 | 1053 | if (frame != NULL) { | ||
1301 | 1054 | gtk_container_add (GTK_CONTAINER (window), frame); | ||
1302 | 1055 | gtk_widget_show_all (frame); | ||
1303 | 1056 | } | ||
1304 | 1057 | |||
1305 | 1058 | /* The builder needs to stay alive until the window | ||
1306 | 1059 | takes ownership of the frame (and its children) */ | ||
1307 | 1060 | g_object_unref (builder); | ||
1308 | 1061 | } | ||
1309 | 1062 | } | ||
1310 | 1063 | |||
1311 | 1064 | GtkWidget * | ||
1312 | 1065 | gsd_media_keys_window_new (void) | ||
1313 | 1066 | { | ||
1314 | 1067 | GObject *object; | ||
1315 | 1068 | |||
1316 | 1069 | object = g_object_new (GSD_TYPE_MEDIA_KEYS_WINDOW, | ||
1317 | 1070 | "type", GTK_WINDOW_POPUP, | ||
1318 | 1071 | "type-hint", GDK_WINDOW_TYPE_HINT_NOTIFICATION, | ||
1319 | 1072 | "skip-taskbar-hint", TRUE, | ||
1320 | 1073 | "skip-pager-hint", TRUE, | ||
1321 | 1074 | "focus-on-map", FALSE, | ||
1322 | 1075 | NULL); | ||
1323 | 1076 | |||
1324 | 1077 | return GTK_WIDGET (object); | ||
1325 | 1078 | } | ||
1326 | 1079 | 0 | ||
1327 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.h' | |||
1328 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.h 2013-05-22 00:46:08 +0000 | |||
1329 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/gsd-media-keys-window.h 1970-01-01 00:00:00 +0000 | |||
1330 | @@ -1,71 +0,0 @@ | |||
1331 | 1 | /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 8; tab-width: 8 -*- | ||
1332 | 2 | * | ||
1333 | 3 | * Copyright (C) 2006 William Jon McCann <mccann@jhu.edu> | ||
1334 | 4 | * | ||
1335 | 5 | * This program is free software; you can redistribute it and/or | ||
1336 | 6 | * modify it under the terms of the GNU General Public License as | ||
1337 | 7 | * published by the Free Software Foundation; either version 2 of the | ||
1338 | 8 | * License, or (at your option) any later version. | ||
1339 | 9 | * | ||
1340 | 10 | * This program is distributed in the hope that it will be useful, | ||
1341 | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1342 | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
1343 | 13 | * General Public License for more details. | ||
1344 | 14 | * | ||
1345 | 15 | * You should have received a copy of the GNU General Public | ||
1346 | 16 | * License along with this program; if not, write to the | ||
1347 | 17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
1348 | 18 | * Boston, MA 02111-1307, USA. | ||
1349 | 19 | * | ||
1350 | 20 | */ | ||
1351 | 21 | |||
1352 | 22 | #ifndef GSD_MEDIA_KEYS_WINDOW_H | ||
1353 | 23 | #define GSD_MEDIA_KEYS_WINDOW_H | ||
1354 | 24 | |||
1355 | 25 | #include <glib-object.h> | ||
1356 | 26 | #include <gtk/gtk.h> | ||
1357 | 27 | |||
1358 | 28 | G_BEGIN_DECLS | ||
1359 | 29 | |||
1360 | 30 | #define GSD_TYPE_MEDIA_KEYS_WINDOW (gsd_media_keys_window_get_type ()) | ||
1361 | 31 | #define GSD_MEDIA_KEYS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSD_TYPE_MEDIA_KEYS_WINDOW, GsdMediaKeysWindow)) | ||
1362 | 32 | #define GSD_MEDIA_KEYS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSD_TYPE_MEDIA_KEYS_WINDOW, GsdMediaKeysWindowClass)) | ||
1363 | 33 | #define GSD_IS_MEDIA_KEYS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSD_TYPE_MEDIA_KEYS_WINDOW)) | ||
1364 | 34 | #define GSD_IS_MEDIA_KEYS_WINDOW_CLASS(klass) (G_TYPE_INSTANCE_GET_CLASS ((klass), GSD_TYPE_MEDIA_KEYS_WINDOW)) | ||
1365 | 35 | |||
1366 | 36 | typedef struct GsdMediaKeysWindow GsdMediaKeysWindow; | ||
1367 | 37 | typedef struct GsdMediaKeysWindowClass GsdMediaKeysWindowClass; | ||
1368 | 38 | typedef struct GsdMediaKeysWindowPrivate GsdMediaKeysWindowPrivate; | ||
1369 | 39 | |||
1370 | 40 | struct GsdMediaKeysWindow { | ||
1371 | 41 | GtkWindow parent; | ||
1372 | 42 | |||
1373 | 43 | GsdMediaKeysWindowPrivate *priv; | ||
1374 | 44 | }; | ||
1375 | 45 | |||
1376 | 46 | struct GsdMediaKeysWindowClass { | ||
1377 | 47 | GtkWindowClass parent_class; | ||
1378 | 48 | }; | ||
1379 | 49 | |||
1380 | 50 | typedef enum { | ||
1381 | 51 | GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME, | ||
1382 | 52 | GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM | ||
1383 | 53 | } GsdMediaKeysWindowAction; | ||
1384 | 54 | |||
1385 | 55 | GType gsd_media_keys_window_get_type (void); | ||
1386 | 56 | |||
1387 | 57 | GtkWidget * gsd_media_keys_window_new (void); | ||
1388 | 58 | void gsd_media_keys_window_set_action (GsdMediaKeysWindow *window, | ||
1389 | 59 | GsdMediaKeysWindowAction action); | ||
1390 | 60 | void gsd_media_keys_window_set_action_custom (GsdMediaKeysWindow *window, | ||
1391 | 61 | const char *icon_name, | ||
1392 | 62 | gboolean show_level); | ||
1393 | 63 | void gsd_media_keys_window_set_volume_muted (GsdMediaKeysWindow *window, | ||
1394 | 64 | gboolean muted); | ||
1395 | 65 | void gsd_media_keys_window_set_volume_level (GsdMediaKeysWindow *window, | ||
1396 | 66 | int level); | ||
1397 | 67 | gboolean gsd_media_keys_window_is_valid (GsdMediaKeysWindow *window); | ||
1398 | 68 | |||
1399 | 69 | G_END_DECLS | ||
1400 | 70 | |||
1401 | 71 | #endif | ||
1402 | 72 | 0 | ||
1403 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-backlight.c' | |||
1404 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-backlight.c 2013-05-22 00:46:08 +0000 | |||
1405 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-backlight.c 1970-01-01 00:00:00 +0000 | |||
1406 | @@ -1,478 +0,0 @@ | |||
1407 | 1 | /* | ||
1408 | 2 | * * Copyright (C) 2009-2011 Ali <aliov@xfce.org> | ||
1409 | 3 | * | ||
1410 | 4 | * Licensed under the GNU General Public License Version 2 | ||
1411 | 5 | * | ||
1412 | 6 | * This program is free software; you can redistribute it and/or modify | ||
1413 | 7 | * it under the terms of the GNU General Public License as published by | ||
1414 | 8 | * the Free Software Foundation; either version 2 of the License, or | ||
1415 | 9 | * (at your option) any later version. | ||
1416 | 10 | * | ||
1417 | 11 | * This program is distributed in the hope that it will be useful, | ||
1418 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1419 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1420 | 14 | * GNU General Public License for more details. | ||
1421 | 15 | * | ||
1422 | 16 | * You should have received a copy of the GNU General Public License | ||
1423 | 17 | * along with this program; if not, write to the Free Software | ||
1424 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
1425 | 19 | */ | ||
1426 | 20 | |||
1427 | 21 | #ifdef HAVE_CONFIG_H | ||
1428 | 22 | #include <config.h> | ||
1429 | 23 | #endif | ||
1430 | 24 | |||
1431 | 25 | #include <stdio.h> | ||
1432 | 26 | #include <stdlib.h> | ||
1433 | 27 | #include <string.h> | ||
1434 | 28 | |||
1435 | 29 | #include <math.h> | ||
1436 | 30 | |||
1437 | 31 | #include <gtk/gtk.h> | ||
1438 | 32 | #include <libxfce4util/libxfce4util.h> | ||
1439 | 33 | |||
1440 | 34 | #include "xfpm-backlight.h" | ||
1441 | 35 | #include "egg-idletime.h" | ||
1442 | 36 | #include "xfpm-notify.h" | ||
1443 | 37 | #include "xfpm-xfconf.h" | ||
1444 | 38 | #include "xfpm-power.h" | ||
1445 | 39 | #include "xfpm-config.h" | ||
1446 | 40 | #include "xfpm-button.h" | ||
1447 | 41 | #include "xfpm-brightness.h" | ||
1448 | 42 | #include "xfpm-debug.h" | ||
1449 | 43 | #include "xfpm-icons.h" | ||
1450 | 44 | |||
1451 | 45 | #include "gsd-media-keys-window.h" | ||
1452 | 46 | |||
1453 | 47 | static void xfpm_backlight_finalize (GObject *object); | ||
1454 | 48 | |||
1455 | 49 | static void xfpm_backlight_create_popup (XfpmBacklight *backlight); | ||
1456 | 50 | |||
1457 | 51 | #define ALARM_DISABLED 9 | ||
1458 | 52 | #define BRIGHTNESS_POPUP_SIZE 180 | ||
1459 | 53 | |||
1460 | 54 | #define XFPM_BACKLIGHT_GET_PRIVATE(o) \ | ||
1461 | 55 | (G_TYPE_INSTANCE_GET_PRIVATE ((o), XFPM_TYPE_BACKLIGHT, XfpmBacklightPrivate)) | ||
1462 | 56 | |||
1463 | 57 | struct XfpmBacklightPrivate | ||
1464 | 58 | { | ||
1465 | 59 | XfpmBrightness *brightness; | ||
1466 | 60 | XfpmPower *power; | ||
1467 | 61 | EggIdletime *idle; | ||
1468 | 62 | XfpmXfconf *conf; | ||
1469 | 63 | XfpmButton *button; | ||
1470 | 64 | XfpmNotify *notify; | ||
1471 | 65 | |||
1472 | 66 | GtkWidget *osd; | ||
1473 | 67 | NotifyNotification *n; | ||
1474 | 68 | |||
1475 | 69 | |||
1476 | 70 | gulong destroy_id; | ||
1477 | 71 | |||
1478 | 72 | gboolean has_hw; | ||
1479 | 73 | gboolean on_battery; | ||
1480 | 74 | |||
1481 | 75 | glong last_level; | ||
1482 | 76 | glong max_level; | ||
1483 | 77 | |||
1484 | 78 | gboolean dimmed; | ||
1485 | 79 | gboolean block; | ||
1486 | 80 | }; | ||
1487 | 81 | |||
1488 | 82 | G_DEFINE_TYPE (XfpmBacklight, xfpm_backlight, G_TYPE_OBJECT) | ||
1489 | 83 | |||
1490 | 84 | static void | ||
1491 | 85 | xfpm_backlight_dim_brightness (XfpmBacklight *backlight) | ||
1492 | 86 | { | ||
1493 | 87 | gboolean ret; | ||
1494 | 88 | |||
1495 | 89 | if (xfpm_power_get_mode (backlight->priv->power) == XFPM_POWER_MODE_NORMAL ) | ||
1496 | 90 | { | ||
1497 | 91 | glong dim_level; | ||
1498 | 92 | |||
1499 | 93 | g_object_get (G_OBJECT (backlight->priv->conf), | ||
1500 | 94 | backlight->priv->on_battery ? BRIGHTNESS_LEVEL_ON_BATTERY : BRIGHTNESS_LEVEL_ON_AC, &dim_level, | ||
1501 | 95 | NULL); | ||
1502 | 96 | |||
1503 | 97 | ret = xfpm_brightness_get_level (backlight->priv->brightness, &backlight->priv->last_level); | ||
1504 | 98 | |||
1505 | 99 | if ( !ret ) | ||
1506 | 100 | { | ||
1507 | 101 | g_warning ("Unable to get current brightness level"); | ||
1508 | 102 | return; | ||
1509 | 103 | } | ||
1510 | 104 | |||
1511 | 105 | dim_level = dim_level * backlight->priv->max_level / 100; | ||
1512 | 106 | |||
1513 | 107 | /** | ||
1514 | 108 | * Only reduce if the current level is brighter than | ||
1515 | 109 | * the configured dim_level | ||
1516 | 110 | **/ | ||
1517 | 111 | if (backlight->priv->last_level > dim_level) | ||
1518 | 112 | { | ||
1519 | 113 | XFPM_DEBUG ("Current brightness level before dimming : %li, new %li", backlight->priv->last_level, dim_level); | ||
1520 | 114 | backlight->priv->dimmed = xfpm_brightness_set_level (backlight->priv->brightness, dim_level); | ||
1521 | 115 | } | ||
1522 | 116 | } | ||
1523 | 117 | } | ||
1524 | 118 | |||
1525 | 119 | static gboolean | ||
1526 | 120 | xfpm_backlight_destroy_popup (gpointer data) | ||
1527 | 121 | { | ||
1528 | 122 | XfpmBacklight *backlight; | ||
1529 | 123 | |||
1530 | 124 | backlight = XFPM_BACKLIGHT (data); | ||
1531 | 125 | |||
1532 | 126 | if ( backlight->priv->osd ) | ||
1533 | 127 | { | ||
1534 | 128 | gtk_widget_destroy (backlight->priv->osd); | ||
1535 | 129 | backlight->priv->osd = NULL; | ||
1536 | 130 | } | ||
1537 | 131 | |||
1538 | 132 | if ( backlight->priv->n ) | ||
1539 | 133 | { | ||
1540 | 134 | g_object_unref (backlight->priv->n); | ||
1541 | 135 | backlight->priv->n = NULL; | ||
1542 | 136 | } | ||
1543 | 137 | |||
1544 | 138 | return FALSE; | ||
1545 | 139 | } | ||
1546 | 140 | |||
1547 | 141 | static void | ||
1548 | 142 | xfpm_backlight_composited_changed_cb (XfpmBacklight *backlight) | ||
1549 | 143 | { | ||
1550 | 144 | xfpm_backlight_destroy_popup (backlight); | ||
1551 | 145 | xfpm_backlight_create_popup (backlight); | ||
1552 | 146 | } | ||
1553 | 147 | |||
1554 | 148 | static void | ||
1555 | 149 | xfpm_backlight_show_notification (XfpmBacklight *backlight, gfloat value) | ||
1556 | 150 | { | ||
1557 | 151 | gint i; | ||
1558 | 152 | |||
1559 | 153 | static const char *display_icon_name[] = | ||
1560 | 154 | { | ||
1561 | 155 | "notification-display-brightness-off", | ||
1562 | 156 | "notification-display-brightness-low", | ||
1563 | 157 | "notification-display-brightness-medium", | ||
1564 | 158 | "notification-display-brightness-high", | ||
1565 | 159 | "notification-display-brightness-full", | ||
1566 | 160 | NULL | ||
1567 | 161 | }; | ||
1568 | 162 | |||
1569 | 163 | if ( backlight->priv->n == NULL ) | ||
1570 | 164 | { | ||
1571 | 165 | backlight->priv->n = xfpm_notify_new_notification (backlight->priv->notify, | ||
1572 | 166 | " ", | ||
1573 | 167 | "", | ||
1574 | 168 | NULL, | ||
1575 | 169 | 0, | ||
1576 | 170 | XFPM_NOTIFY_NORMAL, | ||
1577 | 171 | NULL); | ||
1578 | 172 | } | ||
1579 | 173 | |||
1580 | 174 | i = (gint)value / 25; | ||
1581 | 175 | |||
1582 | 176 | if ( i > 4 || i < 0 ) | ||
1583 | 177 | return; | ||
1584 | 178 | |||
1585 | 179 | notify_notification_set_hint_int32 (backlight->priv->n, | ||
1586 | 180 | "value", | ||
1587 | 181 | value); | ||
1588 | 182 | |||
1589 | 183 | notify_notification_set_hint_string (backlight->priv->n, | ||
1590 | 184 | "x-canonical-private-synchronous", | ||
1591 | 185 | "brightness"); | ||
1592 | 186 | |||
1593 | 187 | notify_notification_update (backlight->priv->n, | ||
1594 | 188 | " ", | ||
1595 | 189 | "", | ||
1596 | 190 | display_icon_name[i]); | ||
1597 | 191 | |||
1598 | 192 | notify_notification_show (backlight->priv->n, NULL); | ||
1599 | 193 | } | ||
1600 | 194 | |||
1601 | 195 | static void | ||
1602 | 196 | xfpm_backlight_create_popup (XfpmBacklight *backlight) | ||
1603 | 197 | { | ||
1604 | 198 | if ( backlight->priv->osd != NULL ) | ||
1605 | 199 | return; | ||
1606 | 200 | |||
1607 | 201 | backlight->priv->osd = gsd_media_keys_window_new (); | ||
1608 | 202 | gsd_media_keys_window_set_action_custom (GSD_MEDIA_KEYS_WINDOW (backlight->priv->osd), | ||
1609 | 203 | XFPM_DISPLAY_BRIGHTNESS_ICON, | ||
1610 | 204 | TRUE); | ||
1611 | 205 | gtk_window_set_position (GTK_WINDOW (backlight->priv->osd), GTK_WIN_POS_CENTER); | ||
1612 | 206 | |||
1613 | 207 | g_signal_connect_swapped (backlight->priv->osd, "composited-changed", | ||
1614 | 208 | G_CALLBACK (xfpm_backlight_composited_changed_cb), backlight); | ||
1615 | 209 | |||
1616 | 210 | } | ||
1617 | 211 | |||
1618 | 212 | static void | ||
1619 | 213 | xfpm_backlight_show (XfpmBacklight *backlight, gint level) | ||
1620 | 214 | { | ||
1621 | 215 | gfloat value; | ||
1622 | 216 | gboolean sync_notify; | ||
1623 | 217 | gboolean show_popup; | ||
1624 | 218 | |||
1625 | 219 | XFPM_DEBUG ("Level %u", level); | ||
1626 | 220 | |||
1627 | 221 | g_object_get (G_OBJECT (backlight->priv->conf), | ||
1628 | 222 | SHOW_BRIGHTNESS_POPUP, &show_popup, | ||
1629 | 223 | NULL); | ||
1630 | 224 | |||
1631 | 225 | if ( !show_popup ) | ||
1632 | 226 | goto out; | ||
1633 | 227 | |||
1634 | 228 | g_object_get (G_OBJECT (backlight->priv->notify), | ||
1635 | 229 | "sync", &sync_notify, | ||
1636 | 230 | NULL); | ||
1637 | 231 | |||
1638 | 232 | value = (gfloat) 100 * level / backlight->priv->max_level; | ||
1639 | 233 | |||
1640 | 234 | if ( !sync_notify ) /*Notification server doesn't support sync notifications*/ | ||
1641 | 235 | { | ||
1642 | 236 | xfpm_backlight_create_popup (backlight); | ||
1643 | 237 | gsd_media_keys_window_set_volume_level (GSD_MEDIA_KEYS_WINDOW (backlight->priv->osd), | ||
1644 | 238 | round (value)); | ||
1645 | 239 | if ( !GTK_WIDGET_VISIBLE (backlight->priv->osd)) | ||
1646 | 240 | gtk_window_present (GTK_WINDOW (backlight->priv->osd)); | ||
1647 | 241 | } | ||
1648 | 242 | else | ||
1649 | 243 | { | ||
1650 | 244 | xfpm_backlight_show_notification (backlight, value); | ||
1651 | 245 | } | ||
1652 | 246 | |||
1653 | 247 | if ( backlight->priv->destroy_id != 0 ) | ||
1654 | 248 | { | ||
1655 | 249 | g_source_remove (backlight->priv->destroy_id); | ||
1656 | 250 | backlight->priv->destroy_id = 0; | ||
1657 | 251 | } | ||
1658 | 252 | |||
1659 | 253 | out: | ||
1660 | 254 | /* Release the memory after 60 seconds */ | ||
1661 | 255 | backlight->priv->destroy_id = g_timeout_add_seconds (60, (GSourceFunc) xfpm_backlight_destroy_popup, backlight); | ||
1662 | 256 | } | ||
1663 | 257 | |||
1664 | 258 | |||
1665 | 259 | static void | ||
1666 | 260 | xfpm_backlight_alarm_timeout_cb (EggIdletime *idle, guint id, XfpmBacklight *backlight) | ||
1667 | 261 | { | ||
1668 | 262 | backlight->priv->block = FALSE; | ||
1669 | 263 | |||
1670 | 264 | if ( id == TIMEOUT_BRIGHTNESS_ON_AC && !backlight->priv->on_battery) | ||
1671 | 265 | xfpm_backlight_dim_brightness (backlight); | ||
1672 | 266 | else if ( id == TIMEOUT_BRIGHTNESS_ON_BATTERY && backlight->priv->on_battery) | ||
1673 | 267 | xfpm_backlight_dim_brightness (backlight); | ||
1674 | 268 | } | ||
1675 | 269 | |||
1676 | 270 | static void | ||
1677 | 271 | xfpm_backlight_reset_cb (EggIdletime *idle, XfpmBacklight *backlight) | ||
1678 | 272 | { | ||
1679 | 273 | if ( backlight->priv->dimmed) | ||
1680 | 274 | { | ||
1681 | 275 | if ( !backlight->priv->block) | ||
1682 | 276 | { | ||
1683 | 277 | XFPM_DEBUG ("Alarm reset, setting level to %li", backlight->priv->last_level); | ||
1684 | 278 | xfpm_brightness_set_level (backlight->priv->brightness, backlight->priv->last_level); | ||
1685 | 279 | } | ||
1686 | 280 | backlight->priv->dimmed = FALSE; | ||
1687 | 281 | } | ||
1688 | 282 | } | ||
1689 | 283 | |||
1690 | 284 | static void | ||
1691 | 285 | xfpm_backlight_button_pressed_cb (XfpmButton *button, XfpmButtonKey type, XfpmBacklight *backlight) | ||
1692 | 286 | { | ||
1693 | 287 | glong level; | ||
1694 | 288 | gboolean ret = TRUE; | ||
1695 | 289 | |||
1696 | 290 | gboolean enable_brightness, show_popup; | ||
1697 | 291 | |||
1698 | 292 | g_object_get (G_OBJECT (backlight->priv->conf), | ||
1699 | 293 | ENABLE_BRIGHTNESS_CONTROL, &enable_brightness, | ||
1700 | 294 | SHOW_BRIGHTNESS_POPUP, &show_popup, | ||
1701 | 295 | NULL); | ||
1702 | 296 | |||
1703 | 297 | if ( type == BUTTON_MON_BRIGHTNESS_UP ) | ||
1704 | 298 | { | ||
1705 | 299 | backlight->priv->block = TRUE; | ||
1706 | 300 | if ( enable_brightness ) | ||
1707 | 301 | ret = xfpm_brightness_up (backlight->priv->brightness, &level); | ||
1708 | 302 | if ( ret && show_popup) | ||
1709 | 303 | xfpm_backlight_show (backlight, level); | ||
1710 | 304 | } | ||
1711 | 305 | else if ( type == BUTTON_MON_BRIGHTNESS_DOWN ) | ||
1712 | 306 | { | ||
1713 | 307 | backlight->priv->block = TRUE; | ||
1714 | 308 | if ( enable_brightness ) | ||
1715 | 309 | ret = xfpm_brightness_down (backlight->priv->brightness, &level); | ||
1716 | 310 | if ( ret && show_popup) | ||
1717 | 311 | xfpm_backlight_show (backlight, level); | ||
1718 | 312 | } | ||
1719 | 313 | } | ||
1720 | 314 | |||
1721 | 315 | static void | ||
1722 | 316 | xfpm_backlight_brightness_on_ac_settings_changed (XfpmBacklight *backlight) | ||
1723 | 317 | { | ||
1724 | 318 | guint timeout_on_ac; | ||
1725 | 319 | |||
1726 | 320 | g_object_get (G_OBJECT (backlight->priv->conf), | ||
1727 | 321 | BRIGHTNESS_ON_AC, &timeout_on_ac, | ||
1728 | 322 | NULL); | ||
1729 | 323 | |||
1730 | 324 | XFPM_DEBUG ("Alarm on ac timeout changed %u", timeout_on_ac); | ||
1731 | 325 | |||
1732 | 326 | if ( timeout_on_ac == ALARM_DISABLED ) | ||
1733 | 327 | { | ||
1734 | 328 | egg_idletime_alarm_remove (backlight->priv->idle, TIMEOUT_BRIGHTNESS_ON_AC ); | ||
1735 | 329 | } | ||
1736 | 330 | else | ||
1737 | 331 | { | ||
1738 | 332 | egg_idletime_alarm_set (backlight->priv->idle, TIMEOUT_BRIGHTNESS_ON_AC, timeout_on_ac * 1000); | ||
1739 | 333 | } | ||
1740 | 334 | } | ||
1741 | 335 | |||
1742 | 336 | static void | ||
1743 | 337 | xfpm_backlight_brightness_on_battery_settings_changed (XfpmBacklight *backlight) | ||
1744 | 338 | { | ||
1745 | 339 | guint timeout_on_battery ; | ||
1746 | 340 | |||
1747 | 341 | g_object_get (G_OBJECT (backlight->priv->conf), | ||
1748 | 342 | BRIGHTNESS_ON_BATTERY, &timeout_on_battery, | ||
1749 | 343 | NULL); | ||
1750 | 344 | |||
1751 | 345 | XFPM_DEBUG ("Alarm on battery timeout changed %u", timeout_on_battery); | ||
1752 | 346 | |||
1753 | 347 | if ( timeout_on_battery == ALARM_DISABLED ) | ||
1754 | 348 | { | ||
1755 | 349 | egg_idletime_alarm_remove (backlight->priv->idle, TIMEOUT_BRIGHTNESS_ON_BATTERY ); | ||
1756 | 350 | } | ||
1757 | 351 | else | ||
1758 | 352 | { | ||
1759 | 353 | egg_idletime_alarm_set (backlight->priv->idle, TIMEOUT_BRIGHTNESS_ON_BATTERY, timeout_on_battery * 1000); | ||
1760 | 354 | } | ||
1761 | 355 | } | ||
1762 | 356 | |||
1763 | 357 | |||
1764 | 358 | static void | ||
1765 | 359 | xfpm_backlight_set_timeouts (XfpmBacklight *backlight) | ||
1766 | 360 | { | ||
1767 | 361 | xfpm_backlight_brightness_on_ac_settings_changed (backlight); | ||
1768 | 362 | xfpm_backlight_brightness_on_battery_settings_changed (backlight); | ||
1769 | 363 | } | ||
1770 | 364 | |||
1771 | 365 | static void | ||
1772 | 366 | xfpm_backlight_on_battery_changed_cb (XfpmPower *power, gboolean on_battery, XfpmBacklight *backlight) | ||
1773 | 367 | { | ||
1774 | 368 | backlight->priv->on_battery = on_battery; | ||
1775 | 369 | } | ||
1776 | 370 | |||
1777 | 371 | static void | ||
1778 | 372 | xfpm_backlight_class_init (XfpmBacklightClass *klass) | ||
1779 | 373 | { | ||
1780 | 374 | GObjectClass *object_class = G_OBJECT_CLASS (klass); | ||
1781 | 375 | |||
1782 | 376 | object_class->finalize = xfpm_backlight_finalize; | ||
1783 | 377 | |||
1784 | 378 | g_type_class_add_private (klass, sizeof (XfpmBacklightPrivate)); | ||
1785 | 379 | } | ||
1786 | 380 | |||
1787 | 381 | static void | ||
1788 | 382 | xfpm_backlight_init (XfpmBacklight *backlight) | ||
1789 | 383 | { | ||
1790 | 384 | backlight->priv = XFPM_BACKLIGHT_GET_PRIVATE (backlight); | ||
1791 | 385 | |||
1792 | 386 | backlight->priv->brightness = xfpm_brightness_new (); | ||
1793 | 387 | backlight->priv->has_hw = xfpm_brightness_setup (backlight->priv->brightness); | ||
1794 | 388 | |||
1795 | 389 | backlight->priv->osd = NULL; | ||
1796 | 390 | backlight->priv->notify = NULL; | ||
1797 | 391 | backlight->priv->idle = NULL; | ||
1798 | 392 | backlight->priv->conf = NULL; | ||
1799 | 393 | backlight->priv->button = NULL; | ||
1800 | 394 | backlight->priv->power = NULL; | ||
1801 | 395 | backlight->priv->dimmed = FALSE; | ||
1802 | 396 | backlight->priv->block = FALSE; | ||
1803 | 397 | backlight->priv->destroy_id = 0; | ||
1804 | 398 | |||
1805 | 399 | if ( !backlight->priv->has_hw ) | ||
1806 | 400 | { | ||
1807 | 401 | g_object_unref (backlight->priv->brightness); | ||
1808 | 402 | backlight->priv->brightness = NULL; | ||
1809 | 403 | } | ||
1810 | 404 | else | ||
1811 | 405 | { | ||
1812 | 406 | backlight->priv->idle = egg_idletime_new (); | ||
1813 | 407 | backlight->priv->conf = xfpm_xfconf_new (); | ||
1814 | 408 | backlight->priv->button = xfpm_button_new (); | ||
1815 | 409 | backlight->priv->power = xfpm_power_get (); | ||
1816 | 410 | backlight->priv->notify = xfpm_notify_new (); | ||
1817 | 411 | backlight->priv->max_level = xfpm_brightness_get_max_level (backlight->priv->brightness); | ||
1818 | 412 | g_signal_connect (backlight->priv->idle, "alarm-expired", | ||
1819 | 413 | G_CALLBACK (xfpm_backlight_alarm_timeout_cb), backlight); | ||
1820 | 414 | |||
1821 | 415 | g_signal_connect (backlight->priv->idle, "reset", | ||
1822 | 416 | G_CALLBACK(xfpm_backlight_reset_cb), backlight); | ||
1823 | 417 | |||
1824 | 418 | g_signal_connect (backlight->priv->button, "button-pressed", | ||
1825 | 419 | G_CALLBACK (xfpm_backlight_button_pressed_cb), backlight); | ||
1826 | 420 | |||
1827 | 421 | g_signal_connect_swapped (backlight->priv->conf, "notify::" BRIGHTNESS_ON_AC, | ||
1828 | 422 | G_CALLBACK (xfpm_backlight_brightness_on_ac_settings_changed), backlight); | ||
1829 | 423 | |||
1830 | 424 | g_signal_connect_swapped (backlight->priv->conf, "notify::" BRIGHTNESS_ON_BATTERY, | ||
1831 | 425 | G_CALLBACK (xfpm_backlight_brightness_on_battery_settings_changed), backlight); | ||
1832 | 426 | |||
1833 | 427 | g_signal_connect (backlight->priv->power, "on-battery-changed", | ||
1834 | 428 | G_CALLBACK (xfpm_backlight_on_battery_changed_cb), backlight); | ||
1835 | 429 | g_object_get (G_OBJECT (backlight->priv->power), | ||
1836 | 430 | "on-battery", &backlight->priv->on_battery, | ||
1837 | 431 | NULL); | ||
1838 | 432 | xfpm_brightness_get_level (backlight->priv->brightness, &backlight->priv->last_level); | ||
1839 | 433 | xfpm_backlight_set_timeouts (backlight); | ||
1840 | 434 | } | ||
1841 | 435 | } | ||
1842 | 436 | |||
1843 | 437 | static void | ||
1844 | 438 | xfpm_backlight_finalize (GObject *object) | ||
1845 | 439 | { | ||
1846 | 440 | XfpmBacklight *backlight; | ||
1847 | 441 | |||
1848 | 442 | backlight = XFPM_BACKLIGHT (object); | ||
1849 | 443 | |||
1850 | 444 | xfpm_backlight_destroy_popup (backlight); | ||
1851 | 445 | |||
1852 | 446 | if ( backlight->priv->brightness ) | ||
1853 | 447 | g_object_unref (backlight->priv->brightness); | ||
1854 | 448 | |||
1855 | 449 | if ( backlight->priv->idle ) | ||
1856 | 450 | g_object_unref (backlight->priv->idle); | ||
1857 | 451 | |||
1858 | 452 | if ( backlight->priv->conf ) | ||
1859 | 453 | g_object_unref (backlight->priv->conf); | ||
1860 | 454 | |||
1861 | 455 | if ( backlight->priv->button ) | ||
1862 | 456 | g_object_unref (backlight->priv->button); | ||
1863 | 457 | |||
1864 | 458 | if ( backlight->priv->power ) | ||
1865 | 459 | g_object_unref (backlight->priv->power); | ||
1866 | 460 | |||
1867 | 461 | if ( backlight->priv->notify) | ||
1868 | 462 | g_object_unref (backlight->priv->notify); | ||
1869 | 463 | |||
1870 | 464 | G_OBJECT_CLASS (xfpm_backlight_parent_class)->finalize (object); | ||
1871 | 465 | } | ||
1872 | 466 | |||
1873 | 467 | XfpmBacklight * | ||
1874 | 468 | xfpm_backlight_new (void) | ||
1875 | 469 | { | ||
1876 | 470 | XfpmBacklight *backlight = NULL; | ||
1877 | 471 | backlight = g_object_new (XFPM_TYPE_BACKLIGHT, NULL); | ||
1878 | 472 | return backlight; | ||
1879 | 473 | } | ||
1880 | 474 | |||
1881 | 475 | gboolean xfpm_backlight_has_hw (XfpmBacklight *backlight) | ||
1882 | 476 | { | ||
1883 | 477 | return backlight->priv->has_hw; | ||
1884 | 478 | } | ||
1885 | 479 | 0 | ||
1886 | === removed file '.pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-notify.c' | |||
1887 | --- .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-notify.c 2013-05-22 00:46:08 +0000 | |||
1888 | +++ .pc/01_Remove_custom_OSD_brightness_popup,_use_libnotify_instead.patch/src/xfpm-notify.c 1970-01-01 00:00:00 +0000 | |||
1889 | @@ -1,409 +0,0 @@ | |||
1890 | 1 | /* | ||
1891 | 2 | * * Copyright (C) 2008-2011 Ali <aliov@xfce.org> | ||
1892 | 3 | * | ||
1893 | 4 | * Licensed under the GNU General Public License Version 2 | ||
1894 | 5 | * | ||
1895 | 6 | * This program is free software; you can redistribute it and/or modify | ||
1896 | 7 | * it under the terms of the GNU General Public License as published by | ||
1897 | 8 | * the Free Software Foundation; either version 2 of the License, or | ||
1898 | 9 | * (at your option) any later version. | ||
1899 | 10 | * | ||
1900 | 11 | * This program is distributed in the hope that it will be useful, | ||
1901 | 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
1902 | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
1903 | 14 | * GNU General Public License for more details. | ||
1904 | 15 | * | ||
1905 | 16 | * You should have received a copy of the GNU General Public License | ||
1906 | 17 | * along with this program; if not, write to the Free Software | ||
1907 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
1908 | 19 | */ | ||
1909 | 20 | |||
1910 | 21 | #ifdef HAVE_CONFIG_H | ||
1911 | 22 | #include <config.h> | ||
1912 | 23 | #endif | ||
1913 | 24 | |||
1914 | 25 | #include <stdio.h> | ||
1915 | 26 | |||
1916 | 27 | #ifdef HAVE_STDLIB_H | ||
1917 | 28 | #include <stdlib.h> | ||
1918 | 29 | #endif | ||
1919 | 30 | |||
1920 | 31 | #ifdef HAVE_STRING_H | ||
1921 | 32 | #include <string.h> | ||
1922 | 33 | #endif | ||
1923 | 34 | |||
1924 | 35 | #ifdef HAVE_ERRNO_H | ||
1925 | 36 | #include <errno.h> | ||
1926 | 37 | #endif | ||
1927 | 38 | |||
1928 | 39 | #include <gtk/gtk.h> | ||
1929 | 40 | |||
1930 | 41 | #include <libxfce4util/libxfce4util.h> | ||
1931 | 42 | |||
1932 | 43 | #include <libnotify/notify.h> | ||
1933 | 44 | |||
1934 | 45 | #include "xfpm-common.h" | ||
1935 | 46 | #include "xfpm-notify.h" | ||
1936 | 47 | #include "xfpm-dbus-monitor.h" | ||
1937 | 48 | |||
1938 | 49 | static void xfpm_notify_finalize (GObject *object); | ||
1939 | 50 | |||
1940 | 51 | static NotifyNotification * xfpm_notify_new_notification_internal (const gchar *title, | ||
1941 | 52 | const gchar *message, | ||
1942 | 53 | const gchar *icon_name, | ||
1943 | 54 | guint timeout, | ||
1944 | 55 | XfpmNotifyUrgency urgency, | ||
1945 | 56 | GtkStatusIcon *icon) G_GNUC_MALLOC; | ||
1946 | 57 | |||
1947 | 58 | #define XFPM_NOTIFY_GET_PRIVATE(o) \ | ||
1948 | 59 | (G_TYPE_INSTANCE_GET_PRIVATE((o), XFPM_TYPE_NOTIFY, XfpmNotifyPrivate)) | ||
1949 | 60 | |||
1950 | 61 | struct XfpmNotifyPrivate | ||
1951 | 62 | { | ||
1952 | 63 | XfpmDBusMonitor *monitor; | ||
1953 | 64 | |||
1954 | 65 | NotifyNotification *notification; | ||
1955 | 66 | NotifyNotification *critical; | ||
1956 | 67 | |||
1957 | 68 | gulong critical_id; | ||
1958 | 69 | gulong notify_id; | ||
1959 | 70 | |||
1960 | 71 | gboolean supports_actions; | ||
1961 | 72 | gboolean supports_sync; /*For x-canonical-private-synchronous */ | ||
1962 | 73 | }; | ||
1963 | 74 | |||
1964 | 75 | enum | ||
1965 | 76 | { | ||
1966 | 77 | PROP_0, | ||
1967 | 78 | PROP_ACTIONS, | ||
1968 | 79 | PROP_SYNC | ||
1969 | 80 | }; | ||
1970 | 81 | |||
1971 | 82 | G_DEFINE_TYPE(XfpmNotify, xfpm_notify, G_TYPE_OBJECT) | ||
1972 | 83 | |||
1973 | 84 | static void | ||
1974 | 85 | xfpm_notify_get_server_caps (XfpmNotify *notify) | ||
1975 | 86 | { | ||
1976 | 87 | GList *caps = NULL; | ||
1977 | 88 | notify->priv->supports_actions = FALSE; | ||
1978 | 89 | notify->priv->supports_sync = FALSE; | ||
1979 | 90 | |||
1980 | 91 | caps = notify_get_server_caps (); | ||
1981 | 92 | |||
1982 | 93 | if (caps != NULL) | ||
1983 | 94 | { | ||
1984 | 95 | if (g_list_find_custom (caps, "x-canonical-private-synchronous", (GCompareFunc) g_strcmp0) != NULL) | ||
1985 | 96 | notify->priv->supports_sync = TRUE; | ||
1986 | 97 | |||
1987 | 98 | if (g_list_find_custom (caps, "actions", (GCompareFunc) g_strcmp0) != NULL) | ||
1988 | 99 | notify->priv->supports_actions = TRUE; | ||
1989 | 100 | |||
1990 | 101 | g_list_foreach(caps, (GFunc)g_free, NULL); | ||
1991 | 102 | g_list_free(caps); | ||
1992 | 103 | } | ||
1993 | 104 | } | ||
1994 | 105 | |||
1995 | 106 | static void | ||
1996 | 107 | xfpm_notify_check_server (XfpmDBusMonitor *monitor, | ||
1997 | 108 | gchar *service_name, | ||
1998 | 109 | gboolean connected, | ||
1999 | 110 | gboolean on_session, | ||
2000 | 111 | XfpmNotify *notify) | ||
2001 | 112 | { | ||
2002 | 113 | if ( !g_strcmp0 (service_name, "org.freedesktop.Notifications") && on_session && connected ) | ||
2003 | 114 | xfpm_notify_get_server_caps (notify); | ||
2004 | 115 | } | ||
2005 | 116 | |||
2006 | 117 | static void xfpm_notify_get_property (GObject *object, | ||
2007 | 118 | guint prop_id, | ||
2008 | 119 | GValue *value, | ||
2009 | 120 | GParamSpec *pspec) | ||
2010 | 121 | { | ||
2011 | 122 | XfpmNotify *notify; | ||
2012 | 123 | |||
2013 | 124 | notify = XFPM_NOTIFY (object); | ||
2014 | 125 | |||
2015 | 126 | switch (prop_id) | ||
2016 | 127 | { | ||
2017 | 128 | case PROP_ACTIONS: | ||
2018 | 129 | g_value_set_boolean (value, notify->priv->supports_actions); | ||
2019 | 130 | break; | ||
2020 | 131 | case PROP_SYNC: | ||
2021 | 132 | g_value_set_boolean (value, notify->priv->supports_sync); | ||
2022 | 133 | break; | ||
2023 | 134 | default: | ||
2024 | 135 | G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); | ||
2025 | 136 | break; | ||
2026 | 137 | } | ||
2027 | 138 | } | ||
2028 | 139 | |||
2029 | 140 | static void | ||
2030 | 141 | xfpm_notify_class_init (XfpmNotifyClass *klass) | ||
2031 | 142 | { | ||
2032 | 143 | GObjectClass *object_class = G_OBJECT_CLASS (klass); | ||
2033 | 144 | |||
2034 | 145 | object_class->finalize = xfpm_notify_finalize; | ||
2035 | 146 | object_class->get_property = xfpm_notify_get_property; | ||
2036 | 147 | |||
2037 | 148 | g_object_class_install_property (object_class, | ||
2038 | 149 | PROP_ACTIONS, | ||
2039 | 150 | g_param_spec_boolean ("actions", | ||
2040 | 151 | NULL, NULL, | ||
2041 | 152 | FALSE, | ||
2042 | 153 | G_PARAM_READABLE)); | ||
2043 | 154 | |||
2044 | 155 | g_object_class_install_property (object_class, | ||
2045 | 156 | PROP_SYNC, | ||
2046 | 157 | g_param_spec_boolean ("sync", | ||
2047 | 158 | NULL, NULL, | ||
2048 | 159 | FALSE, | ||
2049 | 160 | G_PARAM_READABLE)); | ||
2050 | 161 | |||
2051 | 162 | g_type_class_add_private (klass, sizeof (XfpmNotifyPrivate)); | ||
2052 | 163 | } | ||
2053 | 164 | |||
2054 | 165 | static void | ||
2055 | 166 | xfpm_notify_init (XfpmNotify *notify) | ||
2056 | 167 | { | ||
2057 | 168 | notify->priv = XFPM_NOTIFY_GET_PRIVATE (notify); | ||
2058 | 169 | |||
2059 | 170 | notify->priv->notification = NULL; | ||
2060 | 171 | notify->priv->critical = NULL; | ||
2061 | 172 | |||
2062 | 173 | notify->priv->critical_id = 0; | ||
2063 | 174 | notify->priv->notify_id = 0; | ||
2064 | 175 | |||
2065 | 176 | notify->priv->monitor = xfpm_dbus_monitor_new (); | ||
2066 | 177 | xfpm_dbus_monitor_add_service (notify->priv->monitor, DBUS_BUS_SESSION, "org.freedesktop.Notifications"); | ||
2067 | 178 | g_signal_connect (notify->priv->monitor, "service-connection-changed", | ||
2068 | 179 | G_CALLBACK (xfpm_notify_check_server), notify); | ||
2069 | 180 | |||
2070 | 181 | xfpm_notify_get_server_caps (notify); | ||
2071 | 182 | } | ||
2072 | 183 | |||
2073 | 184 | static void | ||
2074 | 185 | xfpm_notify_finalize (GObject *object) | ||
2075 | 186 | { | ||
2076 | 187 | XfpmNotify *notify; | ||
2077 | 188 | |||
2078 | 189 | notify = XFPM_NOTIFY (object); | ||
2079 | 190 | |||
2080 | 191 | xfpm_notify_close_normal (notify); | ||
2081 | 192 | xfpm_notify_close_critical (notify); | ||
2082 | 193 | |||
2083 | 194 | G_OBJECT_CLASS (xfpm_notify_parent_class)->finalize(object); | ||
2084 | 195 | } | ||
2085 | 196 | |||
2086 | 197 | static void | ||
2087 | 198 | xfpm_notify_set_notification_icon (NotifyNotification *n, const gchar *icon_name ) | ||
2088 | 199 | { | ||
2089 | 200 | GdkPixbuf *pix = xfpm_icon_load (icon_name, 48); | ||
2090 | 201 | |||
2091 | 202 | if ( pix ) | ||
2092 | 203 | { | ||
2093 | 204 | notify_notification_set_icon_from_pixbuf (n, | ||
2094 | 205 | pix); | ||
2095 | 206 | g_object_unref ( G_OBJECT(pix)); | ||
2096 | 207 | } | ||
2097 | 208 | |||
2098 | 209 | } | ||
2099 | 210 | |||
2100 | 211 | static NotifyNotification * | ||
2101 | 212 | xfpm_notify_new_notification_internal (const gchar *title, const gchar *message, | ||
2102 | 213 | const gchar *icon_name, guint timeout, | ||
2103 | 214 | XfpmNotifyUrgency urgency, GtkStatusIcon *icon) | ||
2104 | 215 | { | ||
2105 | 216 | NotifyNotification *n; | ||
2106 | 217 | |||
2107 | 218 | #ifdef NOTIFY_CHECK_VERSION | ||
2108 | 219 | #if NOTIFY_CHECK_VERSION (0, 7, 0) | ||
2109 | 220 | n = notify_notification_new (title, message, NULL); | ||
2110 | 221 | #else | ||
2111 | 222 | n = notify_notification_new (title, message, NULL, NULL); | ||
2112 | 223 | #endif | ||
2113 | 224 | #else | ||
2114 | 225 | n = notify_notification_new (title, message, NULL, NULL); | ||
2115 | 226 | #endif | ||
2116 | 227 | |||
2117 | 228 | |||
2118 | 229 | if ( icon_name ) | ||
2119 | 230 | xfpm_notify_set_notification_icon (n, icon_name); | ||
2120 | 231 | |||
2121 | 232 | #ifdef NOTIFY_CHECK_VERSION | ||
2122 | 233 | #if !NOTIFY_CHECK_VERSION (0, 7, 0) | ||
2123 | 234 | if ( icon ) | ||
2124 | 235 | notify_notification_attach_to_status_icon (n, icon); | ||
2125 | 236 | #endif | ||
2126 | 237 | #else | ||
2127 | 238 | if ( icon ) | ||
2128 | 239 | notify_notification_attach_to_status_icon (n, icon); | ||
2129 | 240 | #endif | ||
2130 | 241 | |||
2131 | 242 | notify_notification_set_urgency (n, (NotifyUrgency)urgency); | ||
2132 | 243 | |||
2133 | 244 | if ( timeout != 0) | ||
2134 | 245 | notify_notification_set_timeout (n, timeout); | ||
2135 | 246 | |||
2136 | 247 | return n; | ||
2137 | 248 | } | ||
2138 | 249 | |||
2139 | 250 | static void | ||
2140 | 251 | xfpm_notify_closed_cb (NotifyNotification *n, XfpmNotify *notify) | ||
2141 | 252 | { | ||
2142 | 253 | notify->priv->notification = NULL; | ||
2143 | 254 | g_object_unref (G_OBJECT (n)); | ||
2144 | 255 | } | ||
2145 | 256 | |||
2146 | 257 | static void | ||
2147 | 258 | xfpm_notify_close_critical_cb (NotifyNotification *n, XfpmNotify *notify) | ||
2148 | 259 | { | ||
2149 | 260 | notify->priv->critical = NULL; | ||
2150 | 261 | g_object_unref (G_OBJECT (n)); | ||
2151 | 262 | } | ||
2152 | 263 | |||
2153 | 264 | static gboolean | ||
2154 | 265 | xfpm_notify_show (NotifyNotification *n) | ||
2155 | 266 | { | ||
2156 | 267 | notify_notification_show (n, NULL); | ||
2157 | 268 | return FALSE; | ||
2158 | 269 | } | ||
2159 | 270 | |||
2160 | 271 | static void | ||
2161 | 272 | xfpm_notify_close_notification (XfpmNotify *notify ) | ||
2162 | 273 | { | ||
2163 | 274 | if (notify->priv->notify_id != 0) | ||
2164 | 275 | { | ||
2165 | 276 | g_source_remove (notify->priv->notify_id); | ||
2166 | 277 | notify->priv->notify_id = 0; | ||
2167 | 278 | } | ||
2168 | 279 | |||
2169 | 280 | if ( notify->priv->notification ) | ||
2170 | 281 | { | ||
2171 | 282 | if (!notify_notification_close (notify->priv->notification, NULL)) | ||
2172 | 283 | g_warning ("Failed to close notification\n"); | ||
2173 | 284 | |||
2174 | 285 | g_object_unref (G_OBJECT(notify->priv->notification) ); | ||
2175 | 286 | notify->priv->notification = NULL; | ||
2176 | 287 | } | ||
2177 | 288 | } | ||
2178 | 289 | |||
2179 | 290 | XfpmNotify * | ||
2180 | 291 | xfpm_notify_new (void) | ||
2181 | 292 | { | ||
2182 | 293 | static gpointer xfpm_notify_object = NULL; | ||
2183 | 294 | |||
2184 | 295 | if ( xfpm_notify_object != NULL ) | ||
2185 | 296 | { | ||
2186 | 297 | g_object_ref (xfpm_notify_object); | ||
2187 | 298 | } | ||
2188 | 299 | else | ||
2189 | 300 | { | ||
2190 | 301 | xfpm_notify_object = g_object_new (XFPM_TYPE_NOTIFY, NULL); | ||
2191 | 302 | g_object_add_weak_pointer (xfpm_notify_object, &xfpm_notify_object); | ||
2192 | 303 | } | ||
2193 | 304 | return XFPM_NOTIFY (xfpm_notify_object); | ||
2194 | 305 | } | ||
2195 | 306 | |||
2196 | 307 | void xfpm_notify_show_notification (XfpmNotify *notify, const gchar *title, | ||
2197 | 308 | const gchar *text, const gchar *icon_name, | ||
2198 | 309 | gint timeout, gboolean simple, | ||
2199 | 310 | XfpmNotifyUrgency urgency, GtkStatusIcon *icon) | ||
2200 | 311 | { | ||
2201 | 312 | NotifyNotification *n; | ||
2202 | 313 | |||
2203 | 314 | if ( !simple ) | ||
2204 | 315 | xfpm_notify_close_notification (notify); | ||
2205 | 316 | |||
2206 | 317 | n = xfpm_notify_new_notification_internal (title, | ||
2207 | 318 | text, icon_name, | ||
2208 | 319 | timeout, urgency, | ||
2209 | 320 | icon); | ||
2210 | 321 | |||
2211 | 322 | xfpm_notify_present_notification (notify, n, simple); | ||
2212 | 323 | } | ||
2213 | 324 | |||
2214 | 325 | NotifyNotification *xfpm_notify_new_notification (XfpmNotify *notify, | ||
2215 | 326 | const gchar *title, | ||
2216 | 327 | const gchar *text, | ||
2217 | 328 | const gchar *icon_name, | ||
2218 | 329 | guint timeout, | ||
2219 | 330 | XfpmNotifyUrgency urgency, | ||
2220 | 331 | GtkStatusIcon *icon) | ||
2221 | 332 | { | ||
2222 | 333 | NotifyNotification *n = xfpm_notify_new_notification_internal (title, | ||
2223 | 334 | text, icon_name, | ||
2224 | 335 | timeout, urgency, | ||
2225 | 336 | icon); | ||
2226 | 337 | return n; | ||
2227 | 338 | } | ||
2228 | 339 | |||
2229 | 340 | void xfpm_notify_add_action_to_notification (XfpmNotify *notify, NotifyNotification *n, | ||
2230 | 341 | const gchar *id, const gchar *action_label, | ||
2231 | 342 | NotifyActionCallback callback, gpointer data) | ||
2232 | 343 | { | ||
2233 | 344 | g_return_if_fail (XFPM_IS_NOTIFY(notify)); | ||
2234 | 345 | |||
2235 | 346 | notify_notification_add_action (n, id, action_label, | ||
2236 | 347 | (NotifyActionCallback)callback, | ||
2237 | 348 | data, NULL); | ||
2238 | 349 | |||
2239 | 350 | } | ||
2240 | 351 | |||
2241 | 352 | void xfpm_notify_present_notification (XfpmNotify *notify, NotifyNotification *n, gboolean simple) | ||
2242 | 353 | { | ||
2243 | 354 | g_return_if_fail (XFPM_IS_NOTIFY(notify)); | ||
2244 | 355 | |||
2245 | 356 | if ( !simple ) | ||
2246 | 357 | xfpm_notify_close_notification (notify); | ||
2247 | 358 | |||
2248 | 359 | if ( !simple ) | ||
2249 | 360 | { | ||
2250 | 361 | g_signal_connect (G_OBJECT(n),"closed", | ||
2251 | 362 | G_CALLBACK(xfpm_notify_closed_cb), notify); | ||
2252 | 363 | notify->priv->notification = n; | ||
2253 | 364 | } | ||
2254 | 365 | |||
2255 | 366 | notify->priv->notify_id = g_idle_add ((GSourceFunc) xfpm_notify_show, n); | ||
2256 | 367 | } | ||
2257 | 368 | |||
2258 | 369 | void xfpm_notify_critical (XfpmNotify *notify, NotifyNotification *n) | ||
2259 | 370 | { | ||
2260 | 371 | g_return_if_fail (XFPM_IS_NOTIFY (notify)); | ||
2261 | 372 | |||
2262 | 373 | xfpm_notify_close_critical (notify); | ||
2263 | 374 | |||
2264 | 375 | notify->priv->critical = n; | ||
2265 | 376 | |||
2266 | 377 | g_signal_connect (G_OBJECT (n), "closed", | ||
2267 | 378 | G_CALLBACK (xfpm_notify_close_critical_cb), notify); | ||
2268 | 379 | |||
2269 | 380 | notify->priv->critical_id = g_idle_add ((GSourceFunc) xfpm_notify_show, n); | ||
2270 | 381 | } | ||
2271 | 382 | |||
2272 | 383 | void xfpm_notify_close_critical (XfpmNotify *notify) | ||
2273 | 384 | { | ||
2274 | 385 | g_return_if_fail (XFPM_IS_NOTIFY (notify)); | ||
2275 | 386 | |||
2276 | 387 | |||
2277 | 388 | if (notify->priv->critical_id != 0) | ||
2278 | 389 | { | ||
2279 | 390 | g_source_remove (notify->priv->critical_id); | ||
2280 | 391 | notify->priv->critical_id = 0; | ||
2281 | 392 | } | ||
2282 | 393 | |||
2283 | 394 | if ( notify->priv->critical ) | ||
2284 | 395 | { | ||
2285 | 396 | if (!notify_notification_close (notify->priv->critical, NULL)) | ||
2286 | 397 | g_warning ("Failed to close notification\n"); | ||
2287 | 398 | |||
2288 | 399 | g_object_unref (G_OBJECT(notify->priv->critical) ); | ||
2289 | 400 | notify->priv->critical = NULL; | ||
2290 | 401 | } | ||
2291 | 402 | } | ||
2292 | 403 | |||
2293 | 404 | void xfpm_notify_close_normal (XfpmNotify *notify) | ||
2294 | 405 | { | ||
2295 | 406 | g_return_if_fail (XFPM_IS_NOTIFY (notify)); | ||
2296 | 407 | |||
2297 | 408 | xfpm_notify_close_notification (notify); | ||
2298 | 409 | } | ||
2299 | 410 | 0 | ||
2300 | === removed directory '.pc/02_translations-fix-invalid-format-strings.patch' | |||
2301 | === removed directory '.pc/02_translations-fix-invalid-format-strings.patch/po' | |||
2302 | === removed file '.pc/02_translations-fix-invalid-format-strings.patch/po/en_GB.po' | |||
2303 | --- .pc/02_translations-fix-invalid-format-strings.patch/po/en_GB.po 2013-08-13 06:56:35 +0000 | |||
2304 | +++ .pc/02_translations-fix-invalid-format-strings.patch/po/en_GB.po 1970-01-01 00:00:00 +0000 | |||
2305 | @@ -1,1083 +0,0 @@ | |||
2306 | 1 | # en_GB translation for xfce4-power-manager. | ||
2307 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER | ||
2308 | 3 | # This file is distributed under the same license as the PACKAGE package. | ||
2309 | 4 | # Jeff Bailes <thepizzaking@gmail.com>, 2010. | ||
2310 | 5 | # | ||
2311 | 6 | msgid "" | ||
2312 | 7 | msgstr "" | ||
2313 | 8 | "Project-Id-Version: \n" | ||
2314 | 9 | "Report-Msgid-Bugs-To: \n" | ||
2315 | 10 | "POT-Creation-Date: 2012-04-22 22:51+0000\n" | ||
2316 | 11 | "PO-Revision-Date: 2010-12-24 14:21+1100\n" | ||
2317 | 12 | "Last-Translator: Jeff Bailes <thepizzaking@gmail.com>\n" | ||
2318 | 13 | "Language-Team: \n" | ||
2319 | 14 | "MIME-Version: 1.0\n" | ||
2320 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
2321 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
2322 | 17 | "Language: \n" | ||
2323 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
2324 | 19 | |||
2325 | 20 | #: ../data/interfaces/xfpm-settings.ui.h:1 | ||
2326 | 21 | msgid "<b>Actions</b>" | ||
2327 | 22 | msgstr "<b>Actions</b>" | ||
2328 | 23 | |||
2329 | 24 | #: ../data/interfaces/xfpm-settings.ui.h:2 | ||
2330 | 25 | msgid "<b>Advanced Options</b>" | ||
2331 | 26 | msgstr "<b>Advanced Options</b>" | ||
2332 | 27 | |||
2333 | 28 | #: ../data/interfaces/xfpm-settings.ui.h:3 | ||
2334 | 29 | msgid "<b>Brightness</b>" | ||
2335 | 30 | msgstr "<b>Brightness</b>" | ||
2336 | 31 | |||
2337 | 32 | #: ../data/interfaces/xfpm-settings.ui.h:4 | ||
2338 | 33 | msgid "<b>General Options</b>" | ||
2339 | 34 | msgstr "<b>General Options</b>" | ||
2340 | 35 | |||
2341 | 36 | #: ../data/interfaces/xfpm-settings.ui.h:5 | ||
2342 | 37 | msgid "<b>Monitor</b>" | ||
2343 | 38 | msgstr "<b>Monitor</b>" | ||
2344 | 39 | |||
2345 | 40 | #: ../data/interfaces/xfpm-settings.ui.h:6 | ||
2346 | 41 | msgid "Actions" | ||
2347 | 42 | msgstr "Actions" | ||
2348 | 43 | |||
2349 | 44 | #: ../data/interfaces/xfpm-settings.ui.h:7 | ||
2350 | 45 | msgid "Consider the computer on low power at:" | ||
2351 | 46 | msgstr "Consider the computer on low power at:" | ||
2352 | 47 | |||
2353 | 48 | #. Hibernate menu option | ||
2354 | 49 | #: ../data/interfaces/xfpm-settings.ui.h:8 ../settings/xfpm-settings.c:820 | ||
2355 | 50 | #: ../settings/xfpm-settings.c:888 ../settings/xfpm-settings.c:1037 | ||
2356 | 51 | #: ../settings/xfpm-settings.c:1214 ../settings/xfpm-settings.c:1271 | ||
2357 | 52 | #: ../settings/xfpm-settings.c:1323 ../src/xfpm-power.c:484 | ||
2358 | 53 | #: ../src/xfpm-power.c:779 | ||
2359 | 54 | msgid "Hibernate" | ||
2360 | 55 | msgstr "Hibernate" | ||
2361 | 56 | |||
2362 | 57 | #: ../data/interfaces/xfpm-settings.ui.h:9 | ||
2363 | 58 | msgid "Level:" | ||
2364 | 59 | msgstr "Level:" | ||
2365 | 60 | |||
2366 | 61 | #: ../data/interfaces/xfpm-settings.ui.h:10 | ||
2367 | 62 | msgid "Lock screen when going for suspend/hibernate" | ||
2368 | 63 | msgstr "Lock screen when going for suspend/hibernate" | ||
2369 | 64 | |||
2370 | 65 | #: ../data/interfaces/xfpm-settings.ui.h:11 ../src/xfpm-power-common.c:132 | ||
2371 | 66 | msgid "Monitor" | ||
2372 | 67 | msgstr "Monitor" | ||
2373 | 68 | |||
2374 | 69 | #: ../data/interfaces/xfpm-settings.ui.h:12 | ||
2375 | 70 | msgid "Monitor power management control" | ||
2376 | 71 | msgstr "Monitor power management control" | ||
2377 | 72 | |||
2378 | 73 | #: ../data/interfaces/xfpm-settings.ui.h:13 ../settings/xfpm-settings.c:809 | ||
2379 | 74 | #: ../settings/xfpm-settings.c:877 ../settings/xfpm-settings.c:1026 | ||
2380 | 75 | #: ../settings/xfpm-settings.c:1203 ../settings/xfpm-settings.c:1260 | ||
2381 | 76 | #: ../settings/xfpm-settings.c:1312 | ||
2382 | 77 | msgid "Nothing" | ||
2383 | 78 | msgstr "Nothing" | ||
2384 | 79 | |||
2385 | 80 | #: ../data/interfaces/xfpm-settings.ui.h:14 | ||
2386 | 81 | msgid "Power manager settings" | ||
2387 | 82 | msgstr "Power manager settings" | ||
2388 | 83 | |||
2389 | 84 | #: ../data/interfaces/xfpm-settings.ui.h:15 | ||
2390 | 85 | msgid "Prefer power savings over performance" | ||
2391 | 86 | msgstr "Prefer power savings over performance" | ||
2392 | 87 | |||
2393 | 88 | #: ../data/interfaces/xfpm-settings.ui.h:16 | ||
2394 | 89 | msgid "Put display to sleep when computer is inactive for:" | ||
2395 | 90 | msgstr "Put display to sleep when computer is inactive for:" | ||
2396 | 91 | |||
2397 | 92 | #: ../data/interfaces/xfpm-settings.ui.h:17 | ||
2398 | 93 | msgid "Put the computer to sleep when inactive for:" | ||
2399 | 94 | msgstr "Put the computer to sleep when inactive for:" | ||
2400 | 95 | |||
2401 | 96 | #: ../data/interfaces/xfpm-settings.ui.h:18 | ||
2402 | 97 | msgid "Reduce screen brightness when computer is inactive for:" | ||
2403 | 98 | msgstr "Reduce screen brightness when computer is inactive for:" | ||
2404 | 99 | |||
2405 | 100 | #: ../data/interfaces/xfpm-settings.ui.h:19 | ||
2406 | 101 | msgid "Set computer inactivity sleep mode:" | ||
2407 | 102 | msgstr "Set computer inactivity sleep mode:" | ||
2408 | 103 | |||
2409 | 104 | #: ../data/interfaces/xfpm-settings.ui.h:20 | ||
2410 | 105 | msgid "Set monitor sleep mode:" | ||
2411 | 106 | msgstr "Set monitor sleep mode:" | ||
2412 | 107 | |||
2413 | 108 | #: ../data/interfaces/xfpm-settings.ui.h:21 | ||
2414 | 109 | msgid "Show notifications to notify about the battery state" | ||
2415 | 110 | msgstr "Show notifications to notify about the battery state" | ||
2416 | 111 | |||
2417 | 112 | #: ../data/interfaces/xfpm-settings.ui.h:22 | ||
2418 | 113 | msgid "Spin down hard disks" | ||
2419 | 114 | msgstr "Spin down hard disks" | ||
2420 | 115 | |||
2421 | 116 | #: ../data/interfaces/xfpm-settings.ui.h:23 | ||
2422 | 117 | msgid "Standby" | ||
2423 | 118 | msgstr "Standby" | ||
2424 | 119 | |||
2425 | 120 | #. Suspend menu option | ||
2426 | 121 | #: ../data/interfaces/xfpm-settings.ui.h:24 ../settings/xfpm-settings.c:814 | ||
2427 | 122 | #: ../settings/xfpm-settings.c:882 ../settings/xfpm-settings.c:1031 | ||
2428 | 123 | #: ../settings/xfpm-settings.c:1208 ../settings/xfpm-settings.c:1265 | ||
2429 | 124 | #: ../settings/xfpm-settings.c:1317 ../src/xfpm-power.c:499 | ||
2430 | 125 | #: ../src/xfpm-power.c:792 | ||
2431 | 126 | msgid "Suspend" | ||
2432 | 127 | msgstr "Suspend" | ||
2433 | 128 | |||
2434 | 129 | #: ../data/interfaces/xfpm-settings.ui.h:25 | ||
2435 | 130 | msgid "Switch off display when computer is inactive for:" | ||
2436 | 131 | msgstr "Switch off display when computer is inactive for:" | ||
2437 | 132 | |||
2438 | 133 | #: ../data/interfaces/xfpm-settings.ui.h:26 | ||
2439 | 134 | msgid "System tray icon: " | ||
2440 | 135 | msgstr "System tray icon: " | ||
2441 | 136 | |||
2442 | 137 | #: ../data/interfaces/xfpm-settings.ui.h:27 | ||
2443 | 138 | msgid "When battery power is critical:" | ||
2444 | 139 | msgstr "When battery power is critical:" | ||
2445 | 140 | |||
2446 | 141 | #: ../data/interfaces/xfpm-settings.ui.h:28 | ||
2447 | 142 | msgid "When hibernate button is pressed:" | ||
2448 | 143 | msgstr "When hibernate button is pressed:" | ||
2449 | 144 | |||
2450 | 145 | #: ../data/interfaces/xfpm-settings.ui.h:29 | ||
2451 | 146 | msgid "When laptop lid is closed:" | ||
2452 | 147 | msgstr "When laptop lid is closed:" | ||
2453 | 148 | |||
2454 | 149 | #: ../data/interfaces/xfpm-settings.ui.h:30 | ||
2455 | 150 | msgid "When power button is pressed:" | ||
2456 | 151 | msgstr "When power button is pressed:" | ||
2457 | 152 | |||
2458 | 153 | #: ../data/interfaces/xfpm-settings.ui.h:31 | ||
2459 | 154 | msgid "When sleep button is pressed:" | ||
2460 | 155 | msgstr "When sleep button is pressed:" | ||
2461 | 156 | |||
2462 | 157 | #: ../data/interfaces/xfpm-settings.ui.h:32 | ||
2463 | 158 | #: ../settings/xfpm-settings-main.c:121 ../src/xfpm-main.c:413 | ||
2464 | 159 | msgid "Xfce Power Manager" | ||
2465 | 160 | msgstr "Xfce Power Manager" | ||
2466 | 161 | |||
2467 | 162 | #: ../settings/xfpm-settings.c:567 ../settings/xfpm-settings.c:582 | ||
2468 | 163 | #: ../settings/xfpm-settings.c:609 | ||
2469 | 164 | msgid "Never" | ||
2470 | 165 | msgstr "Never" | ||
2471 | 166 | |||
2472 | 167 | #: ../settings/xfpm-settings.c:570 | ||
2473 | 168 | msgid "One minute" | ||
2474 | 169 | msgstr "One minute" | ||
2475 | 170 | |||
2476 | 171 | #: ../settings/xfpm-settings.c:572 ../settings/xfpm-settings.c:584 | ||
2477 | 172 | msgid "Minutes" | ||
2478 | 173 | msgstr "Minutes" | ||
2479 | 174 | |||
2480 | 175 | #: ../settings/xfpm-settings.c:586 ../settings/xfpm-settings.c:593 | ||
2481 | 176 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:595 | ||
2482 | 177 | msgid "One hour" | ||
2483 | 178 | msgstr "One hour" | ||
2484 | 179 | |||
2485 | 180 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:598 | ||
2486 | 181 | msgid "one minute" | ||
2487 | 182 | msgstr "one minute" | ||
2488 | 183 | |||
2489 | 184 | #: ../settings/xfpm-settings.c:595 ../settings/xfpm-settings.c:599 | ||
2490 | 185 | msgid "minutes" | ||
2491 | 186 | msgstr "minutes" | ||
2492 | 187 | |||
2493 | 188 | #: ../settings/xfpm-settings.c:597 ../settings/xfpm-settings.c:598 | ||
2494 | 189 | #: ../settings/xfpm-settings.c:599 | ||
2495 | 190 | msgid "hours" | ||
2496 | 191 | msgstr "hours" | ||
2497 | 192 | |||
2498 | 193 | #: ../settings/xfpm-settings.c:611 | ||
2499 | 194 | msgid "Seconds" | ||
2500 | 195 | msgstr "Seconds" | ||
2501 | 196 | |||
2502 | 197 | #: ../settings/xfpm-settings.c:792 ../settings/xfpm-settings.c:990 | ||
2503 | 198 | #: ../settings/xfpm-settings.c:1470 | ||
2504 | 199 | msgid "Hibernate and suspend operations not supported" | ||
2505 | 200 | msgstr "Hibernate and suspend operations not supported" | ||
2506 | 201 | |||
2507 | 202 | #: ../settings/xfpm-settings.c:797 ../settings/xfpm-settings.c:995 | ||
2508 | 203 | #: ../settings/xfpm-settings.c:1475 | ||
2509 | 204 | msgid "Hibernate and suspend operations not permitted" | ||
2510 | 205 | msgstr "Hibernate and suspend operations not permitted" | ||
2511 | 206 | |||
2512 | 207 | #: ../settings/xfpm-settings.c:826 ../settings/xfpm-settings.c:1220 | ||
2513 | 208 | #: ../src/xfpm-power.c:805 | ||
2514 | 209 | msgid "Shutdown" | ||
2515 | 210 | msgstr "Shutdown" | ||
2516 | 211 | |||
2517 | 212 | #: ../settings/xfpm-settings.c:830 ../settings/xfpm-settings.c:1224 | ||
2518 | 213 | #: ../settings/xfpm-settings.c:1275 ../settings/xfpm-settings.c:1327 | ||
2519 | 214 | msgid "Ask" | ||
2520 | 215 | msgstr "Ask" | ||
2521 | 216 | |||
2522 | 217 | #: ../settings/xfpm-settings.c:892 ../settings/xfpm-settings.c:1041 | ||
2523 | 218 | msgid "Lock screen" | ||
2524 | 219 | msgstr "Lock screen" | ||
2525 | 220 | |||
2526 | 221 | #: ../settings/xfpm-settings.c:960 ../settings/xfpm-settings.c:1110 | ||
2527 | 222 | msgid "Spinning down hard disks permission denied" | ||
2528 | 223 | msgstr "Spinning down hard disks permission denied" | ||
2529 | 224 | |||
2530 | 225 | #: ../settings/xfpm-settings.c:1150 | ||
2531 | 226 | msgid "Always show icon" | ||
2532 | 227 | msgstr "Always show icon" | ||
2533 | 228 | |||
2534 | 229 | #: ../settings/xfpm-settings.c:1153 | ||
2535 | 230 | msgid "When battery is present" | ||
2536 | 231 | msgstr "When battery is present" | ||
2537 | 232 | |||
2538 | 233 | #: ../settings/xfpm-settings.c:1156 | ||
2539 | 234 | msgid "When battery is charging or discharging" | ||
2540 | 235 | msgstr "When battery is charging or discharging" | ||
2541 | 236 | |||
2542 | 237 | #: ../settings/xfpm-settings.c:1159 | ||
2543 | 238 | msgid "Never show icon" | ||
2544 | 239 | msgstr "Never show icon" | ||
2545 | 240 | |||
2546 | 241 | #: ../settings/xfpm-settings.c:1185 | ||
2547 | 242 | msgid "" | ||
2548 | 243 | "Disable Display Power Management Signaling (DPMS), e.g don't attempt to " | ||
2549 | 244 | "switch off the display or put it in sleep mode." | ||
2550 | 245 | msgstr "" | ||
2551 | 246 | "Disable Display Power Management Signaling (DPMS), e.g don't attempt to " | ||
2552 | 247 | "switch off the display or put it in sleep mode." | ||
2553 | 248 | |||
2554 | 249 | #: ../settings/xfpm-settings.c:1379 | ||
2555 | 250 | msgid "Suspend operation not supported" | ||
2556 | 251 | msgstr "Suspend operation not supported" | ||
2557 | 252 | |||
2558 | 253 | #: ../settings/xfpm-settings.c:1385 | ||
2559 | 254 | msgid "Suspend operation not permitted" | ||
2560 | 255 | msgstr "Suspend operation not permitted" | ||
2561 | 256 | |||
2562 | 257 | #: ../settings/xfpm-settings.c:1391 | ||
2563 | 258 | msgid "Hibernate operation not supported" | ||
2564 | 259 | msgstr "Hibernate operation not supported" | ||
2565 | 260 | |||
2566 | 261 | #: ../settings/xfpm-settings.c:1396 | ||
2567 | 262 | msgid "Hibernate operation not permitted" | ||
2568 | 263 | msgstr "Hibernate operation not permitted" | ||
2569 | 264 | |||
2570 | 265 | #: ../settings/xfpm-settings.c:1443 | ||
2571 | 266 | msgid "When all the power sources of the computer reach this charge level" | ||
2572 | 267 | msgstr "When all the power sources of the computer reach this charge level" | ||
2573 | 268 | |||
2574 | 269 | #: ../settings/xfpm-settings.c:1546 ../settings/xfpm-settings.c:1551 | ||
2575 | 270 | msgid "General" | ||
2576 | 271 | msgstr "General" | ||
2577 | 272 | |||
2578 | 273 | #: ../settings/xfpm-settings.c:1560 ../settings/xfpm-settings.c:1565 | ||
2579 | 274 | msgid "On AC" | ||
2580 | 275 | msgstr "On AC" | ||
2581 | 276 | |||
2582 | 277 | #: ../settings/xfpm-settings.c:1575 ../settings/xfpm-settings.c:1580 | ||
2583 | 278 | msgid "On Battery" | ||
2584 | 279 | msgstr "On Battery" | ||
2585 | 280 | |||
2586 | 281 | #: ../settings/xfpm-settings.c:1589 ../settings/xfpm-settings.c:1594 | ||
2587 | 282 | msgid "Extended" | ||
2588 | 283 | msgstr "Extended" | ||
2589 | 284 | |||
2590 | 285 | #: ../settings/xfpm-settings.c:1662 | ||
2591 | 286 | msgid "Check your power manager installation" | ||
2592 | 287 | msgstr "Check your power manager installation" | ||
2593 | 288 | |||
2594 | 289 | #: ../settings/xfpm-settings-main.c:78 | ||
2595 | 290 | msgid "Settings manager socket" | ||
2596 | 291 | msgstr "Settings manager socket" | ||
2597 | 292 | |||
2598 | 293 | #: ../settings/xfpm-settings-main.c:78 | ||
2599 | 294 | msgid "SOCKET ID" | ||
2600 | 295 | msgstr "SOCKET ID" | ||
2601 | 296 | |||
2602 | 297 | #: ../settings/xfpm-settings-main.c:89 ../src/xfpm-main.c:289 | ||
2603 | 298 | #: ../src/xfpm-power-info.c:946 | ||
2604 | 299 | #, c-format | ||
2605 | 300 | msgid "Type '%s --help' for usage." | ||
2606 | 301 | msgstr "Type '%s --help' for usage." | ||
2607 | 302 | |||
2608 | 303 | #: ../settings/xfpm-settings-main.c:123 | ||
2609 | 304 | msgid "Failed to load power manager configuration, using defaults" | ||
2610 | 305 | msgstr "Failed to load power manager configuration, using defaults" | ||
2611 | 306 | |||
2612 | 307 | #: ../settings/xfpm-settings-main.c:148 | ||
2613 | 308 | msgid "Unable to connect to Xfce Power Manager" | ||
2614 | 309 | msgstr "Unable to connect to Xfce Power Manager" | ||
2615 | 310 | |||
2616 | 311 | #: ../settings/xfpm-settings-main.c:190 ../src/xfpm-main.c:329 | ||
2617 | 312 | #, c-format | ||
2618 | 313 | msgid "Xfce power manager is not running" | ||
2619 | 314 | msgstr "Xfce power manager is not running" | ||
2620 | 315 | |||
2621 | 316 | #: ../settings/xfpm-settings-main.c:195 | ||
2622 | 317 | msgid "Run" | ||
2623 | 318 | msgstr "Run" | ||
2624 | 319 | |||
2625 | 320 | #: ../settings/xfpm-settings-main.c:196 | ||
2626 | 321 | msgid "Xfce4 Power Manager is not running, do you want to launch it now?" | ||
2627 | 322 | msgstr "Xfce4 Power Manager is not running, do you want to launch it now?" | ||
2628 | 323 | |||
2629 | 324 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:1 | ||
2630 | 325 | #: ../src/xfpm-power.c:307 ../src/xfpm-power.c:595 ../src/xfpm-power.c:730 | ||
2631 | 326 | #: ../src/xfpm-power.c:766 ../src/xfpm-power.c:935 ../src/xfpm-power.c:959 | ||
2632 | 327 | #: ../src/xfpm-battery.c:351 ../src/xfce4-power-manager.desktop.in.h:1 | ||
2633 | 328 | msgid "Power Manager" | ||
2634 | 329 | msgstr "Power Manager" | ||
2635 | 330 | |||
2636 | 331 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:2 | ||
2637 | 332 | msgid "Settings for the Xfce Power Manager" | ||
2638 | 333 | msgstr "Settings for the Xfce Power Manager" | ||
2639 | 334 | |||
2640 | 335 | #: ../common/xfpm-common.c:155 | ||
2641 | 336 | msgid "translator-credits" | ||
2642 | 337 | msgstr "Jeff Bailes <thepizzaking@gmail.com>, 2010" | ||
2643 | 338 | |||
2644 | 339 | #: ../src/xfpm-power.c:328 | ||
2645 | 340 | msgid "_Hibernate" | ||
2646 | 341 | msgstr "_Hibernate" | ||
2647 | 342 | |||
2648 | 343 | #: ../src/xfpm-power.c:329 | ||
2649 | 344 | msgid "" | ||
2650 | 345 | "An application is currently disabling the automatic sleep. Doing this action " | ||
2651 | 346 | "now may damage the working state of this application." | ||
2652 | 347 | msgstr "" | ||
2653 | 348 | "An application is currently disabling the automatic sleep, doing this action " | ||
2654 | 349 | "now may damage the working state of this application, are you sure you want " | ||
2655 | 350 | "to hibernate the system?" | ||
2656 | 351 | |||
2657 | 352 | #: ../src/xfpm-power.c:331 | ||
2658 | 353 | msgid "Are you sure you want to hibernate the system?" | ||
2659 | 354 | msgstr "Are you sure you want to hibernate the system?" | ||
2660 | 355 | |||
2661 | 356 | #: ../src/xfpm-power.c:426 | ||
2662 | 357 | msgid "Quit" | ||
2663 | 358 | msgstr "Quit" | ||
2664 | 359 | |||
2665 | 360 | #: ../src/xfpm-power.c:427 | ||
2666 | 361 | msgid "All running instances of the power manager will exit" | ||
2667 | 362 | msgstr "All running instances of the power manager will exit" | ||
2668 | 363 | |||
2669 | 364 | #: ../src/xfpm-power.c:429 | ||
2670 | 365 | msgid "Quit the power manager?" | ||
2671 | 366 | msgstr "Quit the power manager?" | ||
2672 | 367 | |||
2673 | 368 | #. Power information | ||
2674 | 369 | #: ../src/xfpm-power.c:534 ../src/xfpm-power-info.c:818 | ||
2675 | 370 | msgid "Power Information" | ||
2676 | 371 | msgstr "Power Information" | ||
2677 | 372 | |||
2678 | 373 | #. * | ||
2679 | 374 | #. * Power Mode | ||
2680 | 375 | #. * | ||
2681 | 376 | #. TRANSLATOR: Mode here is the power profile (presentation, power save, | ||
2682 | 377 | #. normal) | ||
2683 | 378 | #: ../src/xfpm-power.c:550 | ||
2684 | 379 | msgid "Mode" | ||
2685 | 380 | msgstr "Mode" | ||
2686 | 381 | |||
2687 | 382 | #. Normal | ||
2688 | 383 | #: ../src/xfpm-power.c:561 | ||
2689 | 384 | msgid "Normal" | ||
2690 | 385 | msgstr "Normal" | ||
2691 | 386 | |||
2692 | 387 | #. Normal | ||
2693 | 388 | #: ../src/xfpm-power.c:571 | ||
2694 | 389 | msgid "Presentation" | ||
2695 | 390 | msgstr "Presentation" | ||
2696 | 391 | |||
2697 | 392 | #: ../src/xfpm-power.c:693 | ||
2698 | 393 | msgid "Hibernate the system" | ||
2699 | 394 | msgstr "Hibernate the system" | ||
2700 | 395 | |||
2701 | 396 | #: ../src/xfpm-power.c:704 | ||
2702 | 397 | msgid "Suspend the system" | ||
2703 | 398 | msgstr "Suspend the system" | ||
2704 | 399 | |||
2705 | 400 | #: ../src/xfpm-power.c:714 | ||
2706 | 401 | msgid "Shutdown the system" | ||
2707 | 402 | msgstr "Shutdown the system" | ||
2708 | 403 | |||
2709 | 404 | #: ../src/xfpm-power.c:725 ../src/xfpm-power.c:763 | ||
2710 | 405 | msgid "System is running on low power. Save your work to avoid losing data" | ||
2711 | 406 | msgstr "System is running on low power. Save your work to avoid losing data" | ||
2712 | 407 | |||
2713 | 408 | #: ../src/xfpm-power.c:936 | ||
2714 | 409 | msgid "System is running on low power" | ||
2715 | 410 | msgstr "System is running on low power" | ||
2716 | 411 | |||
2717 | 412 | #: ../src/xfpm-power.c:955 | ||
2718 | 413 | #, c-format | ||
2719 | 414 | msgid "" | ||
2720 | 415 | "Your %s charge level is low\n" | ||
2721 | 416 | "Estimated time left %s" | ||
2722 | 417 | msgstr "" | ||
2723 | 418 | "Your %s charge level is low\n" | ||
2724 | 419 | "Estimated time left %s" | ||
2725 | 420 | |||
2726 | 421 | #: ../src/xfpm-power.c:1158 ../src/xfpm-power.c:1163 | ||
2727 | 422 | msgid "Adaptor is offline" | ||
2728 | 423 | msgstr "Adapter is offline" | ||
2729 | 424 | |||
2730 | 425 | #: ../src/xfpm-power.c:1159 ../src/xfpm-power.c:1164 ../src/xfpm-battery.c:413 | ||
2731 | 426 | #, c-format | ||
2732 | 427 | msgid "Adaptor is online" | ||
2733 | 428 | msgstr "Adapter is online" | ||
2734 | 429 | |||
2735 | 430 | #: ../src/xfpm-power.c:1617 ../src/xfpm-power.c:1638 ../src/xfpm-power.c:1653 | ||
2736 | 431 | #: ../src/xfpm-power.c:1676 | ||
2737 | 432 | #, c-format | ||
2738 | 433 | msgid "Permission denied" | ||
2739 | 434 | msgstr "Permission denied" | ||
2740 | 435 | |||
2741 | 436 | #: ../src/xfpm-power.c:1661 ../src/xfpm-power.c:1684 | ||
2742 | 437 | #, c-format | ||
2743 | 438 | msgid "Suspend not supported" | ||
2744 | 439 | msgstr "Suspend not supported" | ||
2745 | 440 | |||
2746 | 441 | #: ../src/xfpm-power-common.c:122 ../src/xfpm-power-common.c:141 | ||
2747 | 442 | msgid "Battery" | ||
2748 | 443 | msgstr "Battery" | ||
2749 | 444 | |||
2750 | 445 | #: ../src/xfpm-power-common.c:124 ../src/xfpm-battery.c:832 | ||
2751 | 446 | msgid "UPS" | ||
2752 | 447 | msgstr "UPS" | ||
2753 | 448 | |||
2754 | 449 | #: ../src/xfpm-power-common.c:126 | ||
2755 | 450 | msgid "Line power" | ||
2756 | 451 | msgstr "Line power" | ||
2757 | 452 | |||
2758 | 453 | #: ../src/xfpm-power-common.c:128 | ||
2759 | 454 | msgid "Mouse" | ||
2760 | 455 | msgstr "Mouse" | ||
2761 | 456 | |||
2762 | 457 | #: ../src/xfpm-power-common.c:130 | ||
2763 | 458 | msgid "Keyboard" | ||
2764 | 459 | msgstr "Keyboard" | ||
2765 | 460 | |||
2766 | 461 | #: ../src/xfpm-power-common.c:134 | ||
2767 | 462 | msgid "PDA" | ||
2768 | 463 | msgstr "PDA" | ||
2769 | 464 | |||
2770 | 465 | #: ../src/xfpm-power-common.c:136 | ||
2771 | 466 | msgid "Phone" | ||
2772 | 467 | msgstr "Phone" | ||
2773 | 468 | |||
2774 | 469 | #: ../src/xfpm-power-common.c:138 ../src/xfpm-power-common.c:153 | ||
2775 | 470 | #: ../src/xfpm-power-common.c:168 ../src/xfpm-battery.c:850 | ||
2776 | 471 | msgid "Unknown" | ||
2777 | 472 | msgstr "Unknown" | ||
2778 | 473 | |||
2779 | 474 | #: ../src/xfpm-power-common.c:155 | ||
2780 | 475 | msgid "Lithium ion" | ||
2781 | 476 | msgstr "Lithium ion" | ||
2782 | 477 | |||
2783 | 478 | #: ../src/xfpm-power-common.c:157 | ||
2784 | 479 | msgid "Lithium polymer" | ||
2785 | 480 | msgstr "Lithium polymer" | ||
2786 | 481 | |||
2787 | 482 | #: ../src/xfpm-power-common.c:159 | ||
2788 | 483 | msgid "Lithium iron phosphate" | ||
2789 | 484 | msgstr "Lithium iron phosphate" | ||
2790 | 485 | |||
2791 | 486 | #: ../src/xfpm-power-common.c:161 | ||
2792 | 487 | msgid "Lead acid" | ||
2793 | 488 | msgstr "Lead acid" | ||
2794 | 489 | |||
2795 | 490 | #: ../src/xfpm-power-common.c:163 | ||
2796 | 491 | msgid "Nickel cadmium" | ||
2797 | 492 | msgstr "Nickel cadmium" | ||
2798 | 493 | |||
2799 | 494 | #: ../src/xfpm-power-common.c:165 | ||
2800 | 495 | msgid "Nickel metal hybride" | ||
2801 | 496 | msgstr "Nickel metal hybride" | ||
2802 | 497 | |||
2803 | 498 | #: ../src/xfpm-battery.c:171 | ||
2804 | 499 | msgid "Unknown time" | ||
2805 | 500 | msgstr "Unknown time" | ||
2806 | 501 | |||
2807 | 502 | #: ../src/xfpm-battery.c:177 | ||
2808 | 503 | #, c-format | ||
2809 | 504 | msgid "%i minute" | ||
2810 | 505 | msgid_plural "%i minutes" | ||
2811 | 506 | msgstr[0] "%i minute" | ||
2812 | 507 | msgstr[1] "%i minutes" | ||
2813 | 508 | |||
2814 | 509 | #: ../src/xfpm-battery.c:188 | ||
2815 | 510 | #, c-format | ||
2816 | 511 | msgid "%i hour" | ||
2817 | 512 | msgid_plural "%i hours" | ||
2818 | 513 | msgstr[0] "%i hour" | ||
2819 | 514 | msgstr[1] "%i hours" | ||
2820 | 515 | |||
2821 | 516 | #. TRANSLATOR: "%i %s %i %s" are "%i hours %i minutes" | ||
2822 | 517 | #. * Swap order with "%2$s %2$i %1$s %1$i if needed | ||
2823 | 518 | #: ../src/xfpm-battery.c:194 | ||
2824 | 519 | #, c-format | ||
2825 | 520 | msgid "%i %s %i %s" | ||
2826 | 521 | msgstr "%i %s %i %s" | ||
2827 | 522 | |||
2828 | 523 | #: ../src/xfpm-battery.c:195 | ||
2829 | 524 | msgid "hour" | ||
2830 | 525 | msgid_plural "hours" | ||
2831 | 526 | msgstr[0] "hour" | ||
2832 | 527 | msgstr[1] "hours" | ||
2833 | 528 | |||
2834 | 529 | #: ../src/xfpm-battery.c:196 | ||
2835 | 530 | msgid "minute" | ||
2836 | 531 | msgid_plural "minutes" | ||
2837 | 532 | msgstr[0] "minute" | ||
2838 | 533 | msgstr[1] "minutes" | ||
2839 | 534 | |||
2840 | 535 | #: ../src/xfpm-battery.c:211 ../src/xfpm-battery.c:262 | ||
2841 | 536 | #, c-format | ||
2842 | 537 | msgid "Your %s is fully charged" | ||
2843 | 538 | msgstr "Your %s is fully charged" | ||
2844 | 539 | |||
2845 | 540 | #: ../src/xfpm-battery.c:214 ../src/xfpm-battery.c:265 | ||
2846 | 541 | #, c-format | ||
2847 | 542 | msgid "Your %s is charging" | ||
2848 | 543 | msgstr "Your %s is charging" | ||
2849 | 544 | |||
2850 | 545 | #: ../src/xfpm-battery.c:224 | ||
2851 | 546 | #, c-format | ||
2852 | 547 | msgid "" | ||
2853 | 548 | "%s (%i%%)\n" | ||
2854 | 549 | "%s until is fully charged." | ||
2855 | 550 | msgstr "" | ||
2856 | 551 | "%s\n" | ||
2857 | 552 | "Your %s is charging (%i%%)\n" | ||
2858 | 553 | "%s until is fully charged." | ||
2859 | 554 | |||
2860 | 555 | #: ../src/xfpm-battery.c:232 ../src/xfpm-battery.c:268 | ||
2861 | 556 | #, c-format | ||
2862 | 557 | msgid "Your %s is discharging" | ||
2863 | 558 | msgstr "Your %s is discharging" | ||
2864 | 559 | |||
2865 | 560 | #: ../src/xfpm-battery.c:234 | ||
2866 | 561 | #, c-format | ||
2867 | 562 | msgid "System is running on %s power" | ||
2868 | 563 | msgstr "System is running on %s power" | ||
2869 | 564 | |||
2870 | 565 | #: ../src/xfpm-battery.c:244 | ||
2871 | 566 | #, c-format | ||
2872 | 567 | msgid "" | ||
2873 | 568 | "%s (%i%%)\n" | ||
2874 | 569 | "Estimated time left is %s." | ||
2875 | 570 | msgstr "" | ||
2876 | 571 | "%s\n" | ||
2877 | 572 | "Your %s is discharging (%i%%)\n" | ||
2878 | 573 | "Estimated time left is %s." | ||
2879 | 574 | |||
2880 | 575 | #: ../src/xfpm-battery.c:250 ../src/xfpm-battery.c:271 | ||
2881 | 576 | #, c-format | ||
2882 | 577 | msgid "Your %s is empty" | ||
2883 | 578 | msgstr "Your %s is empty" | ||
2884 | 579 | |||
2885 | 580 | #: ../src/xfpm-battery.c:413 | ||
2886 | 581 | #, c-format | ||
2887 | 582 | msgid "System is running on battery power" | ||
2888 | 583 | msgstr "System is running on battery power" | ||
2889 | 584 | |||
2890 | 585 | #: ../src/xfpm-battery.c:420 | ||
2891 | 586 | #, c-format | ||
2892 | 587 | msgid "" | ||
2893 | 588 | "%s\n" | ||
2894 | 589 | "Your %s is fully charged (%i%%).\n" | ||
2895 | 590 | "Provides %s runtime" | ||
2896 | 591 | msgstr "" | ||
2897 | 592 | "%s\n" | ||
2898 | 593 | "Your %s is fully charged (%i%%).\n" | ||
2899 | 594 | "Provides %s runtime" | ||
2900 | 595 | |||
2901 | 596 | #: ../src/xfpm-battery.c:429 | ||
2902 | 597 | #, c-format | ||
2903 | 598 | msgid "" | ||
2904 | 599 | "%s\n" | ||
2905 | 600 | "Your %s is fully charged (%i%%)." | ||
2906 | 601 | msgstr "" | ||
2907 | 602 | "%s\n" | ||
2908 | 603 | "Your %s is fully charged (%i%%)." | ||
2909 | 604 | |||
2910 | 605 | #: ../src/xfpm-battery.c:440 | ||
2911 | 606 | #, c-format | ||
2912 | 607 | msgid "" | ||
2913 | 608 | "%s\n" | ||
2914 | 609 | "Your %s is charging (%i%%)\n" | ||
2915 | 610 | "%s until is fully charged." | ||
2916 | 611 | msgstr "" | ||
2917 | 612 | "%s\n" | ||
2918 | 613 | "Your %s is charging (%i%%)\n" | ||
2919 | 614 | "%s until is fully charged." | ||
2920 | 615 | |||
2921 | 616 | #: ../src/xfpm-battery.c:449 | ||
2922 | 617 | #, c-format | ||
2923 | 618 | msgid "" | ||
2924 | 619 | "%s\n" | ||
2925 | 620 | "Your %s is charging (%i%%)." | ||
2926 | 621 | msgstr "" | ||
2927 | 622 | "%s\n" | ||
2928 | 623 | "Your %s is charging (%i%%)." | ||
2929 | 624 | |||
2930 | 625 | #: ../src/xfpm-battery.c:460 | ||
2931 | 626 | #, c-format | ||
2932 | 627 | msgid "" | ||
2933 | 628 | "%s\n" | ||
2934 | 629 | "Your %s is discharging (%i%%)\n" | ||
2935 | 630 | "Estimated time left is %s." | ||
2936 | 631 | msgstr "" | ||
2937 | 632 | "%s\n" | ||
2938 | 633 | "Your %s is discharging (%i%%)\n" | ||
2939 | 634 | "Estimated time left is %s." | ||
2940 | 635 | |||
2941 | 636 | #: ../src/xfpm-battery.c:469 | ||
2942 | 637 | #, c-format | ||
2943 | 638 | msgid "" | ||
2944 | 639 | "%s\n" | ||
2945 | 640 | "Your %s is discharging (%i%%)." | ||
2946 | 641 | msgstr "" | ||
2947 | 642 | "%s\n" | ||
2948 | 643 | "Your %s is discharging (%i%%)." | ||
2949 | 644 | |||
2950 | 645 | #: ../src/xfpm-battery.c:478 | ||
2951 | 646 | #, c-format | ||
2952 | 647 | msgid "" | ||
2953 | 648 | "%s\n" | ||
2954 | 649 | "%s waiting to discharge (%i%%)." | ||
2955 | 650 | msgstr "" | ||
2956 | 651 | "%s\n" | ||
2957 | 652 | "%s waiting to discharge (%i%%)." | ||
2958 | 653 | |||
2959 | 654 | #: ../src/xfpm-battery.c:482 | ||
2960 | 655 | #, c-format | ||
2961 | 656 | msgid "" | ||
2962 | 657 | "%s\n" | ||
2963 | 658 | "%s waiting to charge (%i%%)." | ||
2964 | 659 | msgstr "" | ||
2965 | 660 | "%s\n" | ||
2966 | 661 | "%s waiting to charge (%i%%)." | ||
2967 | 662 | |||
2968 | 663 | #: ../src/xfpm-battery.c:486 | ||
2969 | 664 | #, c-format | ||
2970 | 665 | msgid "" | ||
2971 | 666 | "%s\n" | ||
2972 | 667 | "Your %s is empty" | ||
2973 | 668 | msgstr "" | ||
2974 | 669 | "%s\n" | ||
2975 | 670 | "Your %s is empty" | ||
2976 | 671 | |||
2977 | 672 | #: ../src/xfpm-battery.c:829 | ||
2978 | 673 | msgid "battery" | ||
2979 | 674 | msgstr "battery" | ||
2980 | 675 | |||
2981 | 676 | #: ../src/xfpm-battery.c:835 | ||
2982 | 677 | msgid "monitor battery" | ||
2983 | 678 | msgstr "monitor battery" | ||
2984 | 679 | |||
2985 | 680 | #: ../src/xfpm-battery.c:838 | ||
2986 | 681 | msgid "mouse battery" | ||
2987 | 682 | msgstr "mouse battery" | ||
2988 | 683 | |||
2989 | 684 | #: ../src/xfpm-battery.c:841 | ||
2990 | 685 | msgid "keyboard battery" | ||
2991 | 686 | msgstr "keyboard battery" | ||
2992 | 687 | |||
2993 | 688 | #: ../src/xfpm-battery.c:844 | ||
2994 | 689 | msgid "PDA battery" | ||
2995 | 690 | msgstr "PDA battery" | ||
2996 | 691 | |||
2997 | 692 | #: ../src/xfpm-battery.c:847 | ||
2998 | 693 | msgid "Phone battery" | ||
2999 | 694 | msgstr "Phone battery" | ||
3000 | 695 | |||
3001 | 696 | #: ../src/xfpm-main.c:53 ../src/xfpm-power-info.c:93 | ||
3002 | 697 | #, c-format | ||
3003 | 698 | msgid "" | ||
3004 | 699 | "\n" | ||
3005 | 700 | "Xfce Power Manager %s\n" | ||
3006 | 701 | "\n" | ||
3007 | 702 | "Part of the Xfce Goodies Project\n" | ||
3008 | 703 | "http://goodies.xfce.org\n" | ||
3009 | 704 | "\n" | ||
3010 | 705 | "Licensed under the GNU GPL.\n" | ||
3011 | 706 | "\n" | ||
3012 | 707 | msgstr "" | ||
3013 | 708 | "\n" | ||
3014 | 709 | "Xfce Power Manager %s\n" | ||
3015 | 710 | "\n" | ||
3016 | 711 | "Part of the Xfce Goodies Project\n" | ||
3017 | 712 | "http://goodies.xfce.org\n" | ||
3018 | 713 | "\n" | ||
3019 | 714 | "Licensed under the GNU GPL.\n" | ||
3020 | 715 | "\n" | ||
3021 | 716 | |||
3022 | 717 | #: ../src/xfpm-main.c:76 ../src/xfpm-power-info.c:376 | ||
3023 | 718 | msgid "True" | ||
3024 | 719 | msgstr "True" | ||
3025 | 720 | |||
3026 | 721 | #: ../src/xfpm-main.c:76 ../src/xfpm-power-info.c:376 | ||
3027 | 722 | msgid "False" | ||
3028 | 723 | msgstr "False" | ||
3029 | 724 | |||
3030 | 725 | #: ../src/xfpm-main.c:113 | ||
3031 | 726 | #, c-format | ||
3032 | 727 | msgid "With policykit support\n" | ||
3033 | 728 | msgstr "With policykit support\n" | ||
3034 | 729 | |||
3035 | 730 | #: ../src/xfpm-main.c:115 | ||
3036 | 731 | #, c-format | ||
3037 | 732 | msgid "Without policykit support\n" | ||
3038 | 733 | msgstr "Without policykit support\n" | ||
3039 | 734 | |||
3040 | 735 | #: ../src/xfpm-main.c:118 | ||
3041 | 736 | #, c-format | ||
3042 | 737 | msgid "With network manager support\n" | ||
3043 | 738 | msgstr "With network manager support\n" | ||
3044 | 739 | |||
3045 | 740 | #: ../src/xfpm-main.c:120 | ||
3046 | 741 | #, c-format | ||
3047 | 742 | msgid "Without network manager support\n" | ||
3048 | 743 | msgstr "Without network manager support\n" | ||
3049 | 744 | |||
3050 | 745 | #: ../src/xfpm-main.c:123 | ||
3051 | 746 | #, c-format | ||
3052 | 747 | msgid "With DPMS support\n" | ||
3053 | 748 | msgstr "With DPMS support\n" | ||
3054 | 749 | |||
3055 | 750 | #: ../src/xfpm-main.c:125 | ||
3056 | 751 | #, c-format | ||
3057 | 752 | msgid "Without DPMS support\n" | ||
3058 | 753 | msgstr "Without DPMS support\n" | ||
3059 | 754 | |||
3060 | 755 | #: ../src/xfpm-main.c:141 | ||
3061 | 756 | msgid "Can suspend" | ||
3062 | 757 | msgstr "Can suspend" | ||
3063 | 758 | |||
3064 | 759 | #: ../src/xfpm-main.c:143 | ||
3065 | 760 | msgid "Can hibernate" | ||
3066 | 761 | msgstr "Can hibernate" | ||
3067 | 762 | |||
3068 | 763 | #: ../src/xfpm-main.c:145 | ||
3069 | 764 | msgid "Can spin down hard disks" | ||
3070 | 765 | msgstr "Can spin down hard disks" | ||
3071 | 766 | |||
3072 | 767 | #: ../src/xfpm-main.c:147 | ||
3073 | 768 | msgid "Authorized to suspend" | ||
3074 | 769 | msgstr "Authorised to suspend" | ||
3075 | 770 | |||
3076 | 771 | #: ../src/xfpm-main.c:149 | ||
3077 | 772 | msgid "Authorized to hibernate" | ||
3078 | 773 | msgstr "Authorised to hibernate" | ||
3079 | 774 | |||
3080 | 775 | #: ../src/xfpm-main.c:151 | ||
3081 | 776 | msgid "Authorized to shutdown" | ||
3082 | 777 | msgstr "Authorised to shutdown" | ||
3083 | 778 | |||
3084 | 779 | #: ../src/xfpm-main.c:153 | ||
3085 | 780 | msgid "Authorized to spin down hard disks" | ||
3086 | 781 | msgstr "Authorised to spin down hard disks" | ||
3087 | 782 | |||
3088 | 783 | #: ../src/xfpm-main.c:155 | ||
3089 | 784 | msgid "Has battery" | ||
3090 | 785 | msgstr "Has battery" | ||
3091 | 786 | |||
3092 | 787 | #: ../src/xfpm-main.c:157 | ||
3093 | 788 | msgid "Has brightness panel" | ||
3094 | 789 | msgstr "Has brightness panel" | ||
3095 | 790 | |||
3096 | 791 | #: ../src/xfpm-main.c:159 | ||
3097 | 792 | msgid "Has power button" | ||
3098 | 793 | msgstr "Has power button" | ||
3099 | 794 | |||
3100 | 795 | #: ../src/xfpm-main.c:161 | ||
3101 | 796 | msgid "Has hibernate button" | ||
3102 | 797 | msgstr "Has hibernate button" | ||
3103 | 798 | |||
3104 | 799 | #: ../src/xfpm-main.c:163 | ||
3105 | 800 | msgid "Has sleep button" | ||
3106 | 801 | msgstr "Has sleep button" | ||
3107 | 802 | |||
3108 | 803 | #: ../src/xfpm-main.c:165 | ||
3109 | 804 | msgid "Has LID" | ||
3110 | 805 | msgstr "Has LID" | ||
3111 | 806 | |||
3112 | 807 | #: ../src/xfpm-main.c:264 | ||
3113 | 808 | msgid "Do not daemonize" | ||
3114 | 809 | msgstr "Do not daemonise" | ||
3115 | 810 | |||
3116 | 811 | #: ../src/xfpm-main.c:265 | ||
3117 | 812 | msgid "Enable debugging" | ||
3118 | 813 | msgstr "Enable debugging" | ||
3119 | 814 | |||
3120 | 815 | #: ../src/xfpm-main.c:266 | ||
3121 | 816 | msgid "Dump all information" | ||
3122 | 817 | msgstr "Dump all information" | ||
3123 | 818 | |||
3124 | 819 | #: ../src/xfpm-main.c:267 | ||
3125 | 820 | msgid "Restart the running instance of Xfce power manager" | ||
3126 | 821 | msgstr "Restart the running instance of Xfce power manager" | ||
3127 | 822 | |||
3128 | 823 | #: ../src/xfpm-main.c:268 | ||
3129 | 824 | msgid "Show the configuration dialog" | ||
3130 | 825 | msgstr "Show the configuration dialogue" | ||
3131 | 826 | |||
3132 | 827 | #: ../src/xfpm-main.c:269 | ||
3133 | 828 | msgid "Quit any running xfce power manager" | ||
3134 | 829 | msgstr "Quit any running xfce power manager" | ||
3135 | 830 | |||
3136 | 831 | #: ../src/xfpm-main.c:270 ../src/xfpm-power-info.c:933 | ||
3137 | 832 | msgid "Version information" | ||
3138 | 833 | msgstr "Version information" | ||
3139 | 834 | |||
3140 | 835 | #: ../src/xfpm-main.c:320 | ||
3141 | 836 | msgid "Unable to get connection to the message bus session" | ||
3142 | 837 | msgstr "Unable to get connection to the message bus session" | ||
3143 | 838 | |||
3144 | 839 | #: ../src/xfpm-main.c:414 | ||
3145 | 840 | msgid "Another power manager is already running" | ||
3146 | 841 | msgstr "Another power manager is already running" | ||
3147 | 842 | |||
3148 | 843 | #: ../src/xfpm-main.c:420 | ||
3149 | 844 | #, c-format | ||
3150 | 845 | msgid "Xfce power manager is already running" | ||
3151 | 846 | msgstr "Xfce power manager is already running" | ||
3152 | 847 | |||
3153 | 848 | #: ../src/xfpm-inhibit.c:331 | ||
3154 | 849 | #, c-format | ||
3155 | 850 | msgid "Invalid arguments" | ||
3156 | 851 | msgstr "Invalid arguments" | ||
3157 | 852 | |||
3158 | 853 | #: ../src/xfpm-inhibit.c:357 | ||
3159 | 854 | #, c-format | ||
3160 | 855 | msgid "Invalid cookie" | ||
3161 | 856 | msgstr "Invalid cookie" | ||
3162 | 857 | |||
3163 | 858 | #. TRANSLATORS: the command line was not provided | ||
3164 | 859 | #: ../src/xfpm-power-info.c:118 | ||
3165 | 860 | msgid "No data" | ||
3166 | 861 | msgstr "No data" | ||
3167 | 862 | |||
3168 | 863 | #. TRANSLATORS: kernel module, usually a device driver | ||
3169 | 864 | #: ../src/xfpm-power-info.c:125 ../src/xfpm-power-info.c:130 | ||
3170 | 865 | msgid "Kernel module" | ||
3171 | 866 | msgstr "Kernel module" | ||
3172 | 867 | |||
3173 | 868 | #. TRANSLATORS: kernel housekeeping | ||
3174 | 869 | #: ../src/xfpm-power-info.c:135 | ||
3175 | 870 | msgid "Kernel core" | ||
3176 | 871 | msgstr "Kernel core" | ||
3177 | 872 | |||
3178 | 873 | #. TRANSLATORS: interrupt between processors | ||
3179 | 874 | #: ../src/xfpm-power-info.c:140 | ||
3180 | 875 | msgid "Interprocessor interrupt" | ||
3181 | 876 | msgstr "Interprocessor interrupt" | ||
3182 | 877 | |||
3183 | 878 | #. TRANSLATORS: unknown interrupt | ||
3184 | 879 | #: ../src/xfpm-power-info.c:145 | ||
3185 | 880 | msgid "Interrupt" | ||
3186 | 881 | msgstr "Interrupt" | ||
3187 | 882 | |||
3188 | 883 | #. TRANSLATORS: the keyboard and mouse device event | ||
3189 | 884 | #: ../src/xfpm-power-info.c:189 | ||
3190 | 885 | msgid "PS/2 keyboard/mouse/touchpad" | ||
3191 | 886 | msgstr "PS/2 keyboard/mouse/touchpad" | ||
3192 | 887 | |||
3193 | 888 | #. TRANSLATORS: ACPI, the Intel power standard on laptops and desktops | ||
3194 | 889 | #: ../src/xfpm-power-info.c:192 | ||
3195 | 890 | msgid "ACPI" | ||
3196 | 891 | msgstr "ACPI" | ||
3197 | 892 | |||
3198 | 893 | #. TRANSLATORS: serial ATA is a new style of hard disk interface | ||
3199 | 894 | #: ../src/xfpm-power-info.c:195 | ||
3200 | 895 | msgid "Serial ATA" | ||
3201 | 896 | msgstr "Serial ATA" | ||
3202 | 897 | |||
3203 | 898 | #. TRANSLATORS: this is the old-style ATA interface | ||
3204 | 899 | #: ../src/xfpm-power-info.c:198 | ||
3205 | 900 | msgid "ATA host controller" | ||
3206 | 901 | msgstr "ATA host controller" | ||
3207 | 902 | |||
3208 | 903 | #. TRANSLATORS: 802.11 wireless adaptor | ||
3209 | 904 | #: ../src/xfpm-power-info.c:201 | ||
3210 | 905 | msgid "Intel wireless adaptor" | ||
3211 | 906 | msgstr "Intel wireless adapter" | ||
3212 | 907 | |||
3213 | 908 | #. TRANSLATORS: a timer is something that fires periodically | ||
3214 | 909 | #: ../src/xfpm-power-info.c:206 ../src/xfpm-power-info.c:209 | ||
3215 | 910 | #: ../src/xfpm-power-info.c:212 ../src/xfpm-power-info.c:215 | ||
3216 | 911 | #: ../src/xfpm-power-info.c:218 | ||
3217 | 912 | #, c-format | ||
3218 | 913 | msgid "Timer %s" | ||
3219 | 914 | msgstr "Timer %s" | ||
3220 | 915 | |||
3221 | 916 | #. TRANSLATORS: this is a task that's woken up from sleeping | ||
3222 | 917 | #: ../src/xfpm-power-info.c:221 | ||
3223 | 918 | #, c-format | ||
3224 | 919 | msgid "Sleep %s" | ||
3225 | 920 | msgstr "Sleep %s" | ||
3226 | 921 | |||
3227 | 922 | #. TRANSLATORS: this is a new realtime task | ||
3228 | 923 | #: ../src/xfpm-power-info.c:224 | ||
3229 | 924 | #, c-format | ||
3230 | 925 | msgid "New task %s" | ||
3231 | 926 | msgstr "New task %s" | ||
3232 | 927 | |||
3233 | 928 | #. TRANSLATORS: this is a task thats woken to check state | ||
3234 | 929 | #: ../src/xfpm-power-info.c:227 | ||
3235 | 930 | #, c-format | ||
3236 | 931 | msgid "Wait %s" | ||
3237 | 932 | msgstr "Wait %s" | ||
3238 | 933 | |||
3239 | 934 | #. TRANSLATORS: a work queue is a list of work that has to be done | ||
3240 | 935 | #: ../src/xfpm-power-info.c:230 ../src/xfpm-power-info.c:233 | ||
3241 | 936 | #, c-format | ||
3242 | 937 | msgid "Work queue %s" | ||
3243 | 938 | msgstr "Work queue %s" | ||
3244 | 939 | |||
3245 | 940 | #. TRANSLATORS: this is when the networking subsystem clears out old entries | ||
3246 | 941 | #: ../src/xfpm-power-info.c:236 | ||
3247 | 942 | #, c-format | ||
3248 | 943 | msgid "Network route flush %s" | ||
3249 | 944 | msgstr "Network route flush %s" | ||
3250 | 945 | |||
3251 | 946 | #. TRANSLATORS: activity on the USB bus | ||
3252 | 947 | #: ../src/xfpm-power-info.c:239 | ||
3253 | 948 | #, c-format | ||
3254 | 949 | msgid "USB activity %s" | ||
3255 | 950 | msgstr "USB activity %s" | ||
3256 | 951 | |||
3257 | 952 | #. TRANSLATORS: we've timed out of an aligned timer | ||
3258 | 953 | #: ../src/xfpm-power-info.c:242 | ||
3259 | 954 | #, c-format | ||
3260 | 955 | msgid "Wakeup %s" | ||
3261 | 956 | msgstr "Wakeup %s" | ||
3262 | 957 | |||
3263 | 958 | #. TRANSLATORS: interupts on the system required for basic operation | ||
3264 | 959 | #: ../src/xfpm-power-info.c:245 | ||
3265 | 960 | msgid "Local interrupts" | ||
3266 | 961 | msgstr "Local interrupts" | ||
3267 | 962 | |||
3268 | 963 | #. TRANSLATORS: interrupts when a task gets moved from one core to another | ||
3269 | 964 | #: ../src/xfpm-power-info.c:248 | ||
3270 | 965 | msgid "Rescheduling interrupts" | ||
3271 | 966 | msgstr "Rescheduling interrupts" | ||
3272 | 967 | |||
3273 | 968 | #: ../src/xfpm-power-info.c:331 | ||
3274 | 969 | msgid "Attribute" | ||
3275 | 970 | msgstr "Attribute" | ||
3276 | 971 | |||
3277 | 972 | #: ../src/xfpm-power-info.c:338 | ||
3278 | 973 | msgid "Value" | ||
3279 | 974 | msgstr "Value" | ||
3280 | 975 | |||
3281 | 976 | #: ../src/xfpm-power-info.c:348 | ||
3282 | 977 | msgid "Device" | ||
3283 | 978 | msgstr "Device" | ||
3284 | 979 | |||
3285 | 980 | #: ../src/xfpm-power-info.c:363 ../src/xfpm-power-info.c:739 | ||
3286 | 981 | msgid "Type" | ||
3287 | 982 | msgstr "Type" | ||
3288 | 983 | |||
3289 | 984 | #: ../src/xfpm-power-info.c:375 | ||
3290 | 985 | msgid "PowerSupply" | ||
3291 | 986 | msgstr "PowerSupply" | ||
3292 | 987 | |||
3293 | 988 | #: ../src/xfpm-power-info.c:393 | ||
3294 | 989 | msgid "Model" | ||
3295 | 990 | msgstr "Model" | ||
3296 | 991 | |||
3297 | 992 | #: ../src/xfpm-power-info.c:407 | ||
3298 | 993 | msgid "Technology" | ||
3299 | 994 | msgstr "Technology" | ||
3300 | 995 | |||
3301 | 996 | #. TRANSLATORS: Unit here is What hour | ||
3302 | 997 | #: ../src/xfpm-power-info.c:414 ../src/xfpm-power-info.c:428 | ||
3303 | 998 | #: ../src/xfpm-power-info.c:442 | ||
3304 | 999 | msgid "Wh" | ||
3305 | 1000 | msgstr "Wh" | ||
3306 | 1001 | |||
3307 | 1002 | #: ../src/xfpm-power-info.c:420 | ||
3308 | 1003 | msgid "Energy full design" | ||
3309 | 1004 | msgstr "Energy full design" | ||
3310 | 1005 | |||
3311 | 1006 | #: ../src/xfpm-power-info.c:434 | ||
3312 | 1007 | msgid "Energy full" | ||
3313 | 1008 | msgstr "Energy full" | ||
3314 | 1009 | |||
3315 | 1010 | #: ../src/xfpm-power-info.c:448 | ||
3316 | 1011 | msgid "Energy empty" | ||
3317 | 1012 | msgstr "Energy empty" | ||
3318 | 1013 | |||
3319 | 1014 | #. TRANSLATORS: Unit here is volt | ||
3320 | 1015 | #: ../src/xfpm-power-info.c:456 | ||
3321 | 1016 | msgid "V" | ||
3322 | 1017 | msgstr "V" | ||
3323 | 1018 | |||
3324 | 1019 | #: ../src/xfpm-power-info.c:461 | ||
3325 | 1020 | msgid "Voltage" | ||
3326 | 1021 | msgstr "Voltage" | ||
3327 | 1022 | |||
3328 | 1023 | #: ../src/xfpm-power-info.c:478 | ||
3329 | 1024 | msgid "Vendor" | ||
3330 | 1025 | msgstr "Vendor" | ||
3331 | 1026 | |||
3332 | 1027 | #: ../src/xfpm-power-info.c:495 | ||
3333 | 1028 | msgid "Serial" | ||
3334 | 1029 | msgstr "Serial" | ||
3335 | 1030 | |||
3336 | 1031 | #: ../src/xfpm-power-info.c:731 | ||
3337 | 1032 | msgid "Processor" | ||
3338 | 1033 | msgstr "Processor" | ||
3339 | 1034 | |||
3340 | 1035 | #. TANSLATORS: PID, is the process id, e.g what ps x gives | ||
3341 | 1036 | #: ../src/xfpm-power-info.c:748 | ||
3342 | 1037 | msgid "PID" | ||
3343 | 1038 | msgstr "PID" | ||
3344 | 1039 | |||
3345 | 1040 | #: ../src/xfpm-power-info.c:754 | ||
3346 | 1041 | msgid "Wakeups" | ||
3347 | 1042 | msgstr "Wakeups" | ||
3348 | 1043 | |||
3349 | 1044 | #: ../src/xfpm-power-info.c:760 | ||
3350 | 1045 | msgid "Command" | ||
3351 | 1046 | msgstr "Command" | ||
3352 | 1047 | |||
3353 | 1048 | #: ../src/xfpm-power-info.c:766 | ||
3354 | 1049 | msgid "Details" | ||
3355 | 1050 | msgstr "Details" | ||
3356 | 1051 | |||
3357 | 1052 | #: ../src/xfce4-power-manager.desktop.in.h:2 | ||
3358 | 1053 | msgid "Power management for the Xfce desktop" | ||
3359 | 1054 | msgstr "Power management for the Xfce desktop" | ||
3360 | 1055 | |||
3361 | 1056 | #: ../panel-plugins/brightness/brightness-button.c:180 | ||
3362 | 1057 | #: ../panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in.h:2 | ||
3363 | 1058 | msgid "Control your LCD brightness" | ||
3364 | 1059 | msgstr "Control your LCD brightness" | ||
3365 | 1060 | |||
3366 | 1061 | #: ../panel-plugins/brightness/brightness-button.c:182 | ||
3367 | 1062 | msgid "No device found" | ||
3368 | 1063 | msgstr "No device found" | ||
3369 | 1064 | |||
3370 | 1065 | #: ../panel-plugins/brightness/brightness-button.c:649 | ||
3371 | 1066 | #: ../panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in.h:1 | ||
3372 | 1067 | msgid "Brightness plugin" | ||
3373 | 1068 | msgstr "Brightness plugin" | ||
3374 | 1069 | |||
3375 | 1070 | #~ msgid "Xfce 4 Power Manager" | ||
3376 | 1071 | #~ msgstr "Xfce 4 Power Manager" | ||
3377 | 1072 | |||
3378 | 1073 | #~ msgid "Xfce power manager" | ||
3379 | 1074 | #~ msgstr "Xfce power manager" | ||
3380 | 1075 | |||
3381 | 1076 | #~ msgid "Battery charge level is low" | ||
3382 | 1077 | #~ msgstr "Battery charge level is low" | ||
3383 | 1078 | |||
3384 | 1079 | #~ msgid "With HAL support\n" | ||
3385 | 1080 | #~ msgstr "With HAL support\n" | ||
3386 | 1081 | |||
3387 | 1082 | #~ msgid "Without HAL support\n" | ||
3388 | 1083 | #~ msgstr "Without HAL support\n" | ||
3389 | 1084 | 0 | ||
3390 | === removed file '.pc/02_translations-fix-invalid-format-strings.patch/po/te.po' | |||
3391 | --- .pc/02_translations-fix-invalid-format-strings.patch/po/te.po 2012-05-18 21:50:54 +0000 | |||
3392 | +++ .pc/02_translations-fix-invalid-format-strings.patch/po/te.po 1970-01-01 00:00:00 +0000 | |||
3393 | @@ -1,1061 +0,0 @@ | |||
3394 | 1 | # Xfce Telugu Translation. | ||
3395 | 2 | # Copyright (C) 2003-2011 Xfce Development Team 2011. | ||
3396 | 3 | # This file is distributed under the same license as the PACKAGE package. | ||
3397 | 4 | # Praveen Illa <mail2ipn@gmail.com>, 2011. | ||
3398 | 5 | # | ||
3399 | 6 | msgid "" | ||
3400 | 7 | msgstr "" | ||
3401 | 8 | "Project-Id-Version: xfce4-power-manager.master\n" | ||
3402 | 9 | "Report-Msgid-Bugs-To: \n" | ||
3403 | 10 | "POT-Creation-Date: 2011-11-19 10:06+0000\n" | ||
3404 | 11 | "PO-Revision-Date: 2011-05-19 15:12+0530\n" | ||
3405 | 12 | "Last-Translator: Praveen Illa <mail2ipn@gmail.com>\n" | ||
3406 | 13 | "Language-Team: Telugu <indlinux-telugu@lists.sourceforge.net>\n" | ||
3407 | 14 | "MIME-Version: 1.0\n" | ||
3408 | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
3409 | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
3410 | 17 | "Language: te\n" | ||
3411 | 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
3412 | 19 | |||
3413 | 20 | #: ../data/interfaces/xfpm-settings.ui.h:1 | ||
3414 | 21 | msgid "<b>Actions</b>" | ||
3415 | 22 | msgstr "<b>చర్యలు</b>" | ||
3416 | 23 | |||
3417 | 24 | #: ../data/interfaces/xfpm-settings.ui.h:2 | ||
3418 | 25 | msgid "<b>Advanced Options</b>" | ||
3419 | 26 | msgstr "<b>ఉన్నత ఐచ్ఛికాలు</b>" | ||
3420 | 27 | |||
3421 | 28 | #: ../data/interfaces/xfpm-settings.ui.h:3 | ||
3422 | 29 | msgid "<b>Brightness</b>" | ||
3423 | 30 | msgstr "<b>ప్రకాశవంతం</b>" | ||
3424 | 31 | |||
3425 | 32 | #: ../data/interfaces/xfpm-settings.ui.h:4 | ||
3426 | 33 | msgid "<b>General Options</b>" | ||
3427 | 34 | msgstr "<b>సాధారణ ఐచ్ఛికాలు</b>" | ||
3428 | 35 | |||
3429 | 36 | #: ../data/interfaces/xfpm-settings.ui.h:5 | ||
3430 | 37 | msgid "<b>Monitor</b>" | ||
3431 | 38 | msgstr "<b>మానిటర్</b>" | ||
3432 | 39 | |||
3433 | 40 | #: ../data/interfaces/xfpm-settings.ui.h:6 | ||
3434 | 41 | msgid "Actions" | ||
3435 | 42 | msgstr "చర్యలు" | ||
3436 | 43 | |||
3437 | 44 | #: ../data/interfaces/xfpm-settings.ui.h:7 | ||
3438 | 45 | msgid "Consider the computer on low power at:" | ||
3439 | 46 | msgstr "విద్యుచ్ఛక్తి తక్కువగా వున్నపుడు కంప్యూటర్ని:" | ||
3440 | 47 | |||
3441 | 48 | #. Hibernate menu option | ||
3442 | 49 | #: ../data/interfaces/xfpm-settings.ui.h:8 ../settings/xfpm-settings.c:817 | ||
3443 | 50 | #: ../settings/xfpm-settings.c:885 ../settings/xfpm-settings.c:1034 | ||
3444 | 51 | #: ../settings/xfpm-settings.c:1211 ../settings/xfpm-settings.c:1268 | ||
3445 | 52 | #: ../settings/xfpm-settings.c:1320 ../src/xfpm-power.c:484 | ||
3446 | 53 | #: ../src/xfpm-power.c:779 | ||
3447 | 54 | msgid "Hibernate" | ||
3448 | 55 | msgstr "సుప్తావస్థ" | ||
3449 | 56 | |||
3450 | 57 | #: ../data/interfaces/xfpm-settings.ui.h:9 | ||
3451 | 58 | msgid "Level:" | ||
3452 | 59 | msgstr "స్థాయి:" | ||
3453 | 60 | |||
3454 | 61 | #: ../data/interfaces/xfpm-settings.ui.h:10 | ||
3455 | 62 | msgid "Lock screen when going for suspend/hibernate" | ||
3456 | 63 | msgstr "తాత్కాలిక నిలుపుదల/సుప్తావస్థలోనికి వెళ్ళేటపుడు తెరకు తాళంవేయి" | ||
3457 | 64 | |||
3458 | 65 | #: ../data/interfaces/xfpm-settings.ui.h:11 ../src/xfpm-power-common.c:132 | ||
3459 | 66 | msgid "Monitor" | ||
3460 | 67 | msgstr "మానిటర్" | ||
3461 | 68 | |||
3462 | 69 | #: ../data/interfaces/xfpm-settings.ui.h:12 | ||
3463 | 70 | msgid "Monitor power management control" | ||
3464 | 71 | msgstr "మానిటర్ విద్చుచ్ఛక్తి నిర్వాహణా నియంత్రణ" | ||
3465 | 72 | |||
3466 | 73 | #: ../data/interfaces/xfpm-settings.ui.h:13 ../settings/xfpm-settings.c:806 | ||
3467 | 74 | #: ../settings/xfpm-settings.c:874 ../settings/xfpm-settings.c:1023 | ||
3468 | 75 | #: ../settings/xfpm-settings.c:1200 ../settings/xfpm-settings.c:1257 | ||
3469 | 76 | #: ../settings/xfpm-settings.c:1309 | ||
3470 | 77 | msgid "Nothing" | ||
3471 | 78 | msgstr "ఏమీచేయవద్దు" | ||
3472 | 79 | |||
3473 | 80 | #: ../data/interfaces/xfpm-settings.ui.h:14 | ||
3474 | 81 | msgid "Power manager settings" | ||
3475 | 82 | msgstr "విద్యుత్ నిర్వాహకము అమరికలు" | ||
3476 | 83 | |||
3477 | 84 | #: ../data/interfaces/xfpm-settings.ui.h:15 | ||
3478 | 85 | msgid "Prefer power savings over performance" | ||
3479 | 86 | msgstr "పనితీరు పై విద్యుచ్ఛక్తిని ఆదాచేయుటకు ప్రాధాన్యత చూపు" | ||
3480 | 87 | |||
3481 | 88 | #: ../data/interfaces/xfpm-settings.ui.h:16 | ||
3482 | 89 | msgid "Put display to sleep when computer is inactive for:" | ||
3483 | 90 | msgstr "కంప్యూటర్ ఇంతసేపు అక్రియాశీలముగా ఉంటే తెరను నిద్రావస్థలో ఉంచు:" | ||
3484 | 91 | |||
3485 | 92 | #: ../data/interfaces/xfpm-settings.ui.h:17 | ||
3486 | 93 | msgid "Put the computer to sleep when inactive for:" | ||
3487 | 94 | msgstr "కంప్యూటర్ ఇంతసేపు అక్రియాశీలముగా ఉంటే నిద్రావస్థలో ఉంచు:" | ||
3488 | 95 | |||
3489 | 96 | #: ../data/interfaces/xfpm-settings.ui.h:18 | ||
3490 | 97 | msgid "Reduce screen brightness when computer is inactive for:" | ||
3491 | 98 | msgstr "కంప్యూటర్ ఇంత సమయం అక్రియాశీలముగా వుంటే తెర ప్రకాశమును తగ్గించు:" | ||
3492 | 99 | |||
3493 | 100 | #: ../data/interfaces/xfpm-settings.ui.h:19 | ||
3494 | 101 | msgid "Set computer inactivity sleep mode:" | ||
3495 | 102 | msgstr "కంప్యూటర్ అక్రియాశీల నిద్రావస్థ రీతిని అమర్చు:" | ||
3496 | 103 | |||
3497 | 104 | #: ../data/interfaces/xfpm-settings.ui.h:20 | ||
3498 | 105 | msgid "Set monitor sleep mode:" | ||
3499 | 106 | msgstr "మానిటర్ సుప్తావస్థ రీతిని అమర్చు:" | ||
3500 | 107 | |||
3501 | 108 | #: ../data/interfaces/xfpm-settings.ui.h:21 | ||
3502 | 109 | msgid "Show notifications to notify about the battery state" | ||
3503 | 110 | msgstr "బ్యాటరీ స్థితి గురించి తెలియచేయుటకు గమనికలను చూపించు" | ||
3504 | 111 | |||
3505 | 112 | #: ../data/interfaces/xfpm-settings.ui.h:22 | ||
3506 | 113 | msgid "Spin down hard disks" | ||
3507 | 114 | msgstr "హార్డ్డిస్కులు తిరుగు వేగాన్ని తగ్గించు" | ||
3508 | 115 | |||
3509 | 116 | #: ../data/interfaces/xfpm-settings.ui.h:23 | ||
3510 | 117 | msgid "Standby" | ||
3511 | 118 | msgstr "అర్థాంతరముగా నిలిపివేయి" | ||
3512 | 119 | |||
3513 | 120 | #. Suspend menu option | ||
3514 | 121 | #: ../data/interfaces/xfpm-settings.ui.h:24 ../settings/xfpm-settings.c:811 | ||
3515 | 122 | #: ../settings/xfpm-settings.c:879 ../settings/xfpm-settings.c:1028 | ||
3516 | 123 | #: ../settings/xfpm-settings.c:1205 ../settings/xfpm-settings.c:1262 | ||
3517 | 124 | #: ../settings/xfpm-settings.c:1314 ../src/xfpm-power.c:499 | ||
3518 | 125 | #: ../src/xfpm-power.c:792 | ||
3519 | 126 | msgid "Suspend" | ||
3520 | 127 | msgstr "తాత్కాలికంగా నిలిపివేయి" | ||
3521 | 128 | |||
3522 | 129 | #: ../data/interfaces/xfpm-settings.ui.h:25 | ||
3523 | 130 | msgid "Switch off display when computer is inactive for:" | ||
3524 | 131 | msgstr "కంప్యూటర్ ఇంతసేపు అక్రియాశీలముగా ఉంటే తెరను ఆపివేయి:" | ||
3525 | 132 | |||
3526 | 133 | #: ../data/interfaces/xfpm-settings.ui.h:26 | ||
3527 | 134 | msgid "System tray icon: " | ||
3528 | 135 | msgstr "వ్యవస్థ పల్లెము ప్రతీక:" | ||
3529 | 136 | |||
3530 | 137 | #: ../data/interfaces/xfpm-settings.ui.h:27 | ||
3531 | 138 | msgid "When battery power is critical:" | ||
3532 | 139 | msgstr "బ్యాటరీ విద్యుచ్ఛక్తి సంక్లిష్టముగా ఉన్నట్టయితే ఇలా చేయి:" | ||
3533 | 140 | |||
3534 | 141 | #: ../data/interfaces/xfpm-settings.ui.h:28 | ||
3535 | 142 | msgid "When hibernate button is pressed:" | ||
3536 | 143 | msgstr "సుప్తావస్థ బటన్ నొక్కినపుడు ఈవిధముగా చేయి:" | ||
3537 | 144 | |||
3538 | 145 | #: ../data/interfaces/xfpm-settings.ui.h:29 | ||
3539 | 146 | msgid "When laptop lid is closed:" | ||
3540 | 147 | msgstr "లాప్టాప్ లిడ్ మూసివేసినపుడు ఇలా చేయి:" | ||
3541 | 148 | |||
3542 | 149 | #: ../data/interfaces/xfpm-settings.ui.h:30 | ||
3543 | 150 | msgid "When power button is pressed:" | ||
3544 | 151 | msgstr "విద్యుచ్ఛక్తి బటన్ నొక్కినపుడు ఇలా చేయి:" | ||
3545 | 152 | |||
3546 | 153 | #: ../data/interfaces/xfpm-settings.ui.h:31 | ||
3547 | 154 | msgid "When sleep button is pressed:" | ||
3548 | 155 | msgstr "నిద్రావస్థ బటన్ నొక్కినపుడు ఇలా చేయి:" | ||
3549 | 156 | |||
3550 | 157 | #: ../data/interfaces/xfpm-settings.ui.h:32 | ||
3551 | 158 | #: ../settings/xfpm-settings-main.c:121 ../src/xfpm-main.c:413 | ||
3552 | 159 | msgid "Xfce Power Manager" | ||
3553 | 160 | msgstr "Xfce విద్యుత్ నిర్వాహకము" | ||
3554 | 161 | |||
3555 | 162 | #: ../settings/xfpm-settings.c:567 ../settings/xfpm-settings.c:582 | ||
3556 | 163 | #: ../settings/xfpm-settings.c:609 | ||
3557 | 164 | msgid "Never" | ||
3558 | 165 | msgstr "ఎప్పటికీవద్దు" | ||
3559 | 166 | |||
3560 | 167 | #: ../settings/xfpm-settings.c:570 | ||
3561 | 168 | msgid "One minute" | ||
3562 | 169 | msgstr "ఒక నిముషం" | ||
3563 | 170 | |||
3564 | 171 | #: ../settings/xfpm-settings.c:572 ../settings/xfpm-settings.c:584 | ||
3565 | 172 | msgid "Minutes" | ||
3566 | 173 | msgstr "నిముషములు" | ||
3567 | 174 | |||
3568 | 175 | #: ../settings/xfpm-settings.c:586 ../settings/xfpm-settings.c:593 | ||
3569 | 176 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:595 | ||
3570 | 177 | msgid "One hour" | ||
3571 | 178 | msgstr "ఒక గంట" | ||
3572 | 179 | |||
3573 | 180 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:598 | ||
3574 | 181 | msgid "one minute" | ||
3575 | 182 | msgstr "ఒక నిముషం" | ||
3576 | 183 | |||
3577 | 184 | #: ../settings/xfpm-settings.c:595 ../settings/xfpm-settings.c:599 | ||
3578 | 185 | msgid "minutes" | ||
3579 | 186 | msgstr "నిముషాలు" | ||
3580 | 187 | |||
3581 | 188 | #: ../settings/xfpm-settings.c:597 ../settings/xfpm-settings.c:598 | ||
3582 | 189 | #: ../settings/xfpm-settings.c:599 | ||
3583 | 190 | msgid "hours" | ||
3584 | 191 | msgstr "గంటలు" | ||
3585 | 192 | |||
3586 | 193 | #: ../settings/xfpm-settings.c:611 | ||
3587 | 194 | msgid "Seconds" | ||
3588 | 195 | msgstr "సెకన్లు" | ||
3589 | 196 | |||
3590 | 197 | #: ../settings/xfpm-settings.c:789 ../settings/xfpm-settings.c:987 | ||
3591 | 198 | #: ../settings/xfpm-settings.c:1467 | ||
3592 | 199 | msgid "Hibernate and suspend operations not supported" | ||
3593 | 200 | msgstr "సుప్తావస్థ మరియు తాత్కాలిక నిలుపుదల వంటి ఆపరేషన్లకు సహకారించుటలేదు" | ||
3594 | 201 | |||
3595 | 202 | #: ../settings/xfpm-settings.c:794 ../settings/xfpm-settings.c:992 | ||
3596 | 203 | #: ../settings/xfpm-settings.c:1472 | ||
3597 | 204 | msgid "Hibernate and suspend operations not permitted" | ||
3598 | 205 | msgstr "సుప్తావస్థ మరియు తాత్కాలిక నిలుపుదల వంటి ఆపరేషన్లకు అనుమతిలేదు" | ||
3599 | 206 | |||
3600 | 207 | #: ../settings/xfpm-settings.c:823 ../settings/xfpm-settings.c:1217 | ||
3601 | 208 | #: ../src/xfpm-power.c:805 | ||
3602 | 209 | msgid "Shutdown" | ||
3603 | 210 | msgstr "మూసివేయి" | ||
3604 | 211 | |||
3605 | 212 | #: ../settings/xfpm-settings.c:827 ../settings/xfpm-settings.c:1221 | ||
3606 | 213 | #: ../settings/xfpm-settings.c:1272 ../settings/xfpm-settings.c:1324 | ||
3607 | 214 | msgid "Ask" | ||
3608 | 215 | msgstr "అడుగు" | ||
3609 | 216 | |||
3610 | 217 | #: ../settings/xfpm-settings.c:889 ../settings/xfpm-settings.c:1038 | ||
3611 | 218 | msgid "Lock screen" | ||
3612 | 219 | msgstr "తెరకు తాళం వేయి" | ||
3613 | 220 | |||
3614 | 221 | #: ../settings/xfpm-settings.c:957 ../settings/xfpm-settings.c:1107 | ||
3615 | 222 | msgid "Spinning down hard disks permission denied" | ||
3616 | 223 | msgstr "హార్డ్డిస్కుల తిరుగు వేగాన్ని తగ్గించుటకు అనుమతి తిరస్కరించబడింది" | ||
3617 | 224 | |||
3618 | 225 | #: ../settings/xfpm-settings.c:1147 | ||
3619 | 226 | msgid "Always show icon" | ||
3620 | 227 | msgstr "ప్రతీకను ఎల్లప్పుడూ చూపించు" | ||
3621 | 228 | |||
3622 | 229 | #: ../settings/xfpm-settings.c:1150 | ||
3623 | 230 | msgid "When battery is present" | ||
3624 | 231 | msgstr "బ్యాటరీ ఉన్నపుడు ఇలా చేయి" | ||
3625 | 232 | |||
3626 | 233 | #: ../settings/xfpm-settings.c:1153 | ||
3627 | 234 | msgid "When battery is charging or discharging" | ||
3628 | 235 | msgstr "బ్యాటరీ చార్జింగు లేదా డిస్చార్జింగు అవుతున్నపుడు" | ||
3629 | 236 | |||
3630 | 237 | #: ../settings/xfpm-settings.c:1156 | ||
3631 | 238 | msgid "Never show icon" | ||
3632 | 239 | msgstr "ప్రతీకను ఎప్పుడూ చూపించవద్దు" | ||
3633 | 240 | |||
3634 | 241 | #: ../settings/xfpm-settings.c:1182 | ||
3635 | 242 | msgid "" | ||
3636 | 243 | "Disable Display Power Management Signaling (DPMS), e.g don't attempt to " | ||
3637 | 244 | "switch off the display or put it in sleep mode." | ||
3638 | 245 | msgstr "" | ||
3639 | 246 | "Display Power Management Signaling (DPMS) ను అచేతనపరుచు, ఉదా మానిటర్ను స్విచ్ ఆపవద్దు " | ||
3640 | 247 | "లేదా నిద్రావస్థ రీతిలో ఉంచుటకు ప్రయత్నించవద్దు." | ||
3641 | 248 | |||
3642 | 249 | #: ../settings/xfpm-settings.c:1376 | ||
3643 | 250 | msgid "Suspend operation not supported" | ||
3644 | 251 | msgstr "తాత్కాలిక నిలుపుదల చర్య సహకరించుట లేదు" | ||
3645 | 252 | |||
3646 | 253 | #: ../settings/xfpm-settings.c:1382 | ||
3647 | 254 | msgid "Suspend operation not permitted" | ||
3648 | 255 | msgstr "తాత్కాలిక నిలుపుదల చర్యను అనుమతించుట లేదు" | ||
3649 | 256 | |||
3650 | 257 | #: ../settings/xfpm-settings.c:1388 | ||
3651 | 258 | msgid "Hibernate operation not supported" | ||
3652 | 259 | msgstr "సుప్తావస్థ చర్యకు సహకరించుట లేదు" | ||
3653 | 260 | |||
3654 | 261 | #: ../settings/xfpm-settings.c:1393 | ||
3655 | 262 | msgid "Hibernate operation not permitted" | ||
3656 | 263 | msgstr "సుప్తావస్థ చర్యకు అనుమతి లేదు" | ||
3657 | 264 | |||
3658 | 265 | #: ../settings/xfpm-settings.c:1440 | ||
3659 | 266 | msgid "When all the power sources of the computer reach this charge level" | ||
3660 | 267 | msgstr "ఎప్పుడైతే కంప్యూటర్ యొక్క అన్ని విద్యుత్ మూలాలు ఈ చార్జ్ స్థాయి చేరుకున్నపుడు" | ||
3661 | 268 | |||
3662 | 269 | #: ../settings/xfpm-settings.c:1543 ../settings/xfpm-settings.c:1548 | ||
3663 | 270 | msgid "General" | ||
3664 | 271 | msgstr "సాధారణ" | ||
3665 | 272 | |||
3666 | 273 | #: ../settings/xfpm-settings.c:1557 ../settings/xfpm-settings.c:1562 | ||
3667 | 274 | msgid "On AC" | ||
3668 | 275 | msgstr "AC మీద" | ||
3669 | 276 | |||
3670 | 277 | #: ../settings/xfpm-settings.c:1572 ../settings/xfpm-settings.c:1577 | ||
3671 | 278 | msgid "On Battery" | ||
3672 | 279 | msgstr "బ్యాటరీ మీద" | ||
3673 | 280 | |||
3674 | 281 | #: ../settings/xfpm-settings.c:1586 ../settings/xfpm-settings.c:1591 | ||
3675 | 282 | msgid "Extended" | ||
3676 | 283 | msgstr "పొడిగించిన" | ||
3677 | 284 | |||
3678 | 285 | #: ../settings/xfpm-settings.c:1659 | ||
3679 | 286 | msgid "Check your power manager installation" | ||
3680 | 287 | msgstr "మీ విద్యుత్ నిర్వాహకము స్థాపనను సరిచూసుకోండి" | ||
3681 | 288 | |||
3682 | 289 | #: ../settings/xfpm-settings-main.c:78 | ||
3683 | 290 | msgid "Settings manager socket" | ||
3684 | 291 | msgstr "అమరికల నిర్వాహకము సాకెట్" | ||
3685 | 292 | |||
3686 | 293 | #: ../settings/xfpm-settings-main.c:78 | ||
3687 | 294 | msgid "SOCKET ID" | ||
3688 | 295 | msgstr "సాకెట్ ఐడి" | ||
3689 | 296 | |||
3690 | 297 | #: ../settings/xfpm-settings-main.c:89 ../src/xfpm-main.c:289 | ||
3691 | 298 | #: ../src/xfpm-power-info.c:948 | ||
3692 | 299 | #, c-format | ||
3693 | 300 | msgid "Type '%s --help' for usage." | ||
3694 | 301 | msgstr "వాడుటకు '%s --help' టైపు చేయండి." | ||
3695 | 302 | |||
3696 | 303 | #: ../settings/xfpm-settings-main.c:123 | ||
3697 | 304 | msgid "Failed to load power manager configuration, using defaults" | ||
3698 | 305 | msgstr "అప్రమేయాలను వాడి విద్యుచ్ఛక్తి స్వరూపణను లోడుచేయుటలో విఫలమైంది" | ||
3699 | 306 | |||
3700 | 307 | #: ../settings/xfpm-settings-main.c:148 | ||
3701 | 308 | msgid "Unable to connect to Xfce Power Manager" | ||
3702 | 309 | msgstr "Xfce విద్యుత్ నిర్వాహకముకు అనుసంధానమవ్వలేకపోతుంది" | ||
3703 | 310 | |||
3704 | 311 | #: ../settings/xfpm-settings-main.c:190 ../src/xfpm-main.c:329 | ||
3705 | 312 | #, c-format | ||
3706 | 313 | msgid "Xfce power manager is not running" | ||
3707 | 314 | msgstr "Xfce విద్యుత్ నిర్వాహకము నడుచుటలేదు" | ||
3708 | 315 | |||
3709 | 316 | #: ../settings/xfpm-settings-main.c:195 | ||
3710 | 317 | msgid "Run" | ||
3711 | 318 | msgstr "నడుపు" | ||
3712 | 319 | |||
3713 | 320 | #: ../settings/xfpm-settings-main.c:196 | ||
3714 | 321 | msgid "Xfce4 Power Manager is not running, do you want to launch it now?" | ||
3715 | 322 | msgstr "Xfce విద్యుత్ నిర్వాహకము నడుచుటలేదు, మీరు ఇపుడు దానిని ప్రారంభించాలనుకుంటున్నారా?" | ||
3716 | 323 | |||
3717 | 324 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:1 | ||
3718 | 325 | #: ../src/xfpm-power.c:307 ../src/xfpm-power.c:595 ../src/xfpm-power.c:730 | ||
3719 | 326 | #: ../src/xfpm-power.c:766 ../src/xfpm-power.c:935 ../src/xfpm-power.c:959 | ||
3720 | 327 | #: ../src/xfpm-battery.c:349 ../src/xfce4-power-manager.desktop.in.h:1 | ||
3721 | 328 | msgid "Power Manager" | ||
3722 | 329 | msgstr "విద్యుత్ నిర్వాహకం" | ||
3723 | 330 | |||
3724 | 331 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:2 | ||
3725 | 332 | msgid "Settings for the Xfce Power Manager" | ||
3726 | 333 | msgstr "Xfce విద్యుత్ నిర్వాహకము కొరకు అమరికలు" | ||
3727 | 334 | |||
3728 | 335 | #: ../common/xfpm-common.c:155 | ||
3729 | 336 | msgid "translator-credits" | ||
3730 | 337 | msgstr "Praveen Illa <mail2ipn@gmail.com>, 2011." | ||
3731 | 338 | |||
3732 | 339 | #: ../src/xfpm-power.c:330 | ||
3733 | 340 | msgid "" | ||
3734 | 341 | "An application is currently disabling the automatic sleep, doing this action " | ||
3735 | 342 | "now may damage the working state of this application, are you sure you want " | ||
3736 | 343 | "to hibernate the system?" | ||
3737 | 344 | msgstr "" | ||
3738 | 345 | "స్వయంచాలక నిద్రావస్థను ఒక అనువర్తనము నిరోధిస్తున్నది, ఈ చర్యను చేయడం వలన పనిచేస్తున్న అనువర్తనము " | ||
3739 | 346 | "యొక్క పనితీరుకు నష్టం కలిగించవచ్చు, మీరు ఖచ్చితంగా వ్యవస్థను సుప్తావస్థలో ఉంచాలనుకుంటున్నారా?" | ||
3740 | 347 | |||
3741 | 348 | #: ../src/xfpm-power.c:428 | ||
3742 | 349 | msgid "Quit" | ||
3743 | 350 | msgstr "నిష్క్రమించు" | ||
3744 | 351 | |||
3745 | 352 | #: ../src/xfpm-power.c:429 | ||
3746 | 353 | msgid "All running instances of the power manager will exit" | ||
3747 | 354 | msgstr "విద్యుత్ నిర్వాహకము యొక్క నడుస్తున్న అన్ని ప్రక్రియలు నిష్క్రమించబడును" | ||
3748 | 355 | |||
3749 | 356 | #: ../src/xfpm-power.c:431 | ||
3750 | 357 | msgid "Quit the power manager?" | ||
3751 | 358 | msgstr "విద్యుత్ నిర్వాహకము నుండి నిష్క్రమించాలా?" | ||
3752 | 359 | |||
3753 | 360 | #. Power information | ||
3754 | 361 | #: ../src/xfpm-power.c:534 ../src/xfpm-power-info.c:818 | ||
3755 | 362 | msgid "Power Information" | ||
3756 | 363 | msgstr "విద్యుత్ సమాచారం" | ||
3757 | 364 | |||
3758 | 365 | #. * | ||
3759 | 366 | #. * Power Mode | ||
3760 | 367 | #. * | ||
3761 | 368 | #. TRANSLATOR: Mode here is the power profile (presentation, power save, | ||
3762 | 369 | #. normal) | ||
3763 | 370 | #: ../src/xfpm-power.c:550 | ||
3764 | 371 | msgid "Mode" | ||
3765 | 372 | msgstr "విధము" | ||
3766 | 373 | |||
3767 | 374 | #. Normal | ||
3768 | 375 | #: ../src/xfpm-power.c:561 | ||
3769 | 376 | msgid "Normal" | ||
3770 | 377 | msgstr "సాధారణ" | ||
3771 | 378 | |||
3772 | 379 | #. Normal | ||
3773 | 380 | #: ../src/xfpm-power.c:571 | ||
3774 | 381 | msgid "Presentation" | ||
3775 | 382 | msgstr "ప్రదర్శన" | ||
3776 | 383 | |||
3777 | 384 | #: ../src/xfpm-power.c:693 | ||
3778 | 385 | msgid "Hibernate the system" | ||
3779 | 386 | msgstr "వ్యవస్థను సుప్తావస్థలోనికి మార్చు" | ||
3780 | 387 | |||
3781 | 388 | #: ../src/xfpm-power.c:704 | ||
3782 | 389 | msgid "Suspend the system" | ||
3783 | 390 | msgstr "వ్యవస్థను తాత్కాలికంగా నిలిపివేయి" | ||
3784 | 391 | |||
3785 | 392 | #: ../src/xfpm-power.c:714 | ||
3786 | 393 | msgid "Shutdown the system" | ||
3787 | 394 | msgstr "వ్యవస్థను మూసివేయి" | ||
3788 | 395 | |||
3789 | 396 | #: ../src/xfpm-power.c:725 ../src/xfpm-power.c:763 | ||
3790 | 397 | msgid "System is running on low power. Save your work to avoid losing data" | ||
3791 | 398 | msgstr "" | ||
3792 | 399 | "వ్యవస్థ తక్కువ విద్యుచ్ఛక్తి వద్ద నడుస్తున్నది. డేటాను కోల్పోకుండా ఉండటానికి మీ పనిని భద్రపరుచుకోండి" | ||
3793 | 400 | |||
3794 | 401 | #: ../src/xfpm-power.c:936 | ||
3795 | 402 | msgid "System is running on low power" | ||
3796 | 403 | msgstr "వ్యవస్థ తక్కువ విద్యుచ్ఛక్తి వద్ద నడుస్తున్నది" | ||
3797 | 404 | |||
3798 | 405 | #: ../src/xfpm-power.c:955 | ||
3799 | 406 | #, c-format | ||
3800 | 407 | msgid "" | ||
3801 | 408 | "Your %s charge level is low\n" | ||
3802 | 409 | "Estimated time left %s" | ||
3803 | 410 | msgstr "" | ||
3804 | 411 | "మీ %s చార్జ్ స్థాయి తక్కువగా ఉంది\n" | ||
3805 | 412 | "మిగిలివున్న సమయం %s" | ||
3806 | 413 | |||
3807 | 414 | #: ../src/xfpm-power.c:1158 ../src/xfpm-power.c:1163 | ||
3808 | 415 | msgid "Adaptor is offline" | ||
3809 | 416 | msgstr "అడాప్టర్ ఆఫ్లైనులో ఉంది" | ||
3810 | 417 | |||
3811 | 418 | #: ../src/xfpm-power.c:1159 ../src/xfpm-power.c:1164 ../src/xfpm-battery.c:408 | ||
3812 | 419 | #, c-format | ||
3813 | 420 | msgid "Adaptor is online" | ||
3814 | 421 | msgstr "అడాప్టర్ ఆఫ్లైనులో ఉంది" | ||
3815 | 422 | |||
3816 | 423 | #: ../src/xfpm-power.c:1617 ../src/xfpm-power.c:1638 ../src/xfpm-power.c:1653 | ||
3817 | 424 | #: ../src/xfpm-power.c:1676 | ||
3818 | 425 | #, c-format | ||
3819 | 426 | msgid "Permission denied" | ||
3820 | 427 | msgstr "అనుమతి నిరాకరించబడింది" | ||
3821 | 428 | |||
3822 | 429 | #: ../src/xfpm-power.c:1661 ../src/xfpm-power.c:1684 | ||
3823 | 430 | #, c-format | ||
3824 | 431 | msgid "Suspend not supported" | ||
3825 | 432 | msgstr "తాత్కాలిక నిలుపుదలకు సహకరించుటలేదు" | ||
3826 | 433 | |||
3827 | 434 | #: ../src/xfpm-power-common.c:122 ../src/xfpm-power-common.c:141 | ||
3828 | 435 | msgid "Battery" | ||
3829 | 436 | msgstr "బ్యాటరీ" | ||
3830 | 437 | |||
3831 | 438 | #: ../src/xfpm-power-common.c:124 ../src/xfpm-battery.c:824 | ||
3832 | 439 | msgid "UPS" | ||
3833 | 440 | msgstr "UPS" | ||
3834 | 441 | |||
3835 | 442 | #: ../src/xfpm-power-common.c:126 | ||
3836 | 443 | msgid "Line power" | ||
3837 | 444 | msgstr "లైన్ విద్యుత్" | ||
3838 | 445 | |||
3839 | 446 | #: ../src/xfpm-power-common.c:128 | ||
3840 | 447 | msgid "Mouse" | ||
3841 | 448 | msgstr "మౌస్" | ||
3842 | 449 | |||
3843 | 450 | #: ../src/xfpm-power-common.c:130 | ||
3844 | 451 | msgid "Keyboard" | ||
3845 | 452 | msgstr "కీబోర్డు" | ||
3846 | 453 | |||
3847 | 454 | #: ../src/xfpm-power-common.c:134 | ||
3848 | 455 | msgid "PDA" | ||
3849 | 456 | msgstr "PDA" | ||
3850 | 457 | |||
3851 | 458 | #: ../src/xfpm-power-common.c:136 | ||
3852 | 459 | msgid "Phone" | ||
3853 | 460 | msgstr "ఫోను" | ||
3854 | 461 | |||
3855 | 462 | #: ../src/xfpm-power-common.c:138 ../src/xfpm-power-common.c:153 | ||
3856 | 463 | #: ../src/xfpm-power-common.c:168 ../src/xfpm-battery.c:842 | ||
3857 | 464 | msgid "Unknown" | ||
3858 | 465 | msgstr "తెలియదు" | ||
3859 | 466 | |||
3860 | 467 | #: ../src/xfpm-power-common.c:155 | ||
3861 | 468 | msgid "Lithium ion" | ||
3862 | 469 | msgstr "లిథియమ్ అయాన్" | ||
3863 | 470 | |||
3864 | 471 | #: ../src/xfpm-power-common.c:157 | ||
3865 | 472 | msgid "Lithium polymer" | ||
3866 | 473 | msgstr "లిథియమ్ పోలిమర్" | ||
3867 | 474 | |||
3868 | 475 | #: ../src/xfpm-power-common.c:159 | ||
3869 | 476 | msgid "Lithium iron phosphate" | ||
3870 | 477 | msgstr "లిథియమ్ ఐరన్ ఫాస్పేట్" | ||
3871 | 478 | |||
3872 | 479 | #: ../src/xfpm-power-common.c:161 | ||
3873 | 480 | msgid "Lead acid" | ||
3874 | 481 | msgstr "లెడ్ యాసిడ్" | ||
3875 | 482 | |||
3876 | 483 | #: ../src/xfpm-power-common.c:163 | ||
3877 | 484 | msgid "Nickel cadmium" | ||
3878 | 485 | msgstr "నికెల్ కాడ్మియమ్" | ||
3879 | 486 | |||
3880 | 487 | #: ../src/xfpm-power-common.c:165 | ||
3881 | 488 | msgid "Nickel metal hybride" | ||
3882 | 489 | msgstr "నికెల్ మెటల్ హైబ్రిడ్" | ||
3883 | 490 | |||
3884 | 491 | #: ../src/xfpm-battery.c:169 | ||
3885 | 492 | msgid "Unknown time" | ||
3886 | 493 | msgstr "సమయం తెలియదు" | ||
3887 | 494 | |||
3888 | 495 | #: ../src/xfpm-battery.c:175 | ||
3889 | 496 | #, c-format | ||
3890 | 497 | msgid "%i minute" | ||
3891 | 498 | msgid_plural "%i minutes" | ||
3892 | 499 | msgstr[0] "%i నిముషం" | ||
3893 | 500 | msgstr[1] "%i నిముషాలు" | ||
3894 | 501 | |||
3895 | 502 | #: ../src/xfpm-battery.c:186 | ||
3896 | 503 | #, c-format | ||
3897 | 504 | msgid "%i hour" | ||
3898 | 505 | msgid_plural "%i hours" | ||
3899 | 506 | msgstr[0] "%i గంట" | ||
3900 | 507 | msgstr[1] "%i గంటలు" | ||
3901 | 508 | |||
3902 | 509 | #. TRANSLATOR: "%i %s %i %s" are "%i hours %i minutes" | ||
3903 | 510 | #. * Swap order with "%2$s %2$i %1$s %1$i if needed | ||
3904 | 511 | #: ../src/xfpm-battery.c:192 | ||
3905 | 512 | #, c-format | ||
3906 | 513 | msgid "%i %s %i %s" | ||
3907 | 514 | msgstr "%i %s %i %s" | ||
3908 | 515 | |||
3909 | 516 | #: ../src/xfpm-battery.c:193 | ||
3910 | 517 | msgid "hour" | ||
3911 | 518 | msgid_plural "hours" | ||
3912 | 519 | msgstr[0] "గంట" | ||
3913 | 520 | msgstr[1] "గంటలు" | ||
3914 | 521 | |||
3915 | 522 | #: ../src/xfpm-battery.c:194 | ||
3916 | 523 | msgid "minute" | ||
3917 | 524 | msgid_plural "minutes" | ||
3918 | 525 | msgstr[0] "నిముషం" | ||
3919 | 526 | msgstr[1] "నిముషాలు" | ||
3920 | 527 | |||
3921 | 528 | #: ../src/xfpm-battery.c:209 ../src/xfpm-battery.c:260 | ||
3922 | 529 | #, c-format | ||
3923 | 530 | msgid "Your %s is fully charged" | ||
3924 | 531 | msgstr "మీ %s పూర్తిగా చార్జయింది" | ||
3925 | 532 | |||
3926 | 533 | #: ../src/xfpm-battery.c:212 ../src/xfpm-battery.c:263 | ||
3927 | 534 | #, c-format | ||
3928 | 535 | msgid "Your %s is charging" | ||
3929 | 536 | msgstr "మీ %s చార్జింగ్ అవుతున్నది" | ||
3930 | 537 | |||
3931 | 538 | #: ../src/xfpm-battery.c:222 | ||
3932 | 539 | #, c-format | ||
3933 | 540 | msgid "" | ||
3934 | 541 | "%s (%i%%)\n" | ||
3935 | 542 | "%s until is fully charged." | ||
3936 | 543 | msgstr "" | ||
3937 | 544 | "%s\n" | ||
3938 | 545 | "మీ %s చార్జింగు అవుతున్నది (%i%%)\n" | ||
3939 | 546 | "%s లలో పూర్తిగా చార్జ్ అవుతుంది." | ||
3940 | 547 | |||
3941 | 548 | #: ../src/xfpm-battery.c:230 ../src/xfpm-battery.c:266 | ||
3942 | 549 | #, c-format | ||
3943 | 550 | msgid "Your %s is discharging" | ||
3944 | 551 | msgstr "మీ %s డిస్చార్జ్ అవుతున్నది" | ||
3945 | 552 | |||
3946 | 553 | #: ../src/xfpm-battery.c:232 | ||
3947 | 554 | #, c-format | ||
3948 | 555 | msgid "System is running on %s power" | ||
3949 | 556 | msgstr "వ్యవస్థ %s విద్యుత్ పై నడుస్తున్నది" | ||
3950 | 557 | |||
3951 | 558 | #: ../src/xfpm-battery.c:242 | ||
3952 | 559 | #, c-format | ||
3953 | 560 | msgid "" | ||
3954 | 561 | "%s (%i%%)\n" | ||
3955 | 562 | "Estimated time left is %s." | ||
3956 | 563 | msgstr "" | ||
3957 | 564 | "%s\n" | ||
3958 | 565 | "మీ %s డిస్చార్జ్ అవుతున్నది (%i%%)\n" | ||
3959 | 566 | "ఇంకా మిగిలివున్న సమయం %s." | ||
3960 | 567 | |||
3961 | 568 | #: ../src/xfpm-battery.c:248 ../src/xfpm-battery.c:269 | ||
3962 | 569 | #, c-format | ||
3963 | 570 | msgid "Your %s is empty" | ||
3964 | 571 | msgstr "మీ %s అయిపోయింది" | ||
3965 | 572 | |||
3966 | 573 | #: ../src/xfpm-battery.c:408 | ||
3967 | 574 | #, c-format | ||
3968 | 575 | msgid "System is running on battery power" | ||
3969 | 576 | msgstr "బ్యాటరీ విద్యుత్ పై వ్యవస్థ నడుస్తున్నది" | ||
3970 | 577 | |||
3971 | 578 | #: ../src/xfpm-battery.c:415 | ||
3972 | 579 | #, c-format | ||
3973 | 580 | msgid "" | ||
3974 | 581 | "%s\n" | ||
3975 | 582 | "Your %s is fully charged (%i%%).\n" | ||
3976 | 583 | "Provides %s runtime" | ||
3977 | 584 | msgstr "" | ||
3978 | 585 | "%s\n" | ||
3979 | 586 | "మీ %s పూర్తిగా చార్జ్ అయింది (%i%%).\n" | ||
3980 | 587 | "ఇంకా %s వస్తుంది" | ||
3981 | 588 | |||
3982 | 589 | #: ../src/xfpm-battery.c:424 | ||
3983 | 590 | #, c-format | ||
3984 | 591 | msgid "" | ||
3985 | 592 | "%s\n" | ||
3986 | 593 | "Your %s is fully charged (%i%%)." | ||
3987 | 594 | msgstr "" | ||
3988 | 595 | "%s\n" | ||
3989 | 596 | "మీ %s పూర్తిగా చార్జ్ అయింది (%i%%)." | ||
3990 | 597 | |||
3991 | 598 | #: ../src/xfpm-battery.c:435 | ||
3992 | 599 | #, c-format | ||
3993 | 600 | msgid "" | ||
3994 | 601 | "%s\n" | ||
3995 | 602 | "Your %s is charging (%i%%)\n" | ||
3996 | 603 | "%s until is fully charged." | ||
3997 | 604 | msgstr "" | ||
3998 | 605 | "%s\n" | ||
3999 | 606 | "మీ %s చార్జింగు అవుతున్నది (%i%%)\n" | ||
4000 | 607 | "%s లలో పూర్తిగా చార్జ్ అవుతుంది." | ||
4001 | 608 | |||
4002 | 609 | #: ../src/xfpm-battery.c:444 | ||
4003 | 610 | #, c-format | ||
4004 | 611 | msgid "" | ||
4005 | 612 | "%s\n" | ||
4006 | 613 | "Your %s is charging (%i%%)." | ||
4007 | 614 | msgstr "" | ||
4008 | 615 | "%s\n" | ||
4009 | 616 | "మీ %s చార్జింగు అవుతున్నది (%i%%)." | ||
4010 | 617 | |||
4011 | 618 | #: ../src/xfpm-battery.c:455 | ||
4012 | 619 | #, c-format | ||
4013 | 620 | msgid "" | ||
4014 | 621 | "%s\n" | ||
4015 | 622 | "Your %s is discharging (%i%%)\n" | ||
4016 | 623 | "Estimated time left is %s." | ||
4017 | 624 | msgstr "" | ||
4018 | 625 | "%s\n" | ||
4019 | 626 | "మీ %s డిస్చార్జ్ అవుతున్నది (%i%%)\n" | ||
4020 | 627 | "ఇంకా మిగిలివున్న సమయం %s." | ||
4021 | 628 | |||
4022 | 629 | #: ../src/xfpm-battery.c:464 | ||
4023 | 630 | #, c-format | ||
4024 | 631 | msgid "" | ||
4025 | 632 | "%s\n" | ||
4026 | 633 | "Your %s is discharging (%i%%)." | ||
4027 | 634 | msgstr "" | ||
4028 | 635 | "%s\n" | ||
4029 | 636 | "మీ %s డిస్చార్జ్ అవుతున్నది (%i%%)." | ||
4030 | 637 | |||
4031 | 638 | #: ../src/xfpm-battery.c:473 | ||
4032 | 639 | #, c-format | ||
4033 | 640 | msgid "" | ||
4034 | 641 | "%s\n" | ||
4035 | 642 | "%s waiting to discharge (%i%%)." | ||
4036 | 643 | msgstr "" | ||
4037 | 644 | "%s\n" | ||
4038 | 645 | "%s డిస్చార్జ్ కావడానికి నిరీక్షిస్తున్నది (%i%%)." | ||
4039 | 646 | |||
4040 | 647 | #: ../src/xfpm-battery.c:477 | ||
4041 | 648 | #, c-format | ||
4042 | 649 | msgid "" | ||
4043 | 650 | "%s\n" | ||
4044 | 651 | "%s waiting to charge (%i%%)." | ||
4045 | 652 | msgstr "" | ||
4046 | 653 | "%s\n" | ||
4047 | 654 | "%s చార్జ్ కావడానికి నిరీక్షిస్తున్నది (%i%%)." | ||
4048 | 655 | |||
4049 | 656 | #: ../src/xfpm-battery.c:481 | ||
4050 | 657 | #, c-format | ||
4051 | 658 | msgid "" | ||
4052 | 659 | "%s\n" | ||
4053 | 660 | "Your %s is empty" | ||
4054 | 661 | msgstr "" | ||
4055 | 662 | "%s\n" | ||
4056 | 663 | "మీ %s అయిపోయింది" | ||
4057 | 664 | |||
4058 | 665 | #: ../src/xfpm-battery.c:821 | ||
4059 | 666 | msgid "battery" | ||
4060 | 667 | msgstr "బ్యాటరీ" | ||
4061 | 668 | |||
4062 | 669 | #: ../src/xfpm-battery.c:827 | ||
4063 | 670 | msgid "monitor battery" | ||
4064 | 671 | msgstr "మానిటర్ బ్యాటరీ" | ||
4065 | 672 | |||
4066 | 673 | #: ../src/xfpm-battery.c:830 | ||
4067 | 674 | msgid "mouse battery" | ||
4068 | 675 | msgstr "మౌస్ బ్యాటరీ" | ||
4069 | 676 | |||
4070 | 677 | #: ../src/xfpm-battery.c:833 | ||
4071 | 678 | msgid "keyboard battery" | ||
4072 | 679 | msgstr "కీబోర్డు బ్యాటరీ" | ||
4073 | 680 | |||
4074 | 681 | #: ../src/xfpm-battery.c:836 | ||
4075 | 682 | msgid "PDA battery" | ||
4076 | 683 | msgstr "PDA బ్యాటరీ" | ||
4077 | 684 | |||
4078 | 685 | #: ../src/xfpm-battery.c:839 | ||
4079 | 686 | msgid "Phone battery" | ||
4080 | 687 | msgstr "ఫోను బ్యాటరీ" | ||
4081 | 688 | |||
4082 | 689 | #: ../src/xfpm-main.c:53 ../src/xfpm-power-info.c:93 | ||
4083 | 690 | #, c-format | ||
4084 | 691 | msgid "" | ||
4085 | 692 | "\n" | ||
4086 | 693 | "Xfce Power Manager %s\n" | ||
4087 | 694 | "\n" | ||
4088 | 695 | "Part of the Xfce Goodies Project\n" | ||
4089 | 696 | "http://goodies.xfce.org\n" | ||
4090 | 697 | "\n" | ||
4091 | 698 | "Licensed under the GNU GPL.\n" | ||
4092 | 699 | "\n" | ||
4093 | 700 | msgstr "" | ||
4094 | 701 | "\n" | ||
4095 | 702 | "Xfce విద్యుత్ నిర్వాహకము %s\n" | ||
4096 | 703 | "\n" | ||
4097 | 704 | "Xfce గూడీస్ ప్రోజెక్టులో భాగము\n" | ||
4098 | 705 | "http://goodies.xfce.org\n" | ||
4099 | 706 | "\n" | ||
4100 | 707 | "GNU GPL క్రింద లైసెన్సు పొందబడింది.\n" | ||
4101 | 708 | "\n" | ||
4102 | 709 | |||
4103 | 710 | #: ../src/xfpm-main.c:76 ../src/xfpm-power-info.c:376 | ||
4104 | 711 | msgid "True" | ||
4105 | 712 | msgstr "సత్యము" | ||
4106 | 713 | |||
4107 | 714 | #: ../src/xfpm-main.c:76 ../src/xfpm-power-info.c:376 | ||
4108 | 715 | msgid "False" | ||
4109 | 716 | msgstr "అసత్యము" | ||
4110 | 717 | |||
4111 | 718 | #: ../src/xfpm-main.c:113 | ||
4112 | 719 | #, c-format | ||
4113 | 720 | msgid "With policykit support\n" | ||
4114 | 721 | msgstr "పాలసీకిట్ సహకారముతో\n" | ||
4115 | 722 | |||
4116 | 723 | #: ../src/xfpm-main.c:115 | ||
4117 | 724 | #, c-format | ||
4118 | 725 | msgid "Without policykit support\n" | ||
4119 | 726 | msgstr "పాలసీకిట్ సహకారము లేకుండా\n" | ||
4120 | 727 | |||
4121 | 728 | #: ../src/xfpm-main.c:118 | ||
4122 | 729 | #, c-format | ||
4123 | 730 | msgid "With network manager support\n" | ||
4124 | 731 | msgstr "నెట్వర్క్ నిర్వాహకము సహకారముతో\n" | ||
4125 | 732 | |||
4126 | 733 | #: ../src/xfpm-main.c:120 | ||
4127 | 734 | #, c-format | ||
4128 | 735 | msgid "Without network manager support\n" | ||
4129 | 736 | msgstr "నెట్వర్క్ నిర్వాహకము సహకారము లేకుండా\n" | ||
4130 | 737 | |||
4131 | 738 | #: ../src/xfpm-main.c:123 | ||
4132 | 739 | #, c-format | ||
4133 | 740 | msgid "With DPMS support\n" | ||
4134 | 741 | msgstr "DPMS సహకారముతో\n" | ||
4135 | 742 | |||
4136 | 743 | #: ../src/xfpm-main.c:125 | ||
4137 | 744 | #, c-format | ||
4138 | 745 | msgid "Without DPMS support\n" | ||
4139 | 746 | msgstr "DPMS సహకారము లేకుండా\n" | ||
4140 | 747 | |||
4141 | 748 | #: ../src/xfpm-main.c:141 | ||
4142 | 749 | msgid "Can suspend" | ||
4143 | 750 | msgstr "తాత్కాలికంగా నిలిపివేయవచ్చు" | ||
4144 | 751 | |||
4145 | 752 | #: ../src/xfpm-main.c:143 | ||
4146 | 753 | msgid "Can hibernate" | ||
4147 | 754 | msgstr "సుప్తావస్థలోనికి మార్చవచ్చు" | ||
4148 | 755 | |||
4149 | 756 | #: ../src/xfpm-main.c:145 | ||
4150 | 757 | msgid "Can spin down hard disks" | ||
4151 | 758 | msgstr "హార్డ్డిస్కులు తిరుగు వేగాన్ని తగ్గించవచ్చు" | ||
4152 | 759 | |||
4153 | 760 | #: ../src/xfpm-main.c:147 | ||
4154 | 761 | msgid "Authorized to suspend" | ||
4155 | 762 | msgstr "తాత్కాలికంగా నిలుపువేయుటకు అధికారమును కలిగిన వారై వుండాలి" | ||
4156 | 763 | |||
4157 | 764 | #: ../src/xfpm-main.c:149 | ||
4158 | 765 | msgid "Authorized to hibernate" | ||
4159 | 766 | msgstr "సుప్తావస్థలో ఉంచుటకు అధికారమును కలిగిన వారై వుండాలి" | ||
4160 | 767 | |||
4161 | 768 | #: ../src/xfpm-main.c:151 | ||
4162 | 769 | msgid "Authorized to shutdown" | ||
4163 | 770 | msgstr "మూసివేయుటకు అధికారమును కలిగిన వారై వుండాలి" | ||
4164 | 771 | |||
4165 | 772 | #: ../src/xfpm-main.c:153 | ||
4166 | 773 | msgid "Authorized to spin down hard disks" | ||
4167 | 774 | msgstr "హార్డ్డిస్కు తిరుగు వేగాన్ని తగ్గించుటకు అధికారమును కలిగిన వారై వుండాలి" | ||
4168 | 775 | |||
4169 | 776 | #: ../src/xfpm-main.c:155 | ||
4170 | 777 | msgid "Has battery" | ||
4171 | 778 | msgstr "బ్యాటరీ ఉంది" | ||
4172 | 779 | |||
4173 | 780 | #: ../src/xfpm-main.c:157 | ||
4174 | 781 | msgid "Has brightness panel" | ||
4175 | 782 | msgstr "ప్రకాశవంతపు ప్యానల్" | ||
4176 | 783 | |||
4177 | 784 | #: ../src/xfpm-main.c:159 | ||
4178 | 785 | msgid "Has power button" | ||
4179 | 786 | msgstr "విద్యుత్ బటన్" | ||
4180 | 787 | |||
4181 | 788 | #: ../src/xfpm-main.c:161 | ||
4182 | 789 | msgid "Has hibernate button" | ||
4183 | 790 | msgstr "సుప్తావస్థ బటన్" | ||
4184 | 791 | |||
4185 | 792 | #: ../src/xfpm-main.c:163 | ||
4186 | 793 | msgid "Has sleep button" | ||
4187 | 794 | msgstr "నిద్రావస్థ బటన్" | ||
4188 | 795 | |||
4189 | 796 | #: ../src/xfpm-main.c:165 | ||
4190 | 797 | msgid "Has LID" | ||
4191 | 798 | msgstr "LID కలిగివుంది" | ||
4192 | 799 | |||
4193 | 800 | #: ../src/xfpm-main.c:264 | ||
4194 | 801 | msgid "Do not daemonize" | ||
4195 | 802 | msgstr "డెమోనైజ్ చేయవద్దు" | ||
4196 | 803 | |||
4197 | 804 | #: ../src/xfpm-main.c:265 | ||
4198 | 805 | msgid "Enable debugging" | ||
4199 | 806 | msgstr "దోషశుద్ధిని చేతనపరుచు" | ||
4200 | 807 | |||
4201 | 808 | #: ../src/xfpm-main.c:266 | ||
4202 | 809 | msgid "Dump all information" | ||
4203 | 810 | msgstr "సమాచారాన్నంతటినీ సేకరించు" | ||
4204 | 811 | |||
4205 | 812 | #: ../src/xfpm-main.c:267 | ||
4206 | 813 | msgid "Restart the running instance of Xfce power manager" | ||
4207 | 814 | msgstr "xfce విద్యుత్ నిర్వాహకము యొక్క నడుస్తున్న ప్రక్రియను పునఃప్రారంభించు" | ||
4208 | 815 | |||
4209 | 816 | #: ../src/xfpm-main.c:268 | ||
4210 | 817 | msgid "Show the configuration dialog" | ||
4211 | 818 | msgstr "స్వరూపణ డైలాగును చూపించు" | ||
4212 | 819 | |||
4213 | 820 | #: ../src/xfpm-main.c:269 | ||
4214 | 821 | msgid "Quit any running xfce power manager" | ||
4215 | 822 | msgstr "నడుస్తున్న ఏదైనా xfce విద్యుత్ నిర్వాహకము నుండి నిష్క్రమించు" | ||
4216 | 823 | |||
4217 | 824 | #: ../src/xfpm-main.c:270 ../src/xfpm-power-info.c:935 | ||
4218 | 825 | msgid "Version information" | ||
4219 | 826 | msgstr "రూపాంతర సమాచారం" | ||
4220 | 827 | |||
4221 | 828 | #: ../src/xfpm-main.c:320 | ||
4222 | 829 | msgid "Unable to get connection to the message bus session" | ||
4223 | 830 | msgstr "బస్ సెషన్ సందేశమునకు అనుసంధానమును పొందలేకపోతున్నది" | ||
4224 | 831 | |||
4225 | 832 | #: ../src/xfpm-main.c:414 | ||
4226 | 833 | msgid "Another power manager is already running" | ||
4227 | 834 | msgstr "మరొక విద్యుత్ నిర్వాహకము ఇంతకుముందు నుంచే నడుస్తున్నది" | ||
4228 | 835 | |||
4229 | 836 | #: ../src/xfpm-main.c:420 | ||
4230 | 837 | #, c-format | ||
4231 | 838 | msgid "Xfce power manager is already running" | ||
4232 | 839 | msgstr "Xfce విద్యుత్ నిర్వాహకము ఇంతకుముందు నుంచే నడుస్తున్నది" | ||
4233 | 840 | |||
4234 | 841 | #: ../src/xfpm-inhibit.c:331 | ||
4235 | 842 | #, c-format | ||
4236 | 843 | msgid "Invalid arguments" | ||
4237 | 844 | msgstr "చెల్లని తర్కము" | ||
4238 | 845 | |||
4239 | 846 | #: ../src/xfpm-inhibit.c:357 | ||
4240 | 847 | #, c-format | ||
4241 | 848 | msgid "Invalid cookie" | ||
4242 | 849 | msgstr "సరైన కుకీ కాదు" | ||
4243 | 850 | |||
4244 | 851 | #. TRANSLATORS: the command line was not provided | ||
4245 | 852 | #: ../src/xfpm-power-info.c:118 | ||
4246 | 853 | msgid "No data" | ||
4247 | 854 | msgstr "డేటా లేదు" | ||
4248 | 855 | |||
4249 | 856 | #. TRANSLATORS: kernel module, usually a device driver | ||
4250 | 857 | #: ../src/xfpm-power-info.c:125 ../src/xfpm-power-info.c:130 | ||
4251 | 858 | msgid "Kernel module" | ||
4252 | 859 | msgstr "కెర్నల్ పర్వికము" | ||
4253 | 860 | |||
4254 | 861 | #. TRANSLATORS: kernel housekeeping | ||
4255 | 862 | #: ../src/xfpm-power-info.c:135 | ||
4256 | 863 | msgid "Kernel core" | ||
4257 | 864 | msgstr "కెర్నల్ అంతర్భాగం" | ||
4258 | 865 | |||
4259 | 866 | #. TRANSLATORS: interrupt between processors | ||
4260 | 867 | #: ../src/xfpm-power-info.c:140 | ||
4261 | 868 | msgid "Interprocessor interrupt" | ||
4262 | 869 | msgstr "ఇంటర్ప్రోసెసర్ ఆటంకము" | ||
4263 | 870 | |||
4264 | 871 | #. TRANSLATORS: unknown interrupt | ||
4265 | 872 | #: ../src/xfpm-power-info.c:145 | ||
4266 | 873 | msgid "Interrupt" | ||
4267 | 874 | msgstr "ఆటంకము" | ||
4268 | 875 | |||
4269 | 876 | #. TRANSLATORS: the keyboard and mouse device event | ||
4270 | 877 | #: ../src/xfpm-power-info.c:189 | ||
4271 | 878 | msgid "PS/2 keyboard/mouse/touchpad" | ||
4272 | 879 | msgstr "PS/2 కీబోర్డు/మౌస్/టచ్ప్యాడ్" | ||
4273 | 880 | |||
4274 | 881 | #. TRANSLATORS: ACPI, the Intel power standard on laptops and desktops | ||
4275 | 882 | #: ../src/xfpm-power-info.c:192 | ||
4276 | 883 | msgid "ACPI" | ||
4277 | 884 | msgstr "ACPI" | ||
4278 | 885 | |||
4279 | 886 | #. TRANSLATORS: serial ATA is a new style of hard disk interface | ||
4280 | 887 | #: ../src/xfpm-power-info.c:195 | ||
4281 | 888 | msgid "Serial ATA" | ||
4282 | 889 | msgstr "సీరియల్ ATA" | ||
4283 | 890 | |||
4284 | 891 | #. TRANSLATORS: this is the old-style ATA interface | ||
4285 | 892 | #: ../src/xfpm-power-info.c:198 | ||
4286 | 893 | msgid "ATA host controller" | ||
4287 | 894 | msgstr "ATA హోస్టు నియంత్రకం" | ||
4288 | 895 | |||
4289 | 896 | #. TRANSLATORS: 802.11 wireless adaptor | ||
4290 | 897 | #: ../src/xfpm-power-info.c:201 | ||
4291 | 898 | msgid "Intel wireless adaptor" | ||
4292 | 899 | msgstr "ఇంటెల్ వైరులేని అడాప్టర్" | ||
4293 | 900 | |||
4294 | 901 | #. TRANSLATORS: a timer is something that fires periodically | ||
4295 | 902 | #: ../src/xfpm-power-info.c:206 ../src/xfpm-power-info.c:209 | ||
4296 | 903 | #: ../src/xfpm-power-info.c:212 ../src/xfpm-power-info.c:215 | ||
4297 | 904 | #: ../src/xfpm-power-info.c:218 | ||
4298 | 905 | #, c-format | ||
4299 | 906 | msgid "Timer %s" | ||
4300 | 907 | msgstr "సమయకం %s" | ||
4301 | 908 | |||
4302 | 909 | #. TRANSLATORS: this is a task that's woken up from sleeping | ||
4303 | 910 | #: ../src/xfpm-power-info.c:221 | ||
4304 | 911 | #, c-format | ||
4305 | 912 | msgid "Sleep %s" | ||
4306 | 913 | msgstr "నిద్రపోవు %s" | ||
4307 | 914 | |||
4308 | 915 | #. TRANSLATORS: this is a new realtime task | ||
4309 | 916 | #: ../src/xfpm-power-info.c:224 | ||
4310 | 917 | #, c-format | ||
4311 | 918 | msgid "New task %s" | ||
4312 | 919 | msgstr "కొత్త కార్యం %s" | ||
4313 | 920 | |||
4314 | 921 | #. TRANSLATORS: this is a task thats woken to check state | ||
4315 | 922 | #: ../src/xfpm-power-info.c:227 | ||
4316 | 923 | #, c-format | ||
4317 | 924 | msgid "Wait %s" | ||
4318 | 925 | msgstr "నిరీక్షించు %s" | ||
4319 | 926 | |||
4320 | 927 | #. TRANSLATORS: a work queue is a list of work that has to be done | ||
4321 | 928 | #: ../src/xfpm-power-info.c:230 ../src/xfpm-power-info.c:233 | ||
4322 | 929 | #, c-format | ||
4323 | 930 | msgid "Work queue %s" | ||
4324 | 931 | msgstr "పని క్రమము %s" | ||
4325 | 932 | |||
4326 | 933 | #. TRANSLATORS: this is when the networking subsystem clears out old entries | ||
4327 | 934 | #: ../src/xfpm-power-info.c:236 | ||
4328 | 935 | #, c-format | ||
4329 | 936 | msgid "Network route flush %s" | ||
4330 | 937 | msgstr "నెట్వర్క్ రూట్ ఫ్లష్ %s" | ||
4331 | 938 | |||
4332 | 939 | #. TRANSLATORS: activity on the USB bus | ||
4333 | 940 | #: ../src/xfpm-power-info.c:239 | ||
4334 | 941 | #, c-format | ||
4335 | 942 | msgid "USB activity %s" | ||
4336 | 943 | msgstr "USB క్రియాశీలత %s" | ||
4337 | 944 | |||
4338 | 945 | #. TRANSLATORS: we've timed out of an aligned timer | ||
4339 | 946 | #: ../src/xfpm-power-info.c:242 | ||
4340 | 947 | #, c-format | ||
4341 | 948 | msgid "Wakeup %s" | ||
4342 | 949 | msgstr "మేల్కొను %s" | ||
4343 | 950 | |||
4344 | 951 | #. TRANSLATORS: interupts on the system required for basic operation | ||
4345 | 952 | #: ../src/xfpm-power-info.c:245 | ||
4346 | 953 | msgid "Local interrupts" | ||
4347 | 954 | msgstr "స్థానిక ఆటంకాలు" | ||
4348 | 955 | |||
4349 | 956 | #. TRANSLATORS: interrupts when a task gets moved from one core to another | ||
4350 | 957 | #: ../src/xfpm-power-info.c:248 | ||
4351 | 958 | msgid "Rescheduling interrupts" | ||
4352 | 959 | msgstr "రీషెడ్యూలింగ్ ఆటంకాలు" | ||
4353 | 960 | |||
4354 | 961 | #: ../src/xfpm-power-info.c:331 | ||
4355 | 962 | msgid "Attribute" | ||
4356 | 963 | msgstr "గుణము" | ||
4357 | 964 | |||
4358 | 965 | #: ../src/xfpm-power-info.c:338 | ||
4359 | 966 | msgid "Value" | ||
4360 | 967 | msgstr "విలువ" | ||
4361 | 968 | |||
4362 | 969 | #: ../src/xfpm-power-info.c:348 | ||
4363 | 970 | msgid "Device" | ||
4364 | 971 | msgstr "పరికరం" | ||
4365 | 972 | |||
4366 | 973 | #: ../src/xfpm-power-info.c:363 ../src/xfpm-power-info.c:739 | ||
4367 | 974 | msgid "Type" | ||
4368 | 975 | msgstr "రకం" | ||
4369 | 976 | |||
4370 | 977 | #: ../src/xfpm-power-info.c:375 | ||
4371 | 978 | msgid "PowerSupply" | ||
4372 | 979 | msgstr "విద్యుత్ " | ||
4373 | 980 | |||
4374 | 981 | #: ../src/xfpm-power-info.c:393 | ||
4375 | 982 | msgid "Model" | ||
4376 | 983 | msgstr "మోడల్" | ||
4377 | 984 | |||
4378 | 985 | #: ../src/xfpm-power-info.c:407 | ||
4379 | 986 | msgid "Technology" | ||
4380 | 987 | msgstr "సాంకేతికత" | ||
4381 | 988 | |||
4382 | 989 | #. TRANSLATORS: Unit here is What hour | ||
4383 | 990 | #: ../src/xfpm-power-info.c:414 ../src/xfpm-power-info.c:428 | ||
4384 | 991 | #: ../src/xfpm-power-info.c:442 | ||
4385 | 992 | msgid "Wh" | ||
4386 | 993 | msgstr "Wh" | ||
4387 | 994 | |||
4388 | 995 | #: ../src/xfpm-power-info.c:420 | ||
4389 | 996 | msgid "Energy full design" | ||
4390 | 997 | msgstr "శక్తి పూర్తి డిజైన్" | ||
4391 | 998 | |||
4392 | 999 | #: ../src/xfpm-power-info.c:434 | ||
4393 | 1000 | msgid "Energy full" | ||
4394 | 1001 | msgstr "శక్తి పూర్తిగావుంది" | ||
4395 | 1002 | |||
4396 | 1003 | #: ../src/xfpm-power-info.c:448 | ||
4397 | 1004 | msgid "Energy empty" | ||
4398 | 1005 | msgstr "శక్తి అయిపోయింది" | ||
4399 | 1006 | |||
4400 | 1007 | #. TRANSLATORS: Unit here is volt | ||
4401 | 1008 | #: ../src/xfpm-power-info.c:456 | ||
4402 | 1009 | msgid "V" | ||
4403 | 1010 | msgstr "V" | ||
4404 | 1011 | |||
4405 | 1012 | #: ../src/xfpm-power-info.c:461 | ||
4406 | 1013 | msgid "Voltage" | ||
4407 | 1014 | msgstr "వోల్టేజ్" | ||
4408 | 1015 | |||
4409 | 1016 | #: ../src/xfpm-power-info.c:478 | ||
4410 | 1017 | msgid "Vendor" | ||
4411 | 1018 | msgstr "అమ్మకపుదారుడు" | ||
4412 | 1019 | |||
4413 | 1020 | #: ../src/xfpm-power-info.c:495 | ||
4414 | 1021 | msgid "Serial" | ||
4415 | 1022 | msgstr "సీరియల్" | ||
4416 | 1023 | |||
4417 | 1024 | #: ../src/xfpm-power-info.c:731 | ||
4418 | 1025 | msgid "Processor" | ||
4419 | 1026 | msgstr "ప్రోసెసర్" | ||
4420 | 1027 | |||
4421 | 1028 | #. TANSLATORS: PID, is the process id, e.g what ps x gives | ||
4422 | 1029 | #: ../src/xfpm-power-info.c:748 | ||
4423 | 1030 | msgid "PID" | ||
4424 | 1031 | msgstr "PID" | ||
4425 | 1032 | |||
4426 | 1033 | #: ../src/xfpm-power-info.c:754 | ||
4427 | 1034 | msgid "Wakeups" | ||
4428 | 1035 | msgstr "మేల్కోలుపులు" | ||
4429 | 1036 | |||
4430 | 1037 | #: ../src/xfpm-power-info.c:760 | ||
4431 | 1038 | msgid "Command" | ||
4432 | 1039 | msgstr "ఆదేశం" | ||
4433 | 1040 | |||
4434 | 1041 | #: ../src/xfpm-power-info.c:766 | ||
4435 | 1042 | msgid "Details" | ||
4436 | 1043 | msgstr "వివరాలు" | ||
4437 | 1044 | |||
4438 | 1045 | #: ../src/xfce4-power-manager.desktop.in.h:2 | ||
4439 | 1046 | msgid "Power management for the Xfce desktop" | ||
4440 | 1047 | msgstr "Xfce డెస్క్టాప్ కొరకు విద్యుత్ నిర్వాహణ" | ||
4441 | 1048 | |||
4442 | 1049 | #: ../panel-plugins/brightness/brightness-button.c:180 | ||
4443 | 1050 | #: ../panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in.h:2 | ||
4444 | 1051 | msgid "Control your LCD brightness" | ||
4445 | 1052 | msgstr "మీ LCD ప్రకాశమును నియంత్రించండి" | ||
4446 | 1053 | |||
4447 | 1054 | #: ../panel-plugins/brightness/brightness-button.c:182 | ||
4448 | 1055 | msgid "No device found" | ||
4449 | 1056 | msgstr "ఏ పరికరము కనుగొనబడలేదు" | ||
4450 | 1057 | |||
4451 | 1058 | #: ../panel-plugins/brightness/brightness-button.c:649 | ||
4452 | 1059 | #: ../panel-plugins/brightness/xfce4-brightness-plugin.desktop.in.in.h:1 | ||
4453 | 1060 | msgid "Brightness plugin" | ||
4454 | 1061 | msgstr "ప్రకాశవంతపు ప్లగిన్" | ||
4455 | 1062 | 0 | ||
4456 | === removed file '.pc/02_translations-fix-invalid-format-strings.patch/po/tr.po' | |||
4457 | --- .pc/02_translations-fix-invalid-format-strings.patch/po/tr.po 2013-08-13 06:56:35 +0000 | |||
4458 | +++ .pc/02_translations-fix-invalid-format-strings.patch/po/tr.po 1970-01-01 00:00:00 +0000 | |||
4459 | @@ -1,1486 +0,0 @@ | |||
4460 | 1 | # Ayhan YALÇINSOY <ayhanyalcinsoy@gmail.com>, 2010. | ||
4461 | 2 | msgid "" | ||
4462 | 3 | msgstr "" | ||
4463 | 4 | "Project-Id-Version: xfce\n" | ||
4464 | 5 | "Report-Msgid-Bugs-To: \n" | ||
4465 | 6 | "POT-Creation-Date: 2012-04-09 18:36+0000\n" | ||
4466 | 7 | "PO-Revision-Date: 2010-05-12 17:15+0300\n" | ||
4467 | 8 | "Last-Translator: Ayhan YALÇINSOY <ayhanyalcinsoy@gmail.com>\n" | ||
4468 | 9 | "Language-Team: Turkish <kde-i18n-doc@kde.org>\n" | ||
4469 | 10 | "MIME-Version: 1.0\n" | ||
4470 | 11 | "Content-Type: text/plain; charset=UTF-8\n" | ||
4471 | 12 | "Content-Transfer-Encoding: 8bit\n" | ||
4472 | 13 | "Language: tr\n" | ||
4473 | 14 | "Plural-Forms: nplurals=1; plural=0;\n" | ||
4474 | 15 | "X-Poedit-Country: TURKEY\n" | ||
4475 | 16 | "X-Generator: Lokalize 1.0\n" | ||
4476 | 17 | |||
4477 | 18 | #: ../data/interfaces/xfpm-settings.ui.h:1 | ||
4478 | 19 | msgid "<b>Actions</b>" | ||
4479 | 20 | msgstr "<b>İşlemler</b>" | ||
4480 | 21 | |||
4481 | 22 | #: ../data/interfaces/xfpm-settings.ui.h:2 | ||
4482 | 23 | msgid "<b>Advanced Options</b>" | ||
4483 | 24 | msgstr "<b>Gelişmiş ayarlar</b>" | ||
4484 | 25 | |||
4485 | 26 | #: ../data/interfaces/xfpm-settings.ui.h:3 | ||
4486 | 27 | msgid "<b>Brightness</b>" | ||
4487 | 28 | msgstr "<b>Ekran Parlaklığı</b>" | ||
4488 | 29 | |||
4489 | 30 | #: ../data/interfaces/xfpm-settings.ui.h:4 | ||
4490 | 31 | msgid "<b>General Options</b>" | ||
4491 | 32 | msgstr "<b>Genel Seçenekler</b>" | ||
4492 | 33 | |||
4493 | 34 | #: ../data/interfaces/xfpm-settings.ui.h:5 | ||
4494 | 35 | msgid "<b>Monitor</b>" | ||
4495 | 36 | msgstr "<b>Monitör</b>" | ||
4496 | 37 | |||
4497 | 38 | #: ../data/interfaces/xfpm-settings.ui.h:6 | ||
4498 | 39 | msgid "Actions" | ||
4499 | 40 | msgstr "İşlemler" | ||
4500 | 41 | |||
4501 | 42 | #: ../data/interfaces/xfpm-settings.ui.h:7 | ||
4502 | 43 | msgid "Consider the computer on low power at:" | ||
4503 | 44 | msgstr "Kritik düşük güç seviyesini belirle:" | ||
4504 | 45 | |||
4505 | 46 | #. Hibernate menu option | ||
4506 | 47 | #: ../data/interfaces/xfpm-settings.ui.h:8 ../settings/xfpm-settings.c:817 | ||
4507 | 48 | #: ../settings/xfpm-settings.c:885 ../settings/xfpm-settings.c:1034 | ||
4508 | 49 | #: ../settings/xfpm-settings.c:1211 ../settings/xfpm-settings.c:1268 | ||
4509 | 50 | #: ../settings/xfpm-settings.c:1320 ../src/xfpm-power.c:484 | ||
4510 | 51 | #: ../src/xfpm-power.c:779 | ||
4511 | 52 | msgid "Hibernate" | ||
4512 | 53 | msgstr "Hazırda beklet" | ||
4513 | 54 | |||
4514 | 55 | #: ../data/interfaces/xfpm-settings.ui.h:9 | ||
4515 | 56 | msgid "Level:" | ||
4516 | 57 | msgstr "Seviye:" | ||
4517 | 58 | |||
4518 | 59 | #: ../data/interfaces/xfpm-settings.ui.h:10 | ||
4519 | 60 | msgid "Lock screen when going for suspend/hibernate" | ||
4520 | 61 | msgstr "" | ||
4521 | 62 | "Askıya alınırken veya hazırda bekletme işlemi gerçekleştirilirken ekranı " | ||
4522 | 63 | "kilitle" | ||
4523 | 64 | |||
4524 | 65 | #: ../data/interfaces/xfpm-settings.ui.h:11 ../src/xfpm-power-common.c:132 | ||
4525 | 66 | msgid "Monitor" | ||
4526 | 67 | msgstr "Monitör" | ||
4527 | 68 | |||
4528 | 69 | #: ../data/interfaces/xfpm-settings.ui.h:12 | ||
4529 | 70 | msgid "Monitor power management control" | ||
4530 | 71 | msgstr "Monitör güç yönetimi kontrolü" | ||
4531 | 72 | |||
4532 | 73 | #: ../data/interfaces/xfpm-settings.ui.h:13 ../settings/xfpm-settings.c:806 | ||
4533 | 74 | #: ../settings/xfpm-settings.c:874 ../settings/xfpm-settings.c:1023 | ||
4534 | 75 | #: ../settings/xfpm-settings.c:1200 ../settings/xfpm-settings.c:1257 | ||
4535 | 76 | #: ../settings/xfpm-settings.c:1309 | ||
4536 | 77 | msgid "Nothing" | ||
4537 | 78 | msgstr "Hiçbiri" | ||
4538 | 79 | |||
4539 | 80 | #: ../data/interfaces/xfpm-settings.ui.h:14 | ||
4540 | 81 | msgid "Power manager settings" | ||
4541 | 82 | msgstr "Güç yöneticisi ayarları" | ||
4542 | 83 | |||
4543 | 84 | #: ../data/interfaces/xfpm-settings.ui.h:15 | ||
4544 | 85 | msgid "Prefer power savings over performance" | ||
4545 | 86 | msgstr "Tam performans yerine güç koruma kipinde çalıştır" | ||
4546 | 87 | |||
4547 | 88 | #: ../data/interfaces/xfpm-settings.ui.h:16 | ||
4548 | 89 | msgid "Put display to sleep when computer is inactive for:" | ||
4549 | 90 | msgstr "Bilgisayar kullanılmadığında şu kadar süre sonra askıya al:" | ||
4550 | 91 | |||
4551 | 92 | #: ../data/interfaces/xfpm-settings.ui.h:17 | ||
4552 | 93 | msgid "Put the computer to sleep when inactive for:" | ||
4553 | 94 | msgstr "Bilgisayar kullanılmadığı zaman şu kadar süre sonra askıya al:" | ||
4554 | 95 | |||
4555 | 96 | #: ../data/interfaces/xfpm-settings.ui.h:18 | ||
4556 | 97 | msgid "Reduce screen brightness when computer is inactive for:" | ||
4557 | 98 | msgstr "" | ||
4558 | 99 | "Bilgisayar kullanılmadığında ekran parlaklığı seviyesini şu kadar süre sonra " | ||
4559 | 100 | "düşür:" | ||
4560 | 101 | |||
4561 | 102 | #: ../data/interfaces/xfpm-settings.ui.h:19 | ||
4562 | 103 | msgid "Set computer inactivity sleep mode:" | ||
4563 | 104 | msgstr "Bilgisayar kullanılmadığında uygulanacak uyku kipi:" | ||
4564 | 105 | |||
4565 | 106 | #: ../data/interfaces/xfpm-settings.ui.h:20 | ||
4566 | 107 | msgid "Set monitor sleep mode:" | ||
4567 | 108 | msgstr "Monitör için kullanılacak uyku kipi:" | ||
4568 | 109 | |||
4569 | 110 | #: ../data/interfaces/xfpm-settings.ui.h:21 | ||
4570 | 111 | msgid "Show notifications to notify about the battery state" | ||
4571 | 112 | msgstr "Pil durumunu göstermek için sistem bildirim alanını kullan" | ||
4572 | 113 | |||
4573 | 114 | #: ../data/interfaces/xfpm-settings.ui.h:22 | ||
4574 | 115 | msgid "Spin down hard disks" | ||
4575 | 116 | msgstr "Sabit diskleri aşağı döndür" | ||
4576 | 117 | |||
4577 | 118 | #: ../data/interfaces/xfpm-settings.ui.h:23 | ||
4578 | 119 | msgid "Standby" | ||
4579 | 120 | msgstr "Hazırda beklet" | ||
4580 | 121 | |||
4581 | 122 | #. Suspend menu option | ||
4582 | 123 | #: ../data/interfaces/xfpm-settings.ui.h:24 ../settings/xfpm-settings.c:811 | ||
4583 | 124 | #: ../settings/xfpm-settings.c:879 ../settings/xfpm-settings.c:1028 | ||
4584 | 125 | #: ../settings/xfpm-settings.c:1205 ../settings/xfpm-settings.c:1262 | ||
4585 | 126 | #: ../settings/xfpm-settings.c:1314 ../src/xfpm-power.c:499 | ||
4586 | 127 | #: ../src/xfpm-power.c:792 | ||
4587 | 128 | msgid "Suspend" | ||
4588 | 129 | msgstr "Askıya Al" | ||
4589 | 130 | |||
4590 | 131 | #: ../data/interfaces/xfpm-settings.ui.h:25 | ||
4591 | 132 | msgid "Switch off display when computer is inactive for:" | ||
4592 | 133 | msgstr "Bilgisayar kullanılmadığında şu kadar süre sonra ekranı kapat:" | ||
4593 | 134 | |||
4594 | 135 | #: ../data/interfaces/xfpm-settings.ui.h:26 | ||
4595 | 136 | msgid "System tray icon: " | ||
4596 | 137 | msgstr "Sistem çekmecesi simgesi:" | ||
4597 | 138 | |||
4598 | 139 | #: ../data/interfaces/xfpm-settings.ui.h:27 | ||
4599 | 140 | msgid "When battery power is critical:" | ||
4600 | 141 | msgstr "Pil seviyesi kritik ise şu işlemi gerçekleştir:" | ||
4601 | 142 | |||
4602 | 143 | #: ../data/interfaces/xfpm-settings.ui.h:28 | ||
4603 | 144 | msgid "When hibernate button is pressed:" | ||
4604 | 145 | msgstr "Hazırda beklet düğmesine basıldığında yap:" | ||
4605 | 146 | |||
4606 | 147 | #: ../data/interfaces/xfpm-settings.ui.h:29 | ||
4607 | 148 | msgid "When laptop lid is closed:" | ||
4608 | 149 | msgstr "Dizüstü kapağı kapatıldığında yap:" | ||
4609 | 150 | |||
4610 | 151 | #: ../data/interfaces/xfpm-settings.ui.h:30 | ||
4611 | 152 | msgid "When power button is pressed:" | ||
4612 | 153 | msgstr "Kapatma düğmesine basıldığında yap:" | ||
4613 | 154 | |||
4614 | 155 | #: ../data/interfaces/xfpm-settings.ui.h:31 | ||
4615 | 156 | msgid "When sleep button is pressed:" | ||
4616 | 157 | msgstr "Uyku düğmesine basıldığında yap:" | ||
4617 | 158 | |||
4618 | 159 | #: ../data/interfaces/xfpm-settings.ui.h:32 | ||
4619 | 160 | #: ../settings/xfpm-settings-main.c:121 ../src/xfpm-main.c:413 | ||
4620 | 161 | msgid "Xfce Power Manager" | ||
4621 | 162 | msgstr "Xfce Güç Yöneticisi" | ||
4622 | 163 | |||
4623 | 164 | #: ../settings/xfpm-settings.c:567 ../settings/xfpm-settings.c:582 | ||
4624 | 165 | #: ../settings/xfpm-settings.c:609 | ||
4625 | 166 | msgid "Never" | ||
4626 | 167 | msgstr "Asla" | ||
4627 | 168 | |||
4628 | 169 | #: ../settings/xfpm-settings.c:570 | ||
4629 | 170 | msgid "One minute" | ||
4630 | 171 | msgstr "Bir dakika" | ||
4631 | 172 | |||
4632 | 173 | #: ../settings/xfpm-settings.c:572 ../settings/xfpm-settings.c:584 | ||
4633 | 174 | msgid "Minutes" | ||
4634 | 175 | msgstr "Dakika" | ||
4635 | 176 | |||
4636 | 177 | #: ../settings/xfpm-settings.c:586 ../settings/xfpm-settings.c:593 | ||
4637 | 178 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:595 | ||
4638 | 179 | msgid "One hour" | ||
4639 | 180 | msgstr "Bir saat" | ||
4640 | 181 | |||
4641 | 182 | #: ../settings/xfpm-settings.c:594 ../settings/xfpm-settings.c:598 | ||
4642 | 183 | msgid "one minute" | ||
4643 | 184 | msgstr "Bir dakika" | ||
4644 | 185 | |||
4645 | 186 | #: ../settings/xfpm-settings.c:595 ../settings/xfpm-settings.c:599 | ||
4646 | 187 | msgid "minutes" | ||
4647 | 188 | msgstr "dakika" | ||
4648 | 189 | |||
4649 | 190 | #: ../settings/xfpm-settings.c:597 ../settings/xfpm-settings.c:598 | ||
4650 | 191 | #: ../settings/xfpm-settings.c:599 | ||
4651 | 192 | msgid "hours" | ||
4652 | 193 | msgstr "saat" | ||
4653 | 194 | |||
4654 | 195 | #: ../settings/xfpm-settings.c:611 | ||
4655 | 196 | msgid "Seconds" | ||
4656 | 197 | msgstr "Saniye" | ||
4657 | 198 | |||
4658 | 199 | #: ../settings/xfpm-settings.c:789 ../settings/xfpm-settings.c:987 | ||
4659 | 200 | #: ../settings/xfpm-settings.c:1467 | ||
4660 | 201 | msgid "Hibernate and suspend operations not supported" | ||
4661 | 202 | msgstr "Askıya alma ve hazırda bekletme işlemleri desteklenmiyor" | ||
4662 | 203 | |||
4663 | 204 | #: ../settings/xfpm-settings.c:794 ../settings/xfpm-settings.c:992 | ||
4664 | 205 | #: ../settings/xfpm-settings.c:1472 | ||
4665 | 206 | msgid "Hibernate and suspend operations not permitted" | ||
4666 | 207 | msgstr "Askıya alma ve hazırda bekletme işlemlerine izin verilmedi" | ||
4667 | 208 | |||
4668 | 209 | #: ../settings/xfpm-settings.c:823 ../settings/xfpm-settings.c:1217 | ||
4669 | 210 | #: ../src/xfpm-power.c:805 | ||
4670 | 211 | msgid "Shutdown" | ||
4671 | 212 | msgstr "Kapat" | ||
4672 | 213 | |||
4673 | 214 | #: ../settings/xfpm-settings.c:827 ../settings/xfpm-settings.c:1221 | ||
4674 | 215 | #: ../settings/xfpm-settings.c:1272 ../settings/xfpm-settings.c:1324 | ||
4675 | 216 | msgid "Ask" | ||
4676 | 217 | msgstr "Sor" | ||
4677 | 218 | |||
4678 | 219 | #: ../settings/xfpm-settings.c:889 ../settings/xfpm-settings.c:1038 | ||
4679 | 220 | msgid "Lock screen" | ||
4680 | 221 | msgstr "Ekranı kilitle" | ||
4681 | 222 | |||
4682 | 223 | #: ../settings/xfpm-settings.c:957 ../settings/xfpm-settings.c:1107 | ||
4683 | 224 | msgid "Spinning down hard disks permission denied" | ||
4684 | 225 | msgstr "Sabit disk izinleri kapatmaya izin vermiyor" | ||
4685 | 226 | |||
4686 | 227 | #: ../settings/xfpm-settings.c:1147 | ||
4687 | 228 | msgid "Always show icon" | ||
4688 | 229 | msgstr "Her zaman simge göster" | ||
4689 | 230 | |||
4690 | 231 | #: ../settings/xfpm-settings.c:1150 | ||
4691 | 232 | msgid "When battery is present" | ||
4692 | 233 | msgstr "Pil takılı iken" | ||
4693 | 234 | |||
4694 | 235 | #: ../settings/xfpm-settings.c:1153 | ||
4695 | 236 | msgid "When battery is charging or discharging" | ||
4696 | 237 | msgstr "Pil şarj edilirken veya tükenirken" | ||
4697 | 238 | |||
4698 | 239 | #: ../settings/xfpm-settings.c:1156 | ||
4699 | 240 | msgid "Never show icon" | ||
4700 | 241 | msgstr "Simge gösterme" | ||
4701 | 242 | |||
4702 | 243 | #: ../settings/xfpm-settings.c:1182 | ||
4703 | 244 | msgid "" | ||
4704 | 245 | "Disable Display Power Management Signaling (DPMS), e.g don't attempt to " | ||
4705 | 246 | "switch off the display or put it in sleep mode." | ||
4706 | 247 | msgstr "" | ||
4707 | 248 | "Görüntü Güç Yönetimi Sinyalizasyonunu (DPMS) Devredışı bırak, ör. ekranı " | ||
4708 | 249 | "kapatma veya hazırda bekletme kipine alma." | ||
4709 | 250 | |||
4710 | 251 | #: ../settings/xfpm-settings.c:1376 | ||
4711 | 252 | msgid "Suspend operation not supported" | ||
4712 | 253 | msgstr "Askıya alma işlemi desteklenmiyor" | ||
4713 | 254 | |||
4714 | 255 | #: ../settings/xfpm-settings.c:1382 | ||
4715 | 256 | msgid "Suspend operation not permitted" | ||
4716 | 257 | msgstr "Askıya alma işlemine izin verilmedi" | ||
4717 | 258 | |||
4718 | 259 | #: ../settings/xfpm-settings.c:1388 | ||
4719 | 260 | msgid "Hibernate operation not supported" | ||
4720 | 261 | msgstr "Hazırda bekletme işlemi desteklenmiyor" | ||
4721 | 262 | |||
4722 | 263 | #: ../settings/xfpm-settings.c:1393 | ||
4723 | 264 | msgid "Hibernate operation not permitted" | ||
4724 | 265 | msgstr "Hazırda bekletme işlemine izin verilmedi" | ||
4725 | 266 | |||
4726 | 267 | #: ../settings/xfpm-settings.c:1440 | ||
4727 | 268 | msgid "When all the power sources of the computer reach this charge level" | ||
4728 | 269 | msgstr "Bilgisayarın şarj seviyesi şu seviye yüzdesine geldiğinde" | ||
4729 | 270 | |||
4730 | 271 | #: ../settings/xfpm-settings.c:1543 ../settings/xfpm-settings.c:1548 | ||
4731 | 272 | msgid "General" | ||
4732 | 273 | msgstr "Genel" | ||
4733 | 274 | |||
4734 | 275 | #: ../settings/xfpm-settings.c:1557 ../settings/xfpm-settings.c:1562 | ||
4735 | 276 | msgid "On AC" | ||
4736 | 277 | msgstr "Fişe takılı iken (AC)" | ||
4737 | 278 | |||
4738 | 279 | #: ../settings/xfpm-settings.c:1572 ../settings/xfpm-settings.c:1577 | ||
4739 | 280 | msgid "On Battery" | ||
4740 | 281 | msgstr "Pil ile çalışırken" | ||
4741 | 282 | |||
4742 | 283 | #: ../settings/xfpm-settings.c:1586 ../settings/xfpm-settings.c:1591 | ||
4743 | 284 | msgid "Extended" | ||
4744 | 285 | msgstr "Genişletilmiş" | ||
4745 | 286 | |||
4746 | 287 | #: ../settings/xfpm-settings.c:1659 | ||
4747 | 288 | msgid "Check your power manager installation" | ||
4748 | 289 | msgstr "Güç yöneticisi kurulumunu kontrol edin" | ||
4749 | 290 | |||
4750 | 291 | #: ../settings/xfpm-settings-main.c:78 | ||
4751 | 292 | msgid "Settings manager socket" | ||
4752 | 293 | msgstr "Ayar yöneticisi soketi " | ||
4753 | 294 | |||
4754 | 295 | #: ../settings/xfpm-settings-main.c:78 | ||
4755 | 296 | msgid "SOCKET ID" | ||
4756 | 297 | msgstr "Soket Kimliği" | ||
4757 | 298 | |||
4758 | 299 | #: ../settings/xfpm-settings-main.c:89 ../src/xfpm-main.c:289 | ||
4759 | 300 | #: ../src/xfpm-power-info.c:948 | ||
4760 | 301 | #, c-format | ||
4761 | 302 | msgid "Type '%s --help' for usage." | ||
4762 | 303 | msgstr "Kullanımı öğrenmek için '%s --help' yazınız." | ||
4763 | 304 | |||
4764 | 305 | #: ../settings/xfpm-settings-main.c:123 | ||
4765 | 306 | msgid "Failed to load power manager configuration, using defaults" | ||
4766 | 307 | msgstr "" | ||
4767 | 308 | "Güç yöneticisi yapılandırması yüklenemedi, öntanımlı ayarlar kullanılacak" | ||
4768 | 309 | |||
4769 | 310 | #: ../settings/xfpm-settings-main.c:148 | ||
4770 | 311 | msgid "Unable to connect to Xfce Power Manager" | ||
4771 | 312 | msgstr "Xfce Güç Yöneticisine bağlanılamadı" | ||
4772 | 313 | |||
4773 | 314 | #: ../settings/xfpm-settings-main.c:190 ../src/xfpm-main.c:329 | ||
4774 | 315 | #, c-format | ||
4775 | 316 | msgid "Xfce power manager is not running" | ||
4776 | 317 | msgstr "Xfce güç yöneticisi çalışmıyor" | ||
4777 | 318 | |||
4778 | 319 | #: ../settings/xfpm-settings-main.c:195 | ||
4779 | 320 | msgid "Run" | ||
4780 | 321 | msgstr "Çalıştır" | ||
4781 | 322 | |||
4782 | 323 | #: ../settings/xfpm-settings-main.c:196 | ||
4783 | 324 | msgid "Xfce4 Power Manager is not running, do you want to launch it now?" | ||
4784 | 325 | msgstr "Xfce4 Güç Yöneticisi çalışmıyor, çalıştırmak ister misiniz?" | ||
4785 | 326 | |||
4786 | 327 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:1 | ||
4787 | 328 | #: ../src/xfpm-power.c:307 ../src/xfpm-power.c:595 ../src/xfpm-power.c:730 | ||
4788 | 329 | #: ../src/xfpm-power.c:766 ../src/xfpm-power.c:935 ../src/xfpm-power.c:959 | ||
4789 | 330 | #: ../src/xfpm-battery.c:349 ../src/xfce4-power-manager.desktop.in.h:1 | ||
4790 | 331 | msgid "Power Manager" | ||
4791 | 332 | msgstr "Güç Yöneticisi" | ||
4792 | 333 | |||
4793 | 334 | #: ../settings/xfce4-power-manager-settings.desktop.in.h:2 | ||
4794 | 335 | msgid "Settings for the Xfce Power Manager" | ||
4795 | 336 | msgstr "Xfce 4 Güç Yöneticisi Ayarları" | ||
4796 | 337 | |||
4797 | 338 | #: ../common/xfpm-common.c:155 | ||
4798 | 339 | msgid "translator-credits" | ||
4799 | 340 | msgstr "" | ||
4800 | 341 | "Samed Beyribey <ras0ir@eventualis.org>, 2009 Ayhan " | ||
4801 | 342 | "YALÇINSOY<ayhanyalcinsoy@gmail.com>,2010" | ||
4802 | 343 | |||
4803 | 344 | #: ../src/xfpm-power.c:330 | ||
4804 | 345 | msgid "" | ||
4805 | 346 | "An application is currently disabling the automatic sleep, doing this action " | ||
4806 | 347 | "now may damage the working state of this application, are you sure you want " | ||
4807 | 348 | "to hibernate the system?" | ||
4808 | 349 | msgstr "" | ||
4809 | 350 | "Bir uygulama otomatik askıya alma işlemini devre dışı bırakıyor. Bu işlemi " | ||
4810 | 351 | "şu an gerçekleştirirseniz çalışan uygulamaya zarar verebilirsiniz, buna " | ||
4811 | 352 | "rağmen sistemi hazırda bekletmek istediğinizden emin misiniz?" | ||
4812 | 353 | |||
4813 | 354 | #: ../src/xfpm-power.c:428 | ||
4814 | 355 | msgid "Quit" | ||
4815 | 356 | msgstr "Kapat" | ||
4816 | 357 | |||
4817 | 358 | #: ../src/xfpm-power.c:429 | ||
4818 | 359 | msgid "All running instances of the power manager will exit" | ||
4819 | 360 | msgstr "Tüm çalışan güç yöneticisi uygulamaları kapatılacak" | ||
4820 | 361 | |||
4821 | 362 | #: ../src/xfpm-power.c:431 | ||
4822 | 363 | msgid "Quit the power manager?" | ||
4823 | 364 | msgstr "Güç yöneticisinden çıkılsın mı?" | ||
4824 | 365 | |||
4825 | 366 | #. Power information | ||
4826 | 367 | #: ../src/xfpm-power.c:534 ../src/xfpm-power-info.c:818 | ||
4827 | 368 | msgid "Power Information" | ||
4828 | 369 | msgstr "Güç Bilgisi" | ||
4829 | 370 | |||
4830 | 371 | #. * | ||
4831 | 372 | #. * Power Mode | ||
4832 | 373 | #. * | ||
4833 | 374 | #. TRANSLATOR: Mode here is the power profile (presentation, power save, | ||
4834 | 375 | #. normal) | ||
4835 | 376 | #: ../src/xfpm-power.c:550 | ||
4836 | 377 | msgid "Mode" | ||
4837 | 378 | msgstr "Mod" | ||
4838 | 379 | |||
4839 | 380 | #. Normal | ||
4840 | 381 | #: ../src/xfpm-power.c:561 | ||
4841 | 382 | msgid "Normal" | ||
4842 | 383 | msgstr "Normal" | ||
4843 | 384 | |||
4844 | 385 | #. Normal | ||
4845 | 386 | #: ../src/xfpm-power.c:571 | ||
4846 | 387 | msgid "Presentation" | ||
4847 | 388 | msgstr "Sunum" | ||
4848 | 389 | |||
4849 | 390 | #: ../src/xfpm-power.c:693 | ||
4850 | 391 | msgid "Hibernate the system" | ||
4851 | 392 | msgstr "Sistemi hazırda beklet moduna al" | ||
4852 | 393 | |||
4853 | 394 | #: ../src/xfpm-power.c:704 | ||
4854 | 395 | msgid "Suspend the system" | ||
4855 | 396 | msgstr "Sistemi askıya al" | ||
4856 | 397 | |||
4857 | 398 | #: ../src/xfpm-power.c:714 | ||
4858 | 399 | msgid "Shutdown the system" | ||
4859 | 400 | msgstr "Sistemi kapat" | ||
4860 | 401 | |||
4861 | 402 | #: ../src/xfpm-power.c:725 ../src/xfpm-power.c:763 | ||
4862 | 403 | msgid "System is running on low power. Save your work to avoid losing data" | ||
4863 | 404 | msgstr "" | ||
4864 | 405 | "Güç seviyesi çok düşük. Veri kaybetmemek için lütfen işlerinizi kaydediniz" | ||
4865 | 406 | |||
4866 | 407 | #: ../src/xfpm-power.c:936 | ||
4867 | 408 | msgid "System is running on low power" | ||
4868 | 409 | msgstr "Sistem düşük güçte çalışıyor" | ||
4869 | 410 | |||
4870 | 411 | #: ../src/xfpm-power.c:955 | ||
4871 | 412 | #, c-format | ||
4872 | 413 | msgid "" | ||
4873 | 414 | "Your %s charge level is low\n" | ||
4874 | 415 | "Estimated time left %s" | ||
4875 | 416 | msgstr "" | ||
4876 | 417 | "%s\n" | ||
4877 | 418 | "%s deşarj oluyor (%i%%)\n" | ||
4878 | 419 | "tahmini kalan süre %s." | ||
4879 | 420 | |||
4880 | 421 | #: ../src/xfpm-power.c:1158 ../src/xfpm-power.c:1163 | ||
4881 | 422 | msgid "Adaptor is offline" | ||
4882 | 423 | msgstr "Adaptör takılı değil" | ||
4883 | 424 | |||
4884 | 425 | #: ../src/xfpm-power.c:1159 ../src/xfpm-power.c:1164 ../src/xfpm-battery.c:408 | ||
4885 | 426 | #, c-format | ||
4886 | 427 | msgid "Adaptor is online" | ||
4887 | 428 | msgstr "Adaptör takılı" | ||
4888 | 429 | |||
4889 | 430 | #: ../src/xfpm-power.c:1617 ../src/xfpm-power.c:1638 ../src/xfpm-power.c:1653 | ||
4890 | 431 | #: ../src/xfpm-power.c:1676 | ||
4891 | 432 | #, c-format | ||
4892 | 433 | msgid "Permission denied" | ||
4893 | 434 | msgstr "Erişim engellendi" | ||
4894 | 435 | |||
4895 | 436 | #: ../src/xfpm-power.c:1661 ../src/xfpm-power.c:1684 | ||
4896 | 437 | #, c-format | ||
4897 | 438 | msgid "Suspend not supported" | ||
4898 | 439 | msgstr "Askıya alma desteklenmiyor" | ||
4899 | 440 | |||
4900 | 441 | #: ../src/xfpm-power-common.c:122 ../src/xfpm-power-common.c:141 | ||
4901 | 442 | msgid "Battery" | ||
4902 | 443 | msgstr "Pil" | ||
4903 | 444 | |||
4904 | 445 | #: ../src/xfpm-power-common.c:124 ../src/xfpm-battery.c:824 | ||
4905 | 446 | msgid "UPS" | ||
4906 | 447 | msgstr "UPS" | ||
4907 | 448 | |||
4908 | 449 | #: ../src/xfpm-power-common.c:126 | ||
4909 | 450 | msgid "Line power" | ||
4910 | 451 | msgstr "Hat gücü" | ||
4911 | 452 | |||
4912 | 453 | #: ../src/xfpm-power-common.c:128 | ||
4913 | 454 | msgid "Mouse" | ||
4914 | 455 | msgstr "Fare" | ||
4915 | 456 | |||
4916 | 457 | #: ../src/xfpm-power-common.c:130 | ||
4917 | 458 | msgid "Keyboard" | ||
4918 | 459 | msgstr "Klavye" | ||
4919 | 460 | |||
4920 | 461 | #: ../src/xfpm-power-common.c:134 | ||
4921 | 462 | msgid "PDA" | ||
4922 | 463 | msgstr "PDA" | ||
4923 | 464 | |||
4924 | 465 | #: ../src/xfpm-power-common.c:136 | ||
4925 | 466 | msgid "Phone" | ||
4926 | 467 | msgstr "Telefon" | ||
4927 | 468 | |||
4928 | 469 | #: ../src/xfpm-power-common.c:138 ../src/xfpm-power-common.c:153 | ||
4929 | 470 | #: ../src/xfpm-power-common.c:168 ../src/xfpm-battery.c:842 | ||
4930 | 471 | msgid "Unknown" | ||
4931 | 472 | msgstr "Bilinmiyor" | ||
4932 | 473 | |||
4933 | 474 | #: ../src/xfpm-power-common.c:155 | ||
4934 | 475 | msgid "Lithium ion" | ||
4935 | 476 | msgstr "Lityum iyon" | ||
4936 | 477 | |||
4937 | 478 | #: ../src/xfpm-power-common.c:157 | ||
4938 | 479 | msgid "Lithium polymer" | ||
4939 | 480 | msgstr "Lityum polimer" | ||
4940 | 481 | |||
4941 | 482 | #: ../src/xfpm-power-common.c:159 | ||
4942 | 483 | msgid "Lithium iron phosphate" | ||
4943 | 484 | msgstr "Lityum demir fosfat" | ||
4944 | 485 | |||
4945 | 486 | #: ../src/xfpm-power-common.c:161 | ||
4946 | 487 | msgid "Lead acid" | ||
4947 | 488 | msgstr "Kurşun asit" | ||
4948 | 489 | |||
4949 | 490 | #: ../src/xfpm-power-common.c:163 | ||
4950 | 491 | msgid "Nickel cadmium" | ||
4951 | 492 | msgstr "Nikel Kadmiyum" | ||
4952 | 493 | |||
4953 | 494 | #: ../src/xfpm-power-common.c:165 | ||
4954 | 495 | msgid "Nickel metal hybride" | ||
4955 | 496 | msgstr "Nikel metal hibrid" | ||
4956 | 497 | |||
4957 | 498 | #: ../src/xfpm-battery.c:169 | ||
4958 | 499 | msgid "Unknown time" | ||
4959 | 500 | msgstr "Bilinmeyen zaman" | ||
4960 | 501 | |||
4961 | 502 | #: ../src/xfpm-battery.c:175 | ||
4962 | 503 | #, c-format | ||
4963 | 504 | msgid "%i minute" | ||
4964 | 505 | msgid_plural "%i minutes" | ||
4965 | 506 | msgstr[0] "%i dakika" | ||
4966 | 507 | |||
4967 | 508 | #: ../src/xfpm-battery.c:186 | ||
4968 | 509 | #, c-format | ||
4969 | 510 | msgid "%i hour" | ||
4970 | 511 | msgid_plural "%i hours" | ||
4971 | 512 | msgstr[0] "%i saat" | ||
4972 | 513 | |||
4973 | 514 | #. TRANSLATOR: "%i %s %i %s" are "%i hours %i minutes" | ||
4974 | 515 | #. * Swap order with "%2$s %2$i %1$s %1$i if needed | ||
4975 | 516 | #: ../src/xfpm-battery.c:192 | ||
4976 | 517 | #, c-format | ||
4977 | 518 | msgid "%i %s %i %s" | ||
4978 | 519 | msgstr "%i %s %i %s" | ||
4979 | 520 | |||
4980 | 521 | #: ../src/xfpm-battery.c:193 | ||
4981 | 522 | msgid "hour" | ||
4982 | 523 | msgid_plural "hours" | ||
4983 | 524 | msgstr[0] "saat" | ||
4984 | 525 | |||
4985 | 526 | #: ../src/xfpm-battery.c:194 | ||
4986 | 527 | msgid "minute" | ||
4987 | 528 | msgid_plural "minutes" | ||
4988 | 529 | msgstr[0] "dakika" | ||
4989 | 530 | |||
4990 | 531 | #: ../src/xfpm-battery.c:209 ../src/xfpm-battery.c:260 | ||
4991 | 532 | #, c-format | ||
4992 | 533 | msgid "Your %s is fully charged" | ||
4993 | 534 | msgstr "%s tamamen şarj edildi" | ||
4994 | 535 | |||
4995 | 536 | #: ../src/xfpm-battery.c:212 ../src/xfpm-battery.c:263 | ||
4996 | 537 | #, c-format | ||
4997 | 538 | msgid "Your %s is charging" | ||
4998 | 539 | msgstr "%s şarj ediliyor" | ||
4999 | 540 | |||
5000 | 541 | #: ../src/xfpm-battery.c:222 |
The diff has been truncated for viewing.
diff is not usable due to .pc dir and other things, attaching debdiff to bug