Re: [Geeqie-devel] Geeqie.desktop

2010-12-30 Thread Tore Ericsson
Från Laurent Monin z...@norz.org
2010-12-30 09.14.12 [Re: [Geeqie-devel] Geeqie.desktop]: 
 Tore Ericsson a écrit :
  ...
  What is your final policy to name directories: 'folders' or
  'directories'?
  
  Make your choice and I will translate into the corresponding. There is a
  kind of distinction, even though small and unimportant; choose one,
  please! Tore
 
 Folders was used mostly because it is shorter i think.
 In french translation, it was kept as it is shorter too: dossiers vs
 répertoires.
 I would say, do as you want, but prefer shorter labels, if they mean the
 same thing.
 And try to be consistent.

Ok. - Is there a way for me to locally preview (perhaps with sv.mo??) the 
translation with my Geekie 1.0beta2 installation, before further submission? 
(Of course there is a way, but is it simple; else howto?) / Tore

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-29 Thread Laurent Monin

Tore Ericsson a écrit :
Från Laurent Monin z...@norz.org 2010-12-28 20.18.01: 
  

Klaus Ethgen a écrit :


Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
origin/master' to create your own tracking branch for the main trunk. As
  

Note 'git checkout -b swedish origin/master'
  

Content-Type: text/plain; charset=ISO-8859-1\n


Assume should be changed to UTF-8.
  

Yes.

-Content-Type: text/plain; charset=ISO-8859-1\n
+Content-Type: text/plain; charset=utf-8\n

Well if I remember right, 'se' should be correct; isn't se_sv and se_fi used 
to distinguish the Swedish language practised in Sweden and in Finland, 
respectively, when that is important? Anyhow, we don't need such refinements 
here!
  

Found no .pot file, generated geeqie.pot with 'intltool-update -p', OK? Is it 
useful?


  

Just run : intltool-update sv
If a change to 'se' is preferred: 
	The sv.po may perhaps be reused by making a copy 'se.po' (or using 'Save 
as ...' in Poedit?) and adding 'se' into LINGUAS? Next, edit the 'se.po' 
according to 'geeqie.pot' - and into the right charset (I would prefer UTF-8 
as a universal and my standard). 
	How/when do we remove the 'sv' version, according to any git-rules? - 
Maybe simply delete etc.?


Tore

  
From gettext documentation Appendix A.1 Usual Language Codes 
(http://www.gnu.org/software/gettext/manual/gettext.html#Usual-Language-Codes),
correct language code for swedish is sv (svenska), while se is 
Northern Sami.


So keep sv.po, no need to change.

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-29 Thread Tore Ericsson
...
  From gettext documentation Appendix A.1 Usual Language Codes
 (http://www.gnu.org/software/gettext/manual/gettext.html#Usual-Language-Cod
 es), correct language code for swedish is sv (svenska), while se is
 Northern Sami.
 
 So keep sv.po, no need to change.

Yes, Laurent, that is true, I'm on my way. 
What is your final policy to name directories: 'folders' or 
'directories'?  
Make your choice and I will translate into the corresponding. There is a kind 
of distinction, even though small and unimportant; choose one, please!
Tore

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-28 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Tore,

I answer to the list as it might be for interest for other too.

Am Mo den 27. Dez 2010 um 20:12 schrieb Tore Ericsson:
 No, I don't know howto, since I have never participated in any net-project 
 before and need detailed instructions. However, taking part in such a 
 language 
 subproject is perhaps just enough to start with?
 
 So, please give me a beginner's intro an I'll have a try to get involved!

I'll try to.

Needed Software is:
- - git (For Sourcemanagement. In debian, package git or git-core,
  depending on the version you use.)
- - poedit (To edit the translations, there are other ways but this tool
  seems to be the easiest one.)
- - intltool

First you need a checkout of geeqie on your local system. With the
current repository it is pretty easy; just type 'git clone
git://github.com/zas/geeqie_zas.git' and you have all sources in the
directory geeqie_zas.

Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
origin/master' to create your own tracking branch for the main trunk. As
there is no Swedish translation until now you have to start with 'cp
geeqie.pot se.po' and edit the header of se.po to fulfil the Swedish
language. (CHARSET in Content-Type is the most important. one.)

Then you can run 'intltool-update se' to update the Swedish po-file. You
do this command also regularly if source is updated or before a checkin.
(The last one is important as poedit reformats the comments in the
file.)

After that you can start 'poedit se.po' and you can start the
translation. For the begin just start with translations that are
unambiguous. You can rearrange the sentences but keep in mind that they
might be only part of another sentence. If you are in doubt, just ask.

After your edit you add and commit the file to git: 'git add se.po; git
commit -m Started with Swedish translation'

Then you can generate the patches with 'git format-patch origin/master'
and send it to the list. If Laurent give you commit rights you can
commit directly but that needs some small additional steps that I do not
address here for the moment.

For the correctness, the se translation has also to be enabled in the
makefile template respective in file LINGUAS. But that can be done later
by one who is familiar with that process.

 Best regards and a happy end of 2010!

Thanks allot. The same for you.

Regards
   Klaus

Ps. If I forget something, please add.
- -- 
Klaus Ethgenhttp://www.ethgen.ch/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen kl...@ethgen.de
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTRnmL5+OKpjRpO3lAQootgf/a0XQuJuEb1N6keeGdkmZZ6civcBtdv39
iRKXQygZNpMVGIoQV9ZXwel5hXi2wDBwrzrhrG592rMCw74EcE3jqTh6Gd29x6z1
pwxqXJsOuXqL0PlEObMRfRDIcaoL6wBPhTU1MSac8BiNbYBOIjGLXS2j4BHTKR9J
s8nvbAf2Lur04GXABj1m5oRwpssVSN/Efvro1eetN9yVNi3vi8jzzwVaqPQIt+9G
Yv98laS4Nkxrco3u9QMHl/nzuVqDjrrfXNQJHDTs0kOKkunl5Notu6nsgH13nKiE
YjYRUj746Oc6jTRZ0gKEKuMS5WZ6tavO5MVFCeKw774c91HMeZukbw==
=Pmh0
-END PGP SIGNATURE-

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-28 Thread Laurent Monin
Klaus Ethgen a écrit :

 Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
 origin/master' to create your own tracking branch for the main trunk. As
 there is no Swedish translation until now you have to start with 'cp
 geeqie.pot se.po' and edit the header of se.po to fulfil the Swedish
 language. (CHARSET in Content-Type is the most important. one.)

   
In fact, there is a swedish translation named po/sv.po:

# Swedish translations for gqview package
# Svenska �vers�ttningar f�r paketet gqview.
# Copyright (C) 2003 John Ellis
# This file is distributed under the same license as the gqview package.
# Hans �fverbeck hans.ofverb...@home.se, 2003-2005.
#
msgid 
msgstr 
Project-Id-Version: gqview 1.5.7\n
Report-Msgid-Bugs-To: \n
POT-Creation-Date: 2008-05-13 22:14+0200\n
PO-Revision-Date: 2005-02-01 23:26+0100\n
Last-Translator: Hans Ofverbeck hans.ofverb...@home.se\n
Language-Team: Swedish s...@li.org\n
MIME-Version: 1.0\n
Content-Type: text/plain; charset=ISO-8859-1\n
Content-Transfer-Encoding: 8bit\n
Plural-Forms: nplurals=2; plural=(n != 1);\n

It is very incomplete though.

I don't know what should be the correct name (sv.po versus se.po), but 
if se.po is more correct
then we should change it.


BTW, nice guide Klaus, perhaps worth to add it to the wiki on github.

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-28 Thread Tore Ericsson
Från Laurent Monin z...@norz.org 2010-12-28 20.18.01: 
 Klaus Ethgen a écrit :
  Go to the directory geeqie_zas/po and issue git 'checkout -b swedish
  origin/master' to create your own tracking branch for the main trunk. As
Note 'git checkout -b swedish origin/master'
  there is no Swedish translation until now you have to start with 'cp
  geeqie.pot se.po' and edit the header of se.po to fulfil the Swedish
  language. (CHARSET in Content-Type is the most important. one.) 

 In fact, there is a swedish translation named po/sv.po:
 
 # Swedish translations for gqview package
 # Svenska �vers�ttningar f�r paketet gqview.
 # Copyright (C) 2003 John Ellis
 # This file is distributed under the same license as the gqview package.
 # Hans �fverbeck hans.ofverb...@home.se, 2003-2005.
 #
 msgid 
 msgstr 
 Project-Id-Version: gqview 1.5.7\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2008-05-13 22:14+0200\n
 PO-Revision-Date: 2005-02-01 23:26+0100\n
 Last-Translator: Hans Ofverbeck hans.ofverb...@home.se\n
 Language-Team: Swedish s...@li.org\n
 MIME-Version: 1.0\n
 Content-Type: text/plain; charset=ISO-8859-1\n
Assume should be changed to UTF-8.
 Content-Transfer-Encoding: 8bit\n
 Plural-Forms: nplurals=2; plural=(n != 1);\n
 
 It is very incomplete though.
 
 I don't know what should be the correct name (sv.po versus se.po), but
 if se.po is more correct
 then we should change it.
 
Well if I remember right, 'se' should be correct; isn't se_sv and se_fi used 
to distinguish the Swedish language practised in Sweden and in Finland, 
respectively, when that is important? Anyhow, we don't need such refinements 
here!
 
 BTW, nice guide Klaus, perhaps worth to add it to the wiki on github.
 
 --
 Zas

Found no .pot file, generated geeqie.pot with 'intltool-update -p', OK? Is it 
useful?

If a change to 'se' is preferred: 
The sv.po may perhaps be reused by making a copy 'se.po' (or using 
'Save 
as ...' in Poedit?) and adding 'se' into LINGUAS? Next, edit the 'se.po' 
according to 'geeqie.pot' - and into the right charset (I would prefer UTF-8 
as a universal and my standard). 
How/when do we remove the 'sv' version, according to any git-rules? - 
Maybe simply delete etc.?

Tore

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-27 Thread Laurent Monin
Tore Ericsson a écrit :
 Hi anyone who knows better about Geeqie!

   
Hi,
 As an old Gqview user I am now adopting Geeqie, a really handsome lightweight 
 image viewer/editor, 'editor' in the sense that various image modification 
 functions may be tied to it for simplified everyday image administration!

 I am glad to see that it is probably continued. If you do not have translator 
 already I should have some time to help with the Swedish translation. 

   
It would be great to have an update of the Swedish translation, it is 
far from complete
(sv.po: 534 translated messages, 399 fuzzy translations, 316 
untranslated messages).
 Some questions, however. In Gqview, when a script was programmed for 
 application on selected images, the image file names were fed into the script 
 (via the right-click menu) as a multi-file argument string, that is the file 
 names, each separated by a space (if clicked in the thumbnail list with 
 selection).

 Now applying the desktop-file convention for Geeqie, I have succeded to 
 define 
 custom commands almost as in Gqview, but the script will be executed once for 
 each image file and not once with the file array argument like was the case 
 with Gqview.

 Question 1: Is there a way to have scripts called in Geeqie in the same way 
 as 
 in Gqview? The usefullness is really lessened if this is not possible; e.g. 
 trimming hundreds of pictures etc., which else has to be programmed outside 
 the viewer with problems to indentify and select the right files, for 
 example. 

 Question 2: I did add some notes in my .desktop file. Do the agree with what 
 is currently correct? See below.

 The first question refers mostly, I think, to the %f argument or what could 
 possibly be used instead. And here is an excerpt from my .desktop file:

 ...
 # Call the helper script executable:
 # If the executable is missing, this desktop entry will be checked 'Hidden'
 # in the Geeqie 'Edit  Preferences  Configure Editors' dialog table.
 # You cannot uncheck it but it will not be checked if
 #  1. the executable does exist
 #  2. there is a Mime type match
 #  3. an argument like %f is present
 #  4. the category is X-Geeqie 
 TryExec=myscript
 Exec=myscript %f
 ...

   
Have a look at 
http://sourceforge.net/apps/trac/geeqie/wiki/GuideEditorsConfig

Everything that was possible with GQView should still be possible with 
Geeqie (and even more).

--
Zas

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Geeqie.desktop

2010-12-27 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi Tore,

Am So den 26. Dez 2010 um 20:29 schrieb Tore Ericsson:
 I am glad to see that it is probably continued. If you do not have translator 
 already I should have some time to help with the Swedish translation. 

That would be fine. I do not think that we have a translator for
Swedish. Just go on. You know how to do so?

Regards
   Klaus
- -- 
Klaus Ethgenhttp://www.ethgen.ch/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen kl...@ethgen.de
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBTRjXKJ+OKpjRpO3lAQpPoAf/WsrJJ8YMsv8X49BFkoxNE4BBRPe73TYh
q1QMw8A4O7BwyoTWoJNF45mLE6rV+tZeOFbYHqHghZkuVHy/nry7b0wHOGkOyv7I
k6RevwFpm6t5b+LVEBcVbnpyY1rcpN2WL1Cj/mx1NaaLZ4USmYeDdlIGyqZa4h2T
AoCVIuiIEaZM6F21erAzW4aXIpRfQsEpKvS2N6y3lutK67VjOwYIMl9V27mrOM1c
kwSHvPYfL0dU1TuMGBie+joHN7LjFg1Xfljbcv5OQv6edqI7XYFmANAXGLHX2mut
b477Ogqfnhr/a/OnB63VD7S2cdzFS5Aw87sAskcv4fXeipP3CObsdw==
=rAFG
-END PGP SIGNATURE-

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


[Geeqie-devel] Geeqie.desktop

2010-12-26 Thread Tore Ericsson
Hi anyone who knows better about Geeqie!

As an old Gqview user I am now adopting Geeqie, a really handsome lightweight 
image viewer/editor, 'editor' in the sense that various image modification 
functions may be tied to it for simplified everyday image administration!

I am glad to see that it is probably continued. If you do not have translator 
already I should have some time to help with the Swedish translation. 

Some questions, however. In Gqview, when a script was programmed for 
application on selected images, the image file names were fed into the script 
(via the right-click menu) as a multi-file argument string, that is the file 
names, each separated by a space (if clicked in the thumbnail list with 
selection).

Now applying the desktop-file convention for Geeqie, I have succeded to define 
custom commands almost as in Gqview, but the script will be executed once for 
each image file and not once with the file array argument like was the case 
with Gqview.

Question 1: Is there a way to have scripts called in Geeqie in the same way as 
in Gqview? The usefullness is really lessened if this is not possible; e.g. 
trimming hundreds of pictures etc., which else has to be programmed outside 
the viewer with problems to indentify and select the right files, for example. 

Question 2: I did add some notes in my .desktop file. Do the agree with what 
is currently correct? See below.

The first question refers mostly, I think, to the %f argument or what could 
possibly be used instead. And here is an excerpt from my .desktop file:

...
# Call the helper script executable:
# If the executable is missing, this desktop entry will be checked 'Hidden'
# in the Geeqie 'Edit  Preferences  Configure Editors' dialog table.
# You cannot uncheck it but it will not be checked if
#  1. the executable does exist
#  2. there is a Mime type match
#  3. an argument like %f is present
#  4. the category is X-Geeqie 
TryExec=myscript
Exec=myscript %f
...

Regards,
Tore

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel