Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Thu 20 Feb 2014, 21:20 Post subject:
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'.
Description |
finished application
|

Download |
Filename |
PuppyUnits-2.2.pet |
Filesize |
39.77 KB |
Downloaded |
703 Time(s) |
Last edited by don570 on Thu 05 Mar 2015, 21:12; edited 13 times in total
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 22 Feb 2014, 16:52 Post subject:
|
|
Here's a picture of version 1.0 ....
_____________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 01 Mar 2014, 12:56 Post subject:
|
|
New version 1.2
-added more conversions
-math reference windows are completed
Note that the math reference windows feature slows down the launching
of the program however it's still quick enough.
__________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Thu 13 Mar 2014, 19:34 Post subject:
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??
__________________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 15 Mar 2014, 15:54 Post subject:
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.
______________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Mon 17 Mar 2014, 17:08 Post subject:
|
|
Version 1.7
I found out how to put a default entry into inputbox using Xdialog
__________________________________________________
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Mon 14 Jul 2014, 17:49 Post subject:
|
|
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
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
xanad

Joined: 28 Feb 2014 Posts: 400 Location: 2 locations: MonteRosa Alp and Milano
|
Posted: Wed 01 Oct 2014, 11:25 Post subject:
|
|
Ciao Don570,
after a few months here is the Italian translation.
Excellent pet, congratulations.
Description |
|

Download |
Filename |
PuppyUnits.tar.gz |
Filesize |
18.19 KB |
Downloaded |
389 Time(s) |
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 04 Oct 2014, 14:52 Post subject:
Subject description: New version 1.8 has Italian translation |
|
New version 1.8 has Italian translation - thanks to xanad
For some reason the Convert button isn't colored. I'll have to look into that.
__________________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 29 Nov 2014, 17:41 Post subject:
|
|
version 1.9
- corrected mistake in solution to quadratic formula (bracket)
______________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Thu 15 Jan 2015, 21:20 Post subject:
|
|
version 2.0
- I tracked down the bug that was causing my orange button
to stay white in the international versions. I had
forgotten to gettext in an 'if' statement
___________________________________________________
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 31 Jan 2015, 13:36 Post subject:
|
|
version 2.1
-fixed volume of pyramid line
- added more languages - now Italian , French Spanish , German
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Thu 05 Feb 2015, 20:53 Post subject:
|
|
version 2.2
- Fixed minor mistakes in Italian translation thanks to Xanad.
__________________________________________
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12092 Location: Gatineau (Qc), Canada
|
Posted: Fri 26 Jan 2018, 22:32 Post subject:
|
|
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.
Description |
|
Filesize |
151.73 KB |
Viewed |
105 Time(s) |

|
Description |
|
Filesize |
185.86 KB |
Viewed |
105 Time(s) |

|
Description |
|
Filesize |
220.41 KB |
Viewed |
104 Time(s) |

|
Description |
|
Filesize |
123.14 KB |
Viewed |
106 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 4989 Location: Ontario
|
Posted: Sat 27 Jan 2018, 12:56 Post subject:
|
|
photobucket.com wants me become a member. They are holding my pictures until I do
_____________________________________
|
Back to top
|
|
 |
|