That explains why I was deleting /tmp/momanager and the lang nametransLANG, the language which is translated to
is taken from /root/.config/momanager
wouldn't change
____________________________________________
I noticed this today and fixed it.don570 wrote:I tried the newest APril64 again and it opened up the script properly this time
however there was one bug I noticed ---->
The first language that I used with momanager was French.
Then I switched to the Italian language. The heading still stated 'fr'
(see image)
I tried this in another fresh install . I started in English and switched to French and
the heading stated 'en'
Our multi-language talented translator vicmz uses different svefiles for different languages.BarryK wrote:Note, I have my doubts about that CONFIG file, and being able to translate to a language that is not the current locale.
Seems a bit odd. But someone must have wanted it.
Thank you.BarryK wrote:Alright, I have tried to resolve the problems with transLANG, seems OK:
http://distro.ibiblio.org/quirky/quirky ... 150309.pet
Code: Select all
refresh
Code: Select all
#150309 do not allow transLANG to be changed to anything other than current locale
# (note, if was allowed, would have to check /usr/lib/locale has it, but I still don't like idea of translating to a different language then current locale).
xtransLANG="$(grep '^transLANG' $CONFIG | cut -f 2 -d '=' | cut -f 1 -d ' ')"
if [ "$(echo -n "$ORIGLANG12" | grep "$xtransLANG")" == "" ];then
pupdialog --background '#FF8080' --msgbox "Sorry, but you cannot change transLANG to anything other than the current locale, '${ORIGLANG1}' or '${ORIGLANG12}'. Changing transLANG to '${ORIGLANG1}' in file ${CONFIG}" 0 0
sed -i "s%^transLANG=.*%transLANG=${ORIGLANG1} #${ORIGLANG1} or ${ORIGLANG12}%" $CONFIG
refresh #150309
fi
After a first translation, enabling momanager is not possible.BarryK wrote:momanager-20150309.pet
Code: Select all
# momanager
** (gtkdialog4:9144): ERROR **: gtkdialog: Error in line 20, near token 'string': syntax error
/usr/sbin/momanager: line 1626: 9018 Terminated yaf-splash -bg orange -text "Please wait, scanning files..."
You're right, a simple restart of X enough.L18L wrote:please try refresh (use button or delete directory /tmp/momanager) then restart momanager from console again.
Which Puppy are you using at the moment?
Glad to know there is no bug (detected now)ASRI éducation wrote:You're right, a simple restart of X enough.
Merci !L18L wrote:Anyhow, there is a new version now at initial post page number 1.
some bugs fixed thanks to chief tester Bert.
Code: Select all
# momanager
sed: -e expression #1, char 0: no previous regular expression
sed: -e expression #1, char 0: no previous regular expression
** (gtkdialog4:32342): ERROR **: gtkdialog: Error in line 11, near token 'string': syntax error
#
pdesktop has no the 'export' to momanaqer, if you want try this in attachmentASRI éducation wrote:I just created a Puppy Precise version based on the latest version of woof-ce-testing (20150611).
My problem: I can not translate the last Zigbert interfaces.
momanager does not show me the files to translate.
An example: how do you translate pdesktop Apps?
Thank you in advance for your advice.
Code: Select all
#151001 translate also .md files (see function get_prop), use AUTHORSPECS in write.log, some code clean up
#151010 fixed pot for mdview; added path of zigbert's stardustlib
Thanks. Can you please show me an example of how a shell script would invoke mdview to show multi-language documentation?L18L wrote: documentation files in .md format can be translated by momanager now.