Page 1 of 1

Puppy Units - convert common units

Posted: Fri 21 Feb 2014, 01:20
by don570
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'.

Posted: Sat 22 Feb 2014, 20:52
by don570
Here's a picture of version 1.0 ....

Image

_____________________________________________

Posted: Sat 01 Mar 2014, 16:56
by don570
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. :lol:
__________________________________

new version 1.5

Posted: Thu 13 Mar 2014, 23:34
by don570
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??

__________________________________________________

Finsished version

Posted: Sat 15 Mar 2014, 19:54
by don570
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... :D


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.

______________________________________

Posted: Mon 17 Mar 2014, 21:08
by don570
Version 1.7

I found out how to put a default entry into inputbox using Xdialog 8)
__________________________________________________

Posted: Mon 14 Jul 2014, 21:49
by technosaurus
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

Posted: Wed 01 Oct 2014, 15:25
by xanad
Ciao Don570,
after a few months here is the Italian translation.
Excellent pet, congratulations. :wink:

Posted: Sat 04 Oct 2014, 18:52
by don570
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.

Image

__________________________________________________

Posted: Sat 29 Nov 2014, 21:41
by don570
version 1.9

- corrected mistake in solution to quadratic formula (bracket)

______________________________________________

Posted: Fri 16 Jan 2015, 01:20
by don570
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

___________________________________________________

Posted: Sat 31 Jan 2015, 17:36
by don570
version 2.1

-fixed volume of pyramid line

- added more languages - now Italian , French Spanish , German

Posted: Fri 06 Feb 2015, 00:53
by don570
version 2.2

- Fixed minor mistakes in Italian translation thanks to Xanad.
__________________________________________

Posted: Sat 27 Jan 2018, 02:32
by musher0
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.

Posted: Sat 27 Jan 2018, 16:56
by don570
photobucket.com wants me become a member. They are holding my pictures until I do :cry: :cry:
_____________________________________

Posted: Tue 30 Jan 2018, 03:43
by musher0
don570 wrote:photobucket.com wants me become a member. They are holding my pictures until I do :cry: :cry:
_____________________________________
Hello, don 570.

You are off subject, do you know that?! ;)

Why not give https://myphotos.mypclinuxos.com a try?

IHTH.

Posted: Wed 31 Jan 2018, 18:21
by don570
I need to find a way to download the photos from photobucket.com
easily, rather than one by one. There must be a way of doing it.
_____________________________________________________