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