gnome-control-center new string?

2011-04-06 Thread Richard Hughes
I'm trying to fix https://bugzilla.gnome.org/show_bug.cgi?id=645002
which has just become a release blocker for Fedora 15. I'm proposing
we add the following patch to gnome-control-center so that we can fix
the issue properly for 3.0.1

I know we don't normally allow string additions in stable branches,
but I thought I'd ask anyway. Ideas welcome.

Thanks,

Richard.

---

From acdf03a89a9a559c91b054881d84383b949e2661 Mon Sep 17 00:00:00 2001
From: Richard Hughes rich...@hughsie.com
Date: Wed, 6 Apr 2011 14:46:23 +0100
Subject: [PATCH] network: add a 'Other...' entry to the wireless
combobox so users can connect to hidden access points

A suprising number of people need this to be able to get onto their wireless
network. This is also a Fedora blocker if that matters.

This patch also adds a string. I don't feel there is a way around it, although
we could steal the translations from another project. I think using a real word
is better than displaying a blank entry or a picture or something. I dunno.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=645002
---
 panels/network/cc-network-panel.c   |  127 +++
 panels/network/panel-cell-renderer-signal.c |6 ++
 2 files changed, 133 insertions(+), 0 deletions(-)

diff --git a/panels/network/cc-network-panel.c
b/panels/network/cc-network-panel.c
index 73efab7..0eef14d 100644
--- a/panels/network/cc-network-panel.c
+++ b/panels/network/cc-network-panel.c
@@ -794,6 +794,32 @@ add_access_point (CcNetworkPanel *panel,
NMAccessPoint *ap, NMAccessPoint *activ
 }
 }

+static void
+add_access_point_other (CcNetworkPanel *panel)
+{
+CcNetworkPanelPrivate *priv = panel-priv;
+GtkListStore *liststore_wireless_network;
+GtkTreeIter treeiter;
+
+liststore_wireless_network = GTK_LIST_STORE
(gtk_builder_get_object (priv-builder,
+
liststore_wireless_network));
+
+gtk_list_store_append (liststore_wireless_network, treeiter);
+gtk_list_store_set (liststore_wireless_network,
+treeiter,
+PANEL_WIRELESS_COLUMN_ID, ap-other...,
+/* TRANSLATORS: this is when the access
point is not listed
+ * in the dropdown (or hidden) and the
user has to select
+ * another entry manually */
+PANEL_WIRELESS_COLUMN_TITLE, _(Other...),
+/* always last */
+PANEL_WIRELESS_COLUMN_SORT, ,
+PANEL_WIRELESS_COLUMN_STRENGTH, 0,
+PANEL_WIRELESS_COLUMN_MODE, NM_802_11_MODE_UNKNOWN,
+PANEL_WIRELESS_COLUMN_SECURITY, NM_AP_SEC_UNKNOWN,
+-1);
+}
+
 #if 0
 static gchar *
 ip4_address_as_string (guint32 ip)
@@ -1362,6 +1388,7 @@ device_refresh_wifi_ui (CcNetworkPanel *panel,
NetDevice *device)
 ap = NM_ACCESS_POINT (g_ptr_array_index
(aps_unique, i));
 add_access_point (panel, ap, active_ap);
 }
+add_access_point_other (panel);
 if (active_ap == NULL) {
 widget = GTK_WIDGET (gtk_builder_get_object
(panel-priv-builder,

combobox_wireless_network_name));
@@ -2187,6 +2214,61 @@ connection_add_activate_cb (NMClient *client,
 }

 static void
+connect_to_hidden_network_cb (GObject *source_object, GAsyncResult
*res, gpointer user_data)
+{
+GError *error = NULL;
+GVariant *result = NULL;
+
+result = g_dbus_proxy_call_finish (G_DBUS_PROXY
(source_object), res, error);
+if (result == NULL) {
+g_warning (failed to connect to hidden network: %s,
+   error-message);
+g_error_free (error);
+return;
+}
+}
+
+static void
+connect_to_hidden_network (CcNetworkPanel *panel)
+{
+GDBusProxy *proxy;
+GVariant *res = NULL;
+GError *error = NULL;
+
+/* connect to NM applet */
+proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,
+
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES |
+
G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS,
+   NULL,
+
org.gnome.network_manager_applet,
+
/org/gnome/network_manager_applet,
+
org.gnome.network_manager_applet,
+   panel-priv-cancellable,
+   error);
+if (proxy == NULL) {
+g_warning (failed to connect to NM applet: %s,
+   error-message);
+g_error_free (error);
+goto out;
+}
+
+/* try to show the hidden network UI */
+g_dbus_proxy_call (proxy,
+   ConnectToHiddenNetwork,
+   NULL,
+   G_DBUS_CALL_FLAGS_NONE,
+   

Re: gnome-control-center new string?

2011-04-06 Thread Andre Klapper
On Wed, 2011-04-06 at 15:48 +0100, Richard Hughes wrote:
 I'm trying to fix https://bugzilla.gnome.org/show_bug.cgi?id=645002
 which has just become a release blocker for Fedora 15. I'm proposing
 we add the following patch to gnome-control-center so that we can fix
 the issue properly for 3.0.1
 
 I know we don't normally allow string additions in stable branches,
 but I thought I'd ask anyway. Ideas welcome.
 + /* TRANSLATORS: this is when the access point is not listed
 +  * in the dropdown (or hidden) and the user has to select
 +  * another entry manually */
 + PANEL_WIRELESS_COLUMN_TITLE, _(Other...),


The string already exists in g-c-c so technically speaking it is not a
string freeze break:
#: ../panels/user-accounts/um-language-dialog.c:180
msgid Other...

However I don't know if some languages require a translation context
(msgctxt) here which would make this a new separate string, in case the
two translations differ (gender of strings that each of them refers to).
See 
https://live.gnome.org/TranslationProject/DevGuidelines/Translation%20contexts

andre
-- 
mailto:ak...@gmx.net | failed
http://blogs.gnome.org/aklapper | http://www.openismus.com

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: gnome-control-center new string?

2011-04-06 Thread Matthias Clasen
On Wed, Apr 6, 2011 at 11:08 AM, Andre Klapper ak...@gmx.net wrote:

 The string already exists in g-c-c so technically speaking it is not a
 string freeze break:
 #: ../panels/user-accounts/um-language-dialog.c:180
 msgid Other...

 However I don't know if some languages require a translation context
 (msgctxt) here which would make this a new separate string

I think message context (and a translator comment) would be a good
idea for both of these. We can prime the translations for both new
strings with the current context-free translations...
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: gnome-control-center new string?

2011-04-06 Thread Luca Ferretti
 Subject: [PATCH] network: add a 'Other...' entry to the wireless
 combobox so users can connect to hidden access points


Question: why a combobox menu entry? Maybe simply type the hidden
network name in combobox text entry area could be good by now.

PS related to missing features, there is no way to create a network,
see Create New Wireless Network in GNOME 2 nm-applet. Planned for
3.2?
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: gnome-control-center new string?

2011-04-06 Thread Matthias Clasen
On Wed, Apr 6, 2011 at 11:27 AM, Luca Ferretti lferr...@gnome.org wrote:
 Subject: [PATCH] network: add a 'Other...' entry to the wireless
 combobox so users can connect to hidden access points


 Question: why a combobox menu entry? Maybe simply type the hidden
 network name in combobox text entry area could be good by now.

Making the entry editable would be awkward, I think.
Plus, this way we get to reuse all the existing infrastructure, which
makes this fix 3.0.1 material.

 PS related to missing features, there is no way to create a network,
 see Create New Wireless Network in GNOME 2 nm-applet. Planned for
 3.2?

At some point I started working on a patch for it, but I put it aside
to focus on more pressing network problems. Its certainly a much less
needed feature than hidden aps. But it can certainly make 3.2
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Problem with reviewing translated release notes

2011-04-06 Thread Коростіль Данило

Btw, may someone update notes once again till release?
Thanks in advance.
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


String freeze for gbrainy 1.65

2011-04-06 Thread Jordi Mas

Hello,

I have just frozen the strings for gbrainy version 1.65. Only bug fixes 
will be committed from now.


If you want to update your translations you have until the 9th of April 
2011 23.00 GMT. If you are working or planing to work on updating your 
translations, please send me your work before then.


gbrainy 1.65 is a stable version, please make sure that you commit your 
changes to the stable branch [2] and [3].


Regards,

Jordi,

Note: I note that this is short period of time but only 3 strings have 
changed. If you cannot make the deadline, please update the translations 
since probably more minor versions will follow.


[1] http://l10n.gnome.org/module/gbrainy/
[2] http://l10n.gnome.org/module/gbrainy/#stable
[3] http://git.gnome.org/browse/gbrainy/log/?h=stable
--
Jordi Mas i Hernàndez. Bloc: http://gent.softcatala.org/jmas/bloc/
Planet Softcatalà - http://planeta.softcatala.org
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Problem with reviewing translated release notes

2011-04-06 Thread Kenneth Nielsen
2011/4/6 Коростіль Данило ted.korosti...@gmail.com:
 Btw, may someone update notes once again till release?
 Thanks in advance.

I have juuust commited my translation of the release notes. So if
someone would start another update-script run I would definitely owe
them an icecream.

Regards Kenneth

 ___
 gnome-i18n mailing list
 gnome-i18n@gnome.org
 http://mail.gnome.org/mailman/listinfo/gnome-i18n

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: gnome-control-center new string?

2011-04-06 Thread Kenneth Nielsen
2011/4/6 Andre Klapper ak...@gmx.net:
 On Wed, 2011-04-06 at 15:48 +0100, Richard Hughes wrote:
 I'm trying to fix https://bugzilla.gnome.org/show_bug.cgi?id=645002
 which has just become a release blocker for Fedora 15. I'm proposing
 we add the following patch to gnome-control-center so that we can fix
 the issue properly for 3.0.1

 I know we don't normally allow string additions in stable branches,
 but I thought I'd ask anyway. Ideas welcome.
 +     /* TRANSLATORS: this is when the access point is not listed
 +      * in the dropdown (or hidden) and the user has to select
 +      * another entry manually */
 +     PANEL_WIRELESS_COLUMN_TITLE, _(Other...),


 The string already exists in g-c-c so technically speaking it is not a
 string freeze break:
 #: ../panels/user-accounts/um-language-dialog.c:180
 msgid Other...

 However I don't know if some languages require a translation context
 (msgctxt) here which would make this a new separate string, in case the
 two translations differ (gender of strings that each of them refers to).
 See 
 https://live.gnome.org/TranslationProject/DevGuidelines/Translation%20contexts

It _is_ context/gender dependent, at least in Danish. So you cannot
reuse an existing Other... translation from another project, _unless_
it there also refers to an access point (and the context is made clear
in the translation you want to copy from).

Regards Kenneth

 andre
 --
 mailto:ak...@gmx.net | failed
 http://blogs.gnome.org/aklapper | http://www.openismus.com

 ___
 gnome-i18n mailing list
 gnome-i18n@gnome.org
 http://mail.gnome.org/mailman/listinfo/gnome-i18n

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


GNOME Help Plans

2011-04-06 Thread Shaun McCance
Hi all,

As some of you know, the documentation team made your lives
very difficult for 3.0. We completely redid the entire help,
and we worked it right to the last minute. A few of you tried
valiantly to keep up.

I wish we could have done better to get the help finished and
translatable earlier. But with huge UI changes coming in after
the code freeze break, the documentation team was scrambling
as much as the translators.

We're not done. We still have a lot we didn't complete, and
some stuff that just isn't up the quality standards we'd
like. The bright side is that I think we've laid a really
solid foundation for future 3.x releases, and it's possible
we'll be able to have a documentation freeze on at least
some of our documents in 3.2.

For now, though, we have a lot of work left to do. So I'm
going to be making weekly 3.0.x releases of gnome-user-docs.
I'll make them every Sunday, around early evening UTC. I'm
letting you all know in case you want to make a mad dash to
get help translations in.

Thanks,
Shaun


___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Urgent: release notes are not easily found on the Gnome websites (and please think of the poor translators!)

2011-04-06 Thread Wouter Bolsterlee
Hi marketing team,

Congratulations with the Gnome 3 release and the nice web presence we
got ourselves for this shiny new release!

There is a problem, though: the release notes are not easily found on
the gnome.org or gnome3.org websites. I couldn't find a link at all
even. FYI, the release notes are published in many languages over here:

  http://library.gnome.org/misc/release-notes/3.0/

The release notes, compiled by Allan Day, contain lots of useful
information about Gnome 3. It would be a real shame if people can't find
these.

Many translation teams have worked *very* hard to translate these.
Please don't underestimate the amount of effort translation teams have
put into translating this document. It would be very disappointing if
their work goes unnoticed.

So, my urgent question is: please make sure visitors of the Gnome
websites are pointed in the right direction!

(Please keep the gnome-i18n list Cc'ed, since many translators don't
read the marketing list on a regular basis. (I'm not subscribed myself
either.)

— Wouter, Gnome i18n coordination team


signature.asc
Description: This is a digitally signed message part
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Problem with reviewing translated release notes

2011-04-06 Thread Wouter Bolsterlee
Kenneth Nielsen schreef op wo 06-04-2011 om 21:26 [+0200]:
 2011/4/6 Коростіль Данило ted.korosti...@gmail.com:
  Btw, may someone update notes once again till release?
  Thanks in advance.
 I have juuust commited my translation of the release notes. So if
 someone would start another update-script run I would definitely owe
 them an icecream.

I fixed a bunch of errors in the Dutch translation too, so this would be
highly welcomed.

(Oh, and I just sent a message about the discoverability of the release
notes.)

— Wouter


signature.asc
Description: This is a digitally signed message part
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Problem with reviewing translated release notes

2011-04-06 Thread Wouter Bolsterlee
Wouter Bolsterlee schreef op wo 06-04-2011 om 22:56 [+0200]:
  I have juuust commited my translation of the release notes. So if
  someone would start another update-script run I would definitely owe
  them an icecream.
 
 I fixed a bunch of errors in the Dutch translation too, so this would
 be highly welcomed.

Never mind about this one. It seems there has been a recent rebuild
(last hour or so I think).

— Wouter


signature.asc
Description: This is a digitally signed message part
___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Problem with reviewing translated release notes

2011-04-06 Thread Kenneth Nielsen
2011/4/6 Wouter Bolsterlee wbols...@gnome.org:
 Wouter Bolsterlee schreef op wo 06-04-2011 om 22:56 [+0200]:
  I have juuust commited my translation of the release notes. So if
  someone would start another update-script run I would definitely owe
  them an icecream.

 I fixed a bunch of errors in the Dutch translation too, so this would
 be highly welcomed.

 Never mind about this one. It seems there has been a recent rebuild
 (last hour or so I think).

Yes. there has been one since I committed my translation.


    — Wouter

 ___
 gnome-i18n mailing list
 gnome-i18n@gnome.org
 http://mail.gnome.org/mailman/listinfo/gnome-i18n


___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Urgent: release notes are not easily found on the Gnome websites (and please think of the poor translators!)

2011-04-06 Thread Allan Day
Wouter Bolsterlee wrote:
 Hi marketing team,
 
 Congratulations with the Gnome 3 release and the nice web presence we
 got ourselves for this shiny new release!
 
 There is a problem, though: the release notes are not easily found on
 the gnome.org or gnome3.org websites. I couldn't find a link at all
 even. FYI, the release notes are published in many languages over here:
 
   http://library.gnome.org/misc/release-notes/3.0/
 
 The release notes, compiled by Allan Day, contain lots of useful
 information about Gnome 3. It would be a real shame if people can't find
 these.
 
 Many translation teams have worked *very* hard to translate these.
 Please don't underestimate the amount of effort translation teams have
 put into translating this document. It would be very disappointing if
 their work goes unnoticed.
 
 So, my urgent question is: please make sure visitors of the Gnome
 websites are pointed in the right direction!
 
 (Please keep the gnome-i18n list Cc'ed, since many translators don't
 read the marketing list on a regular basis. (I'm not subscribed myself
 either.)
 
 — Wouter, Gnome i18n coordination team

I'm waiting until our server problems are resolved before adding any
further links to the release notes: library.gnome.org has been
particularly badly affected.

Don't worry: this stuff will happen as soon as possible.

Allan
-- 
Blog: http://afaikblog.wordpress.com/
IRC: aday on irc.gnome.org

___
gnome-i18n mailing list
gnome-i18n@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-i18n