pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-gettext_i18n_rails Importing ruby-gettext_i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b495766239a
branches:  trunk
changeset: 599535:8b495766239a
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Feb 16 11:55:54 2012 +0000

description:
Importing ruby-gettext_i18n_rails version 0.4.3.


FastGettext / Rails integration.

Translate via FastGettext, use any other I18n backend as extension/fallback.

Rails does: I18n.t('syntax.with.lots.of.dots') with nested yml files We do:
_('Just translate my damn text!') with simple, flat mo/po/yml files or
directly from db To use I18n calls add a syntax.with.lots.of.dots translation.

diffstat:

 devel/ruby-gettext_i18n_rails/DESCR    |   7 +++++++
 devel/ruby-gettext_i18n_rails/Makefile |  14 ++++++++++++++
 devel/ruby-gettext_i18n_rails/PLIST    |  32 ++++++++++++++++++++++++++++++++
 devel/ruby-gettext_i18n_rails/distinfo |   5 +++++
 4 files changed, 58 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 23d066ef052e -r 8b495766239a devel/ruby-gettext_i18n_rails/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext_i18n_rails/DESCR       Thu Feb 16 11:55:54 2012 +0000
@@ -0,0 +1,7 @@
+FastGettext / Rails integration.
+
+Translate via FastGettext, use any other I18n backend as extension/fallback.
+
+Rails does: I18n.t('syntax.with.lots.of.dots') with nested yml files We do:
+_('Just translate my damn text!') with simple, flat mo/po/yml files or
+directly from db To use I18n calls add a syntax.with.lots.of.dots translation.
diff -r 23d066ef052e -r 8b495766239a devel/ruby-gettext_i18n_rails/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext_i18n_rails/Makefile    Thu Feb 16 11:55:54 2012 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/02/16 11:55:54 taca Exp $
+
+DISTNAME=      gettext_i18n_rails-0.4.3
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/grosser/gettext_i18n_rails
+COMMENT=       Simple FastGettext Rails integration
+LICENSE=       public-domain
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-fast_gettext>=0:../../devel/ruby-fast_gettext
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 23d066ef052e -r 8b495766239a devel/ruby-gettext_i18n_rails/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext_i18n_rails/PLIST       Thu Feb 16 11:55:54 2012 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/02/16 11:55:54 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/Gemfile.lock
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/Readme.md
+${GEM_LIBDIR}/VERSION
+${GEM_LIBDIR}/gettext_i18n_rails.gemspec
+${GEM_LIBDIR}/init.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/action_controller.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/active_record.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/backend.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/haml_parser.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/html_safe_translations.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/i18n_hacks.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/model_attributes_finder.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/railtie.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/ruby_gettext_extractor.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/slim_parser.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/string_interpolate_fix.rb
+${GEM_LIBDIR}/lib/gettext_i18n_rails/tasks.rb
+${GEM_LIBDIR}/lib/tasks/gettext_rails_i18n.rake
+${GEM_LIBDIR}/spec/gettext_i18n_rails/action_controller_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails/active_record_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails/backend_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails/haml_parser_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails/slim_parser_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails/string_interpolate_fix_spec.rb
+${GEM_LIBDIR}/spec/gettext_i18n_rails_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 23d066ef052e -r 8b495766239a devel/ruby-gettext_i18n_rails/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-gettext_i18n_rails/distinfo    Thu Feb 16 11:55:54 2012 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/02/16 11:55:54 taca Exp $
+
+SHA1 (gettext_i18n_rails-0.4.3.gem) = d006b96a0868363ec6567c4b48d5f6a1a78dce90
+RMD160 (gettext_i18n_rails-0.4.3.gem) = 4f04aa3b059b3802de19e731b83d7fac2495aeea
+Size (gettext_i18n_rails-0.4.3.gem) = 17920 bytes



Home | Main Index | Thread Index | Old Index