Puppy Units - convert common units
Puppy Units - convert common units
I've written a script to replace gmeasures.
It's purpose is to convert the common units quickly and accurately.
It will show in start menu along side the calculators.
EDIT - added more languages - now Italian , French Spanish , German
It would be flexible so any programmer could modify it. It is gettexted.
Instructions are in next post. Select a category and click 'Proceed'
Then select a conversion and enter a value. Click 'Convert'.
It's purpose is to convert the common units quickly and accurately.
It will show in start menu along side the calculators.
EDIT - added more languages - now Italian , French Spanish , German
It would be flexible so any programmer could modify it. It is gettexted.
Instructions are in next post. Select a category and click 'Proceed'
Then select a conversion and enter a value. Click 'Convert'.
- Attachments
-
- PuppyUnits-2.2.pet
- finished application
- (39.77 KiB) Downloaded 1338 times
Last edited by don570 on Fri 06 Mar 2015, 01:12, edited 13 times in total.
new version 1.5
new version 1.5
-custom conversion is possible. Just fill in a conversion factor
and puppy will remember the factor.
I have finished all the features. I will test it for the next couple days
and report back.
I would appreciate people installing version 1.5 and giving it a test.
Please report to me. Is it fast enough?? Any mistakes in conversions??
__________________________________________________
-custom conversion is possible. Just fill in a conversion factor
and puppy will remember the factor.
I have finished all the features. I will test it for the next couple days
and report back.
I would appreciate people installing version 1.5 and giving it a test.
Please report to me. Is it fast enough?? Any mistakes in conversions??
__________________________________________________
Finsished version
Finished version 1.6
- added a few small changes
-found mistake ----> name for gettext was Puppyunits.sh
It should have been PuppyUnits.sh
Oddly it still worked with momanager...
Contact me if you want to translate script using momanager.
It should be quite easy. albeit time- consuming.
Just set your computer language (for instance fr for French)
Then install dev SFS package and then launch momanager.
Send mo file to me for inclusion.
______________________________________
- added a few small changes
-found mistake ----> name for gettext was Puppyunits.sh
It should have been PuppyUnits.sh
Oddly it still worked with momanager...
Contact me if you want to translate script using momanager.
It should be quite easy. albeit time- consuming.
Just set your computer language (for instance fr for French)
Then install dev SFS package and then launch momanager.
Send mo file to me for inclusion.
______________________________________
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
fyi - in posix shells the way to do default entries is ${VAR:-default_value}
so if $VAR is not set, it will display "default_value"
I once set up a whole method of localization this way that was faster than gettext and even had script for google to auto-translate the values
so if $VAR is not set, it will display "default_value"
I once set up a whole method of localization this way that was faster than gettext and even had script for google to auto-translate the values
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- xanad
- Posts: 400
- Joined: Fri 28 Feb 2014, 14:56
- Location: 2 locations: MonteRosa Alp and Milano
- Contact:
Ciao Don570,
after a few months here is the Italian translation.
Excellent pet, congratulations.
after a few months here is the Italian translation.
Excellent pet, congratulations.
- Attachments
-
- PuppyUnits.tar.gz
- (18.19 KiB) Downloaded 961 times
Hello all.
For some reason, the illustration in post # 2 above got lost.
Please find attached some screen captures of don570's excellent script on
conversions and math. These are from the latest version, 2.2.
BFN.
For some reason, the illustration in post # 2 above got lost.
Please find attached some screen captures of don570's excellent script on
conversions and math. These are from the latest version, 2.2.
BFN.
- Attachments
-
- PuppyUnits-Miles-Kms.jpg
- (151.73 KiB) Downloaded 453 times
-
- PuppyUnits-Trigo.jpg
- (185.86 KiB) Downloaded 441 times
-
- PuppyUnits-Constants.jpg
- (220.41 KiB) Downloaded 429 times
-
- PuppyUnits-MainPanel.jpg
- (123.14 KiB) Downloaded 431 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello, don 570.don570 wrote:photobucket.com wants me become a member. They are holding my pictures until I do
_____________________________________
You are off subject, do you know that?!
Why not give https://myphotos.mypclinuxos.com a try?
IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)