Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 22 Jun 2017, 08:25
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects » Localization Project
official (momanager) language packs
Moderators: Lobster, MU, raffy
Post new topic   Reply to topic View previous topic :: View next topic
Page 19 of 20 [287 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20 Next
Author Message
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Tue 20 Oct 2015, 11:20    Post subject: mdview
Subject description: Known issues and limitations
 

Quote:
Known issues and limitations

Prioritized language preferences via environment variable LANGUAGE are not supported. Find-n-run honors the system locale code that environment variable LANG displays - when a matching translation file is installed.


That's bad news.
In my system (all languages loades) this for example works:
Code:
LANGUAGE=es findnrun


And
Code:
LANGUAGE=zh_CN  findnrun
also because I have renamed the mo file to the value of TEXTDOMAIN.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Wed 21 Oct 2015, 07:06    Post subject: Re: MoManager
Subject description: version 20151010
 

L18L wrote:
#151010

We could add a version date (always useful).
Regards

EDIT: this variable already exists. See below the message of L18L.
momanager_20151021.jpg
 Description   
 Filesize   72.68 KB
 Viewed   687 Time(s)

momanager_20151021.jpg


_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids

Last edited by ASRI éducation on Fri 23 Oct 2015, 05:27; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Thu 22 Oct 2015, 04:39    Post subject: Re: MoManager
Subject description: version 20151010
 

ASRI éducation wrote:
L18L wrote:
#151010

We could add a version date (always useful).
Regards
Yes, always useful.

At the moment the version is a tooltip for the "yellow star" icon at the bottom of main window.
It is somewhat hidden or should I say "not obvious"?
Putting it into the title bar is good.

But please: no new variable "AppVersion".

My "lastUPDATEofTHISscript" is automatically filled with the date of last comment, e.g. "#151021"

Quote:
# grep -n lastUPDATEofTHISscript momanager
139:lastUPDATEofTHISscript="` grep -E '^$' -B 1 $0 | head -n 1 | cut -d ' ' -f1`" # sort of version
1872: <button tooltip-markup=\"<span>About momanager (date of last local database update is <b>${lastUPDATEofTHISscript}).</b></span>\">
#

If this is in the title bar you can remove it from line 1872
just to please our friend who wrote:
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Cordialement
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Thu 22 Oct 2015, 18:50    Post subject: Re: MoManager
Subject description: version 20151010
 

L18L wrote:
At the moment the version is a tooltip for the "yellow star" icon at the bottom of main window.
It is somewhat hidden or should I say "not obvious"?
Putting it into the title bar is good.

Ok.

L18L wrote:
But please: no new variable "AppVersion".

My "lastUPDATEofTHISscript" is automatically filled with the date of last comment, e.g. "#151021"

You've obviously right.
Sorry, I had not noticed the variable lastUPDATEofTHISscript.

L18L wrote:
date of last local database update is $lastUPDATEofTHISscript

This variable indicates the modification date of the main script. In my humble opinion, this has no relation to the date of the database.

Some possible changes:

Code:
--- ./momanager   2015-10-10 20:15:21.000000000 +0200
+++ /usr/sbin/momanager   2015-10-22 21:18:44.000000000 +0200
@@ -108,6 +108,7 @@
 #150829 create_a_txz (fatdog package)
 #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
+#151022 ASRI: add version information in title bar of main GUI
 
 #***MOMANAGER IS ENGLISH ONLY (NOT GETTEXT'ED)***
 #it is for use by developers/translators with knowledge of english.
@@ -133,7 +134,7 @@
 
 [ "$2" ] && searchENTRY="$2" || searchENTRY='search term' #130604
 
-lastUPDATEofTHISscript="` grep -E '^$' -B 1 $0 | head -n 1 | cut -d ' ' -f1`" # sort of version
+lastUPDATEofTHISscript="` grep -E '^$' -B 1 $0 | head -n 1 | cut -d ' ' -f1 | cut -d '#' -f2`" # sort of version
 
 # working directories
 WD=/tmp/momanager; mkdir -p $WD    #140308
@@ -255,7 +256,7 @@
 ttSEARCH="${ttSEARCH} line of found '${searchENTRY}'"
 [ "$CONTEXT_AFTER" -eq 1 ] && ttSEARCH="$ttSEARCH and $CONTEXT_AFTER line after"
 [ "$CONTEXT_AFTER" -gt 1 ] && ttSEARCH="$ttSEARCH and $CONTEXT_AFTER lines after"
-ttSEARCH="${ttSEARCH}. (You can configure the number of these context lines in Preferences)"
+ttSEARCH="${ttSEARCH}. You can configure the number of these context lines in Preferences."
 
 export LANG=C
 . /etc/rc.d/PUPSTATE
@@ -1722,7 +1723,7 @@
 if [ "$POEDITOR" ];then
  [ -e /var/local/poedit_check ] && POEDIT_CHECK='true'
 # POEDIT_XML="<checkbox><label>Tick to use poedit (instead of text editor)</label><default>${POEDIT_CHECK}</default><variable>POCHECK</variable></checkbox> <text><label>\"    \"</label></text>"
- POEDIT_XML="<checkbox tooltip-markup=\"<span>Tick to use <b>poeditor</b> or untick to use <b>defaulttexteditor</b></span>\"><label>Use poedit</label><default>${POEDIT_CHECK}</default><variable>POCHECK</variable></checkbox>"
+ POEDIT_XML="<checkbox tooltip-markup=\"<span>Tick to use <b>poeditor</b> or untick to use <b>defaulttexteditor</b>.</span>\"><label>Use poedit</label><default>${POEDIT_CHECK}</default><variable>POCHECK</variable></checkbox>"
 fi
 #POEDIT_XML="$POEDIT_XML <text width-request=\"$(($WINDOW_WIDTH - 726 + 42))\"><label>\" \"</label></text>" #130613 filler to keep buttons xalign left
 
@@ -1744,12 +1745,12 @@
 
 #### main window
 
-MM2_DLG="<window title=\"MoManager : ${PUPPY} files\" resizable=\"false\" icon-name=\"${WINICON}\">
+MM2_DLG="<window title=\"MoManager (v$lastUPDATEofTHISscript)\" resizable=\"false\" icon-name=\"${WINICON}\">
 
  <vbox>
 
   <hbox>
-   <text use-markup=\"true\" width-request=\"$((WINDOW_WIDTH + 130))\"><label>\"First: you need to get all of the files on the right-side drop-down lists over to the left-side lists to ${TRANSLATE} to your <b>${transLANG}</b> language. Then check the left column to update/verify translations.\"</label></text>
+   <text use-markup=\"true\" width-request=\"$((WINDOW_WIDTH + 130))\"><label>\"First, get all of the files on the right-side drop-down lists over to the left-side lists to ${TRANSLATE} to your <b>${transLANG}</b> language. Then, check the left column to update/verify translations.\"</label></text>
 </hbox>
 
   <hbox>
@@ -1855,7 +1856,7 @@
    ${POEDIT_XML} 
     
    <hbox>
-   <entry width-chars=\"12\" tooltip-markup=\"<span>Note, this search is <b>case sensitive</b>. To find all <i>please</i> or <i>Please</i> type: '<i>please|Please</i>' or just '<i>[p|P]lease</i>' (without the quotes!)</span>\">
+   <entry width-chars=\"12\" tooltip-markup=\"<span>Note, this search is <b>case sensitive</b>. To find all <i>please</i> or <i>Please</i> type: '<i>please|Please</i>' or just '<i>[p|P]lease</i>' (without the quotes!).</span>\">
     <default>$searchENTRY</default>
     <variable>searchENTRY</variable>
    </entry>
@@ -1866,10 +1867,11 @@
   
    ${PETHELP_XML}
    
-   <button tooltip-markup=\"<span>About momanager (date of last local database update is <b>${lastUPDATEofTHISscript}).</b></span>\">
+   <button tooltip-markup=\"<span>About momanager.</span>\">
    <input file stock=\"gtk-about\"></input>
-   <action>pupdialog --background '#8080FF' --backtitle 'MoManager: About' --msgbox 'Created by Barry Kauler for Puppy Linux. (c) Copyright Barry Kauler 2012, license GPL3 (refer /usr/share/doc/legal) \\n\\n \
-   Forked by L18L 2013 for faster usage and for Fatdog ' 0 0 & </action></button>
+   <action>pupdialog --background '#8080FF' --backtitle 'MoManager: About' --msgbox 'Created by Barry Kauler for Puppy Linux. (c) Copyright Barry Kauler 2012, license GPL3 (refer /usr/share/doc/legal). \\n\\n \
+   Forked by L18L 2013 for faster usage and for Fatdog. \\n\\n \
+   Current version of momanager = $lastUPDATEofTHISscript. ' 0 0 & </action></button>
   
    <button tooltip-text=\"Preferences: change some defaults in a text editor.\">
    <input file stock=\"gtk-preferences\"></input>
@@ -1879,7 +1881,7 @@
    <input file stock=\"gtk-refresh\"></input>
    <action>EXIT:refresh</action></button>
 
-   <button tooltip-text=\"Create a ${LANGPACK}_${transLANG}.\">
+   <button tooltip-markup=\"<span>Create a <b>${LANGPACK}_${transLANG}</b>.</span>\">
    <input file stock=\"gtk-yes\"></input>
    <action>EXIT:create_pet</action></button>


Très cordialement,
momanager-20151022.tar.gz
Description  file /usr/sbin/momanager
gz

 Download 
Filename  momanager-20151022.tar.gz 
Filesize  34.86 KB 
Downloaded  136 Time(s) 

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Fri 23 Oct 2015, 05:52    Post subject: Re: MoManager
Subject description: version 201510xx
 

ASRI éducation wrote:
L18L wrote:
date of last local database update is $lastUPDATEofTHISscript

This variable indicates the modification date of the main script. In my humble opinion, this has no relation to the date of the database.

Yes, and I even don‘t know what this „database" should be.
I cannot recall who has introduced  „last local database update“.
Suggest to use just your „AppVersion“ for this and forget my „lastUPDATEofTHISscript“.

ASRI, I am glad to see your list of possible changes.
See my comments and make the changes please.
And I will point to this (your) AppVersion of momanger at page 1 of this thread.

Très très cordialement

My comments (hope that anyone understands them):
---
+#151022 ASRI: add version information in title bar of main GUI

OK
---
-lastUPDATEofTHISscript="‘ grep -E ‚^$‘ -B 1 $0 | head -n 1 | cut -d ' ' -f1‚“ # sort of version
+lastUPDATEofTHISscript="‘ grep -E ‚^$‘ -B 1 $0 | head -n 1 | cut -d ' ' -f1 | cut -d ‚#‘ -f2‚“ # sort of version

Insert 20 and everyone will see it is year
+AppVersion="20‘ grep -E ‚^$‘ -B 1 $0 | head -n 1 | cut -d
' ' -f1 | cut -d ‚#‘ -f2‚“
---
 [ „$CONTEXT_AFTER“ -gt 1 ] && ttSEARCH="$ttSEARCH and $CONTEXT_AFTER lines after“

OK. (I have never used a change)
---
POEDIT

OK, the dot, point, full stop.
---
MM2_DLG
use AppVersion
---
remove text
“: you need to”

(Just a thought)

I never would “first get all” of the files from right to left.

My prefered procedure is:
1- create one file and translate a few messages
2- edit this file, check fuzzy and translate some other messages.
3- close editor and run the app. If not finished goto step 2

Maybe inserting just (or one after the other) can suffice:

First, get all of the files (or one after the other) on the right-side drop-down lists over to the left-side lists to ${TRANSLATE} to your <b>${transLANG}</b> language. Then, check the left column to update/verify translations.
---
+  <entry width-chars=\”12\” tooltip-markup=\"<span>Note, this search is <b>case sensitive</b>. To find all <i>please</i> or <i>Please</i> type: ‘<i>please|Please</i>’ or just ‘<i>[p|P]lease</i>’ (without the quotes!).</span>\">

I don’t see any difference to the old one.
But reviewing again I find that:
To find all <i>please</i> or <i>Please</i> type:
should be changed to:
To find all <i>please</i> and <i>Please</i> type:
---
About
OK (use AppVersion)
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Sat 24 Oct 2015, 20:51    Post subject:  

@ L18L
OK. This will be done soon.

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1263

PostPosted: Fri 20 Nov 2015, 19:19    Post subject: poedit
Subject description: 1.4.6
 

Here is poedit 1.4.6 compiled in Slacko 6.3.0 32bit:

https://yadi.sk/d/4i6N5lH5rFqfr

The db44 pet is not required since it is already present in Slacko but it is available just in case. See the Notes.txt

Also, there is a pet for precise, made from deb packages.

_________________
Puppy Linux en español|pCloud 10 GB storage

Last edited by vicmz on Mon 25 Apr 2016, 00:45; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Sat 21 Nov 2015, 05:50    Post subject: momanager
Subject description: latest version?
 

ASRI éducation wrote:
@ L18L
OK. This will be done soon.

I have seen that there are 15 downloads of 20151022 now.
Is your patch already in that file or not?
I am a little bit confused now.

vicmz wrote:
Here is poedit 1.4.6
thanks for that.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Wed 30 Dec 2015, 06:15    Post subject: MoManager
Subject description: version 20151230
 

Code:
#151022 ASRI: add version information in title bar of main GUI, and many other fixes.
#151108 support mdview option path; t12s_ scripts as functions; no more external scripts
#151230 new hybrid METHODs (e.g. t12s and/or gettext and/or mdview using same TEXTDOMAIN)


Download as usual from first page.
Back to top
View user's profile Send private message 
ASRI éducation


Joined: 09 May 2009
Posts: 3203
Location: France

PostPosted: Fri 01 Jan 2016, 15:29    Post subject: Re: MoManager
Subject description: version 20151230
 

L18L wrote:
version 20151230

Merci !

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Fri 01 Apr 2016, 08:47    Post subject: momanager
Subject description: 2016-04-01
 

What's new

Create English and non-English translations e.g. en_CA Laughing

Run it for just one TEXTDOMAIN

Get it from page 1.

Have fun
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8050
Location: Perth, Western Australia

PostPosted: Fri 01 Apr 2016, 20:38    Post subject:  

Thanks, guys, I've got it:

http://barryk.org/news/?viewDetailed=00332

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
L18L

Joined: 19 Jun 2010
Posts: 3391
Location: www.eussenheim.de/

PostPosted: Sat 09 Apr 2016, 06:31    Post subject: 2016-04-10  

BarryK wrote:
Thanks, guys, I've got it:

http://barryk.org/news/?viewDetailed=00332


That 1st of April version did not hold what it promises. Laughing

But here it is, the momanager for developers.

Use it in English
Restrict it to a TEXTDOMAIN
Let momanger create TEXTDOMAIN.pot

(or create an en_AU mo Wink )
momanager-20160410_match_TEXTDOMAIN.png
 Description   momanager also for English developers
 Filesize   24.38 KB
 Viewed   223 Time(s)

momanager-20160410_match_TEXTDOMAIN.png

Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4597
Location: Ontario

PostPosted: Thu 28 Apr 2016, 15:14    Post subject:  

I tested momanager-20160410-x86_64-PET.txz on fatdog arm and fatdog 702
I couldn't use them Crying or Very sad


A safe way of using yaf-splash . This is supported by the version
distributed by Barry in WOOF.

Code:
yaf-splash -timeout 0   -bg orange  -bw 4 -outline 0 -margin 10 -text  "$(gettext 'Sorry. No network was found.')


yaf-splash -bg orange -text "Please wait, scanning files..."

--> can be made more attractive with -outline 0


'-close never' option is incompatible with Barry's yaf-splash
_____________________________________________________

First of all fatdog arm

It needs pupdialog t12s mdview popup popadd

Quote:
root:~# momanager
/usr/sbin/momanager: line 194: pupdialog: command not found
which: no pupdialog in (/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin)


_______________________________________________________


yaf-splash -close never -bg orange -text "Please wait," ---> won't work
momanager:494: yaf-splash ${CLOSE} -bg orange -text "Please wait, searching for \"$pattern\" in all ${transLANG}/LC_MESSAGES/*mo files..." & #131002
_______________________________________
root:~# mdview
sh: mdview: command not found

_______________
root:~# t12s
sh: t12s: command not found
_____________________
root:~# popup
sh: popup: command not found
___________________________________
root:~# popadd
sh: popadd: command not found

momanager:543: popadd 'name=mmpop2 terminate=now|'


---------------------------------------------------------------------

fatdog 702 is similar but does have mdview and pupdialog

Quote:


# popup
sh: popup: command not found
# t12s
sh: t12s: command not found




Apparently spelling error .See image.
screenshot99-momanager.png
 Description   
 Filesize   13.98 KB
 Viewed   188 Time(s)

screenshot99-momanager.png

Back to top
View user's profile Send private message 
vicmz


Joined: 15 Jan 2012
Posts: 1263

PostPosted: Sat 30 Apr 2016, 16:55    Post subject: pMusic 5.0.1
Subject description: not translated
 

Has anyone tried to update pMusic translations?

I am unable to update translations for pMusic 5.0.1, I should get a .po of about 500 lines but I get a 48-line .po instead! And the pMusic interface appears completely in English. Shocked

I tried several Momanager versions including the latest, in the most up-to-date puppies.

pMusic 4.7.4 translates perfectly, pMusic 5.0.1 does not.

_________________
Puppy Linux en español|pCloud 10 GB storage
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 19 of 20 [287 Posts]   Goto page: Previous 1, 2, 3, ..., 17, 18, 19, 20 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects » Localization Project
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2722s ][ Queries: 14 (0.0691s) ][ GZIP on ]