← Back to team overview

lubuntu-qa team mailing list archive

Re: OBI 2.2 released - mkusb pot file for translators

 

Hi Nio,

If you can give it a try in your language that would be nice. All it takes is open the
pot file in poedit, translate it, and save the change, poedit will then create both the
po and mo file (the mo file is the compiled file which will be used by the system). From
there please let me know if the comments are translated at the right time?

I didn't pay attention to the content of the mkusb itself except for the comments, but if
you wrote LC_ALL=C and LANG=C in it, it might be necessary to remove them, for the script
to be displayed in your language, after the pot file will be translated and installed to
the system (it can be placed into /usr/local/share/locale/xy/LC_MESSAGES/  ##where xy is
the two characters for your language - then the modified mkusb can also be placed
under /usr/local/, that's to say under /usr/local/bin/ ).

Best regards,
Mélodie



On Mon, 13 Jan 2014 07:08:16 +0100
Nio Wiklund <nio.wiklund@xxxxxxxxx> wrote:

> Hi Mélodie,
> 
> Nice that you start preparing for local languages in mkusb :-)
> 
> There might be a problem though. I am running
> 
> LC_ALL=C
> LANG=C
> 
> in mkusb in order to get a constant format of the output from df, fstab,
> parted etc, that are used by mkusb. (And I do the same in the OBI). I
> guess it will make things more complicated: having to switch locale on
> and off.
> 
> I will look into the possibility to use the pot file.
> 
> -o-
> 
> The OBI itself does not use mkusb. The user runs mkusb to install the
> OBI from a compressed image file. mkusb can also be used to install an
> operating system from an iso file (or to wipe the first megabyte to get
> rid of traces that might create problems when repartitioning a mass
> storage device).
> 
> Best regards
> Nio
> 
> 2014-01-13 00:51, JM skrev:
> > Hi all,
> > 
> > I think I have understood (well I hope?) that OBI is the top file which makes use of
> > the underlying mkusb script?
> > 
> > Be it, be it not? 
> > 
> > I have done today my very first pot file, pulled from the STFW docs and tested with
> > the Poedit translation editor!
> > 
> > I put it as an attachment.
> > 
> > Please test it, and let me know if it should be improved and if so how? Saving a po
> > file with Poedit does not throw errors anymore!
> > 
> > I hope I didn't forget any strings.
> > 
> > Nio, I have modified your mkusb script according to this doc to produce the pot file:
> > http://mywiki.wooledge.org/BashFAQ/098
> > 
> > and I also enclose the mkusb script modified so to be fit for producing the pot file,
> > all in the same tar.gz.
> > 
> > Best regards,
> > Mélodie
> > 
> > 
> > 
> > On Sun, 12 Jan 2014 13:01:36 +0100
> > Nio Wiklund <nio.wiklund@xxxxxxxxx> wrote:
> > 
> >> Hi everybody,
> >>
> >>
> >> In order to make it more convenient to use the advanced OBI level
> >> (introduced in version 1.2), there is now version 2.2.
> >>
> >>
> >> A. Version 2.0: The underlying operating system is upgraded to Ubuntu
> >> version 13.10
> >>
> >>
> >> B. Version 2.1: Lubuntu-desktop is installed and tweaked to create a
> >> graphical desktop environment with desktop icons for the main tasks
> >> during installation with the One Button Installer.
> >>
> >> 0. Toggle the touchpad (to prevent accidents with laptops and notebooks
> >> because the palm is touching the touchpad and causing unwanted commands).
> >>
> >> 1. Run Gparted to edit the partitions (preparing for the advanced OBI
> >> level).
> >>
> >> 2. Run the OBI in a normal lxterminal window
> >>
> >> 3. Run the OBI in a maximized xterm window with high resolution, in
> >> other words with more lines and columns
> >>
> >>
> >> C. Version 2.2 is released. It has the same features as 2.1 plus a few
> >> bug-fixes. The pdf documents of the version 1.2 are also updated for the
> >> usage of version 2.2.
> >>
> >> A USB 3 pendrive with at least 8 GB is recommended for the graphical
> >> desktop environment. But there is also a flavour of version 2.2 with a
> >> text desktop environment, which is suitable for very old computers. A 4
> >> GB pendrive is big enough for the text version.
> >>
> >> See this link
> >>
> >> https://help.ubuntu.com/community/OBI
> >>
> >>
> >> Best regards
> >> Nio
> >>
> >> -- 
> >> Mailing list: https://launchpad.net/~lubuntu-qa
> >> Post to     : lubuntu-qa@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~lubuntu-qa
> >> More help   : https://help.launchpad.net/ListHelp
> > 
> > 
> 


-- 
JM <meets@xxxxxx>


References