Commit 77d3a8e6 authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens

Added po directory to the SUBDIRS list.

2006-08-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* Makefile.am: Added po directory to the SUBDIRS list.

	* configure.in: Changed list of supported languages to only en_CA
	and en_GB until other translations are available.

	* po/POTFILES.in: Added gimp-lib/*.rb files to the list of files
	that might contain strings requiring translation.

	* po/ChangeLog
	* po/en_CA.po
	* po/en_GB.po: Added

	* plug-ins/coolmetal-logo.rb:
	* plug-ins/sphere.rb: Marked some strings for translation.

	* todo.txt: Removed some completed items. Reordered some items
	and added a couple of new items.
parent 08eb02ab
2006-08-05 Kevin Cozens <kcozens@cvs.gnome.org>
* Makefile.am: Added po directory to the SUBDIRS list.
* configure.in: Changed list of supported languages to only en_CA
and en_GB until other translations are available.
* po/POTFILES.in: Added gimp-lib/*.rb files to the list of files
that might contain strings requiring translation.
* po/ChangeLog
* po/en_CA.po
* po/en_GB.po: Added
* plug-ins/coolmetal-logo.rb:
* plug-ins/sphere.rb: Marked some strings for translation.
* todo.txt: Removed some completed items. Reordered some items
and added a couple of new items.
2006-08-04 Scott Lembcke <lemb0029@gnome.org>
* ext/rbgimp.c: Added a Gimp.gettext() method.
......
......@@ -3,8 +3,8 @@
SUBDIRS = \
ext \
gimp-lib \
plug-ins
# po
plug-ins \
po
if PLATFORM_WIN32
no_undefined = -no-undefined
......@@ -23,10 +23,12 @@ rubyinterpdir = $(GIMP_LIBDIR)/interpreters
rubyenvfile = $(rubyenvdir)/ruby.env
rubyinterpfile = $(rubyinterpdir)/ruby.interp
rubyconsolefile = ruby-fu-console
install-env-files:
$(mkinstalldirs) '$(DESTDIR)$(rubyenvdir)'
echo '$(path_separator) RUBYLIB=$${gimp_plug_in_dir}/$(rubybase)' > '$(DESTDIR)$(rubyenvfile)'
cp ext/ruby-fu-console '$(DESTDIR)$(rubydir)'
cp 'ext/$(rubyconsolefile)' '$(DESTDIR)$(rubydir)'
install-interp-file:
$(mkinstalldirs) '$(DESTDIR)$(rubyinterpdir)'
......@@ -38,6 +40,8 @@ install-data-local: install-env-files install-interp-file
uninstall-local:
rm -f '$(DESTDIR)$(rubyenvfile)' '$(DESTDIR)$(rubyinterpfile)'
rm -f '$(DESTDIR)$(rubydir)/$(rubyconsolefile)'
rmdir '$(DESTDIR)$(rubydir)'
EXTRA_DIST = \
AUTHORS \
......@@ -47,10 +51,10 @@ EXTRA_DIST = \
NEWS \
README \
autogen.sh \
intltool-extract.in \
intltool-merge.in \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
notes.txt \
notes.txt \
todo.txt
DISTCLEANFILES = \
......
......@@ -283,7 +283,7 @@ AC_FUNC_ALLOCA
######################
dnl Add the languages which your application supports here.
ALL_LINGUAS="az bg ca cs da de el en_CA en_GB es et eu fi fr ga gl gu he hu hr id it ja ko lt mk ms nb ne nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv tr tt uk vi xh yi zh_CN zh_TW"
ALL_LINGUAS="en_CA en_GB"
AC_PROG_INTLTOOL
AM_GLIB_GNU_GETTEXT
......
......@@ -152,9 +152,9 @@ RubyFu.register(
"<Image>/Ruby-Fu/Alpha to Logo/Cool Metal...",
"RGBA",
[
ParamDef.INT32("effect_size", "Effect Size (pixels)"),
ParamDef.COLOR("bg_color", "Background Color"),
ParamDef.STRING("gradient", "Gradient"),
ParamDef.INT32("effect_size", _("Effect Size (pixels)")),
ParamDef.COLOR("bg_color", _("Background Color")),
ParamDef.STRING("gradient", _("Gradient")),
],
nil,
&method(:ruby_fu_cool_metal_logo_alpha)
......@@ -195,11 +195,11 @@ RubyFu.register(
"<Toolbox>/Xtns/Languages/Ruby-Fu/Cool Metal...",
"",
[
ParamDef.STRING("text", "Text", 'Cool Metal'),
ParamDef.INT32("font_size", "Font Size (pixels)", 100),
ParamDef.FONT("font", "Font", "Crillee"),
ParamDef.COLOR("bg_color", "Background Color", Rgb.new(1.0, 1.0, 1.0)),
ParamDef.STRING("gradient", "Gradient", "Horizon 1"),
ParamDef.STRING("text", _("Text"), 'Cool Metal'),
ParamDef.INT32("font_size", _("Font Size (pixels)"), 100),
ParamDef.FONT("font", _("Font"), "Crillee"),
ParamDef.COLOR("bg_color", _("Background Color"), Rgb.new(1.0, 1.0, 1.0)),
ParamDef.STRING("gradient", _("Gradient"), "Horizon 1"),
],
[
ParamDef.IMAGE('image', 'Image'),
......
......@@ -51,11 +51,11 @@ RubyFu.register(
'<Toolbox>/Xtns/Languages/Ruby-Fu/Sphere',
"",
[
ParamDef.SPINNER('radius', 'Radius', 100, 0..1000, 1),
ParamDef.SLIDER('lighting', 'Lighting Degrees', 45, 0..360, 1),
ParamDef.TOGGLE('shadow', 'Shadow', 1),
ParamDef.COLOR('bg color', 'Background Color', Color(1.0, 1.0, 1.0)),
ParamDef.COLOR('color', 'Sphere Color', Color(1.0, 0.0, 0.0)),
ParamDef.SPINNER('radius', _("Radius"), 100, 0..1000, 1),
ParamDef.SLIDER('lighting', _("Lighting Degrees"), 45, 0..360, 1),
ParamDef.TOGGLE('shadow', _("Shadow"), 1),
ParamDef.COLOR('bg color', _("Background Color"), Color(1.0, 1.0, 1.0)),
ParamDef.COLOR('color', _("Sphere Color"), Color(1.0, 0.0, 0.0)),
],
[ParamDef.IMAGE('image', 'Result Image')]
) do |run_mode, radius, light, shadow, bg_color, sphere_color|
......
2006-08-05 Kevin Cozens <kcozens@cvs.gnome.org>
* en_CA.po
* en_GB.po: Added these translation files.
* gettext is special and wants its own ChangeLog so here it is
......@@ -15,6 +15,11 @@ ext/rbgimpproceduraldb.c
ext/ruby-fu-console.c
ext/structures.c
gimp-lib/gimp_oo.rb
gimp-lib/gimp.rb
gimp-lib/pdb.rb
gimp-lib/rubyfu.rb
plug-ins/coolmetal-logo.rb
plug-ins/irbconsole.rb
plug-ins/sphere.rb
......
# Canadian English translation for gimp-ruby
# Copyright (C) Scott Lembcke
# This file is distributed under the same license as the gimp-ruby package.
# Kevin Cozens <kcozens@cvs.gnome.org>, 2006.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: gimp-ruby\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-04 23:48-0400\n"
"PO-Revision-Date: 2006-08-04 23:48-0400\n"
"Last-Translator: Kevin Cozens <kcozens@cvs.gnome.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../plug-ins/coolmetal-logo.rb:155
#, fuzzy
msgid "Effect Size (pixels)"
msgstr "Effect Size (pixels)"
#: ../plug-ins/coolmetal-logo.rb:156 ../plug-ins/coolmetal-logo.rb:201
#: ../plug-ins/sphere.rb:57
msgid "Background Color"
msgstr "Background Colour"
#: ../plug-ins/coolmetal-logo.rb:157 ../plug-ins/coolmetal-logo.rb:202
msgid "Gradient"
msgstr "Gradient"
#: ../plug-ins/coolmetal-logo.rb:198
msgid "Text"
msgstr "Text"
#: ../plug-ins/coolmetal-logo.rb:199
msgid "Font Size (pixels)"
msgstr "Font Size (pixels)"
#: ../plug-ins/coolmetal-logo.rb:200
msgid "Font"
msgstr "Font"
#: ../plug-ins/sphere.rb:54
msgid "Radius"
msgstr "Radius"
#: ../plug-ins/sphere.rb:55
msgid "Lighting Degrees"
msgstr "Lighting Degrees"
#: ../plug-ins/sphere.rb:56
msgid "Shadow"
msgstr "Shadow"
#: ../plug-ins/sphere.rb:58
msgid "Sphere Color"
msgstr "Sphere Colour"
# British English translation for gimp-ruby
# Copyright (C) Scott Lembcke
# This file is distributed under the same license as the gimp-ruby package.
# Kevin Cozens <kcozens@cvs.gnome.org>, 2006.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: gimp-ruby\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-08-04 23:48-0400\n"
"PO-Revision-Date: 2006-08-04 23:48-0400\n"
"Last-Translator: Kevin Cozens <kcozens@cvs.gnome.org>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../plug-ins/coolmetal-logo.rb:155
#, fuzzy
msgid "Effect Size (pixels)"
msgstr "Effect Size (pixels)"
#: ../plug-ins/coolmetal-logo.rb:156 ../plug-ins/coolmetal-logo.rb:201
#: ../plug-ins/sphere.rb:57
msgid "Background Color"
msgstr "Background Colour"
#: ../plug-ins/coolmetal-logo.rb:157 ../plug-ins/coolmetal-logo.rb:202
msgid "Gradient"
msgstr "Gradient"
#: ../plug-ins/coolmetal-logo.rb:198
msgid "Text"
msgstr "Text"
#: ../plug-ins/coolmetal-logo.rb:199
msgid "Font Size (pixels)"
msgstr "Font Size (pixels)"
#: ../plug-ins/coolmetal-logo.rb:200
msgid "Font"
msgstr "Font"
#: ../plug-ins/sphere.rb:54
msgid "Radius"
msgstr "Radius"
#: ../plug-ins/sphere.rb:55
msgid "Lighting Degrees"
msgstr "Lighting Degrees"
#: ../plug-ins/sphere.rb:56
msgid "Shadow"
msgstr "Shadow"
#: ../plug-ins/sphere.rb:58
msgid "Sphere Color"
msgstr "Sphere Colour"
......@@ -14,17 +14,17 @@ Add more control to widget resizing for the dialog.
gettext support for dialogs.
Add autoconf checks for gettext support.
- Ruby gettext may be available as a gems package or a non-gems package.
The check for gettext should not expect either method of its existance.
Test gettext and UTF-8 support.
Add check in build environment for irb.
- If irb doesn't exist, don't build ruby-fu-console.c or install console
mode script.
Add autoconf checks for gettext support.
- Ruby gettext may be available as a gems package or a non-gems package.
The check for gettext should not expect either method of its existance.
Enable the po sub-directory. Add extraction of translatable strings.
Add extraction of translatable strings to build process.
Add an INSTALL file that explains the requirements and process to build and
install gimp-ruby.
......@@ -33,4 +33,6 @@ Add a browse button to console mode.
- This may require creation of a PDB browser that can return the framework
of a call to the selected PDB item in a Ruby compatible format.
Add GPL comment blocks to appropriate files.
Update plug-ins to use menu_register calls in addition to just register.
What menus should gimp-ruby register that are (or will be) used in plug-ins?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment