Position and German translation patch

"Jan Niklas Hasse" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
Hi there!

I just recognized that the 3rd party manager is always created at the
top-left of the screen, so I changed it to be at the mouse pointer.
Also I noticed that the German translation seems not to work with the
desktop file, so it leaves "Manage 3rd party software" in the menu
untranslated. (Also for other languages I think)
I have no idea how gettext and the autotools work, so I just removed ".h" in
the "de" file, but that surely isn't the only thing to do.

Another thing I recognized:  After installed the autopackage gtk frontend,
the password prompt is in English. Also if I'm installing packages as root,
the text isn't translated (but it is if I choose "No Password").

Jan-Nik

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
position.patch (text/x-diff, 1.4 KB)
diff -u -r frontend/gtkfe/po/de.po frontend.new/gtkfe/po/de.po
--- frontend/gtkfe/po/de.po	2007-11-18 21:23:12.000000000 +0100
+++ frontend.new/gtkfe/po/de.po	2007-11-18 21:52:36.000000000 +0100
@@ -474,8 +474,8 @@
 "Entwickler:\n"
 "http://autopackage.org/"
 
-#: ../../manager/frontend-qt/autopackage-manager-qt.desktop.in.h:1
-#: ../../manager/frontend-gtk/autopackage-manager-gtk.desktop.in.h:1
+#: ../../manager/frontend-qt/autopackage-manager-qt.desktop.in:1
+#: ../../manager/frontend-gtk/autopackage-manager-gtk.desktop.in:1
 #: ../../manager/frontend-gtk/main.c:569
 #: ../../manager/frontend-gtk/manager-gtk.glade.h:6
 msgid "Manage 3rd party software"
diff -u -r frontend/manager/frontend-gtk/manager-gtk.glade frontend.new/manager/frontend-gtk/manager-gtk.glade
--- frontend/manager/frontend-gtk/manager-gtk.glade	2007-11-18 21:47:45.000000000 +0100
+++ frontend.new/manager/frontend-gtk/manager-gtk.glade	2007-11-18 21:48:07.000000000 +0100
@@ -10,7 +10,7 @@
   <property name="visible">True</property>
   <property name="title" translatable="yes">Manage 3rd party software</property>
   <property name="type">GTK_WINDOW_TOPLEVEL</property>
-  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="window_position">GTK_WIN_POS_MOUSE</property>
   <property name="modal">False</property>
   <property name="default_width">600</property>
   <property name="default_height">400</property>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.