[nvda-addons] Re: commit/goldwave: josephsl: Template changes due to Gettext issues in Mid-September.

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>
  • Date: Mon, 13 Oct 2014 08:13:01 -0700

Hi,
The noticeable change would be time field announcements (if I remember
right).
I'll wti for reviews, then will generate the snapshot.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Brian's Mail list
account BY
Sent: Monday, October 13, 2014 2:45 AM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: commit/goldwave: josephsl: Template changes due
to Gettext issues in Mid-September.

What has changed from the last dev? If I download it again, will I notice
anything?
 Brian

bglists@xxxxxxxxxxxxxxxx
Sent via blueyonder.
Please address personal email to:-
briang1@xxxxxxxxxxxxxxxx, putting 'Brian Gaff'
in the display name field.
----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
To: <nvda-addons@xxxxxxxxxxxxx>
Sent: Sunday, October 12, 2014 5:26 PM
Subject: [nvda-addons] Re: commit/goldwave: josephsl: Template changes due
to Gettext issues in Mid-September.


> Hi,
> GoldWave 2.0-dev is almost done - I'd like to get reviews before 
> creating the stable branch to catch errors and critical issues.
> Thanks.
> Cheers,
> Joseph
>
> -----Original Message-----
> From: nvda-addons-commits-bounce@xxxxxxxxxxxxx
> [mailto:nvda-addons-commits-bounce@xxxxxxxxxxxxx] On Behalf Of 
> commits-noreply@xxxxxxxxxxxxx
> Sent: Sunday, October 12, 2014 9:23 AM
> To: nvda-addons-commits@xxxxxxxxxxxxx
> Subject: commit/goldwave: josephsl: Template changes due to Gettext 
> issues in Mid-September.
>
> 1 new commit in goldwave:
>
> https://bitbucket.org/nvdaaddonteam/goldwave/commits/56aa9217cd13/
> Changeset:   56aa9217cd13
> Branch:      master
> User:        josephsl
> Date:        2014-10-12 16:22:04+00:00
> Summary:     Template changes due to Gettext issues in Mid-September.
> As the add-on is relatively stable at this point, it's safe to begin 
> beta testing to gather wider feedback.
>
> Affected #:  3 files
>
> diff --git a/.gitattributes b/.gitattributes new file mode 100755 
> index
> 0000000..a1a1316
> --- /dev/null
> +++ b/.gitattributes
> @@ -0,0 +1,8 @@
> +# Set default behaviour, in case users don't have core.autocrlf set.
> +* text=auto
> +
> +# Try to ensure that po files in the repo does not include # source 
> +code line numbers.
> +# Every person expected to commit po files should change their 
> +personal
> config file as described here:
> +# https://mail.gnome.org/archives/kupfer-list/2010-June/msg00002.html
> +*.po filter=cleanpo
>
> diff --git a/.gitignore b/.gitignore
> new file mode 100755
> index 0000000..6d124be
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,10 @@
> +addon/doc/*.css
> +addon/doc/en/
> +*_docHandler.py
> +*.html
> +*.ini
> +*.mo
> +*.pot
> +*.pyc
> +*.nvda-addon
> +.sconsign.dblite
>
> diff --git a/site_scons/site_tools/gettexttool/__init__.py
> b/site_scons/site_tools/gettexttool/__init__.py
> new file mode 100755
> index 0000000..fa3a937
> --- /dev/null
> +++ b/site_scons/site_tools/gettexttool/__init__.py
> @@ -0,0 +1,49 @@
> +""" This tool allows generation of gettext .mo compiled files, pot 
> +files from source code files and pot files for merging.
> +
> +Three new builders are added into the constructed environment:
> +
> +- gettextMoFile: generates .mo file from .pot file using msgfmt.
> +- gettextPotFile: Generates .pot file from source code files.
> +- gettextMergePotFile: Creates a .pot file appropriate for merging 
> +into
> existing .po files.
> +
> +To properly configure get text, define the following variables:
> +
> +- gettext_package_bugs_address
> +- gettext_package_name
> +- gettext_package_version
> +
> +
> +"""
> +from SCons.Action import Action
> +
> +def exists(env):
> + return True
> +
> +XGETTEXT_COMMON_ARGS = (
> + "--msgid-bugs-address='$gettext_package_bugs_address' "
> + "--package-name='$gettext_package_name' "
> + "--package-version='$gettext_package_version' "
> + "-c -o $TARGET $SOURCES"
> +)
> +
> +def generate(env):
> + env.SetDefault(gettext_package_bugs_address="example@xxxxxxxxxxx")
> + env.SetDefault(gettext_package_name="")
> + env.SetDefault(gettext_package_version="")
> +
> + env['BUILDERS']['gettextMoFile']=env.Builder(
> + action=Action("msgfmt -o $TARGET $SOURCE", "Compiling
> translation $SOURCE"),
> + suffix=".mo",
> + src_suffix=".po"
> + )
> +
> + env['BUILDERS']['gettextPotFile']=env.Builder(
> + action=Action("xgettext " + XGETTEXT_COMMON_ARGS,
> "Generating pot file $TARGET"),
> + suffix=".pot")
> +
> + env['BUILDERS']['gettextMergePotFile']=env.Builder(
> + action=Action("xgettext " + "--omit-header --no-location " +
> XGETTEXT_COMMON_ARGS,
> + "Generating pot file $TARGET"),
> + suffix=".pot")
> +
>
> Repository URL: https://bitbucket.org/nvdaaddonteam/goldwave/
>
> --
>
> This is a commit notification from bitbucket.org. You are receiving 
> this because you have the service enabled, addressing the recipient of 
> this email.
>
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe" 
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to 
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org

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

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe"
(without quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

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

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: