From owner-svn-ports-all@freebsd.org Tue May 30 01:49:16 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 893B9D896CE; Tue, 30 May 2017 01:49:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 627F770152; Tue, 30 May 2017 01:49:16 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4U1nFg7018600; Tue, 30 May 2017 01:49:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4U1nFYG018596; Tue, 30 May 2017 01:49:15 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705300149.v4U1nFYG018596@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 30 May 2017 01:49:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442047 - in head/devel: . rubygem-gettext_i18n_rails X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 01:49:16 -0000 Author: sunpoet Date: Tue May 30 01:49:14 2017 New Revision: 442047 URL: https://svnweb.freebsd.org/changeset/ports/442047 Log: Add rubygem-gettext_i18n_rails 1.8.0 gettext_i18n_rails is simple 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. WWW: https://github.com/grosser/gettext_i18n_rails Added: head/devel/rubygem-gettext_i18n_rails/ head/devel/rubygem-gettext_i18n_rails/Makefile (contents, props changed) head/devel/rubygem-gettext_i18n_rails/distinfo (contents, props changed) head/devel/rubygem-gettext_i18n_rails/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue May 30 01:48:55 2017 (r442046) +++ head/devel/Makefile Tue May 30 01:49:14 2017 (r442047) @@ -5317,6 +5317,7 @@ SUBDIR += rubygem-getopt SUBDIR += rubygem-gettext SUBDIR += rubygem-gettext-setup + SUBDIR += rubygem-gettext_i18n_rails SUBDIR += rubygem-gh SUBDIR += rubygem-gibbler SUBDIR += rubygem-gio2 Added: head/devel/rubygem-gettext_i18n_rails/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails/Makefile Tue May 30 01:49:14 2017 (r442047) @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= gettext_i18n_rails +PORTVERSION= 1.8.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple FastGettext Rails integration + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE.txt + +RUN_DEPENDS= rubygem-fast_gettext>=0.9.0:devel/rubygem-fast_gettext + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include Added: head/devel/rubygem-gettext_i18n_rails/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails/distinfo Tue May 30 01:49:14 2017 (r442047) @@ -0,0 +1,3 @@ +TIMESTAMP = 1496105086 +SHA256 (rubygem/gettext_i18n_rails-1.8.0.gem) = 95e5cf8440b1e08705b27f2bccb56143272c5a7a0dabcf54ea1bd701140a496f +SIZE (rubygem/gettext_i18n_rails-1.8.0.gem) = 13312 Added: head/devel/rubygem-gettext_i18n_rails/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-gettext_i18n_rails/pkg-descr Tue May 30 01:49:14 2017 (r442047) @@ -0,0 +1,8 @@ +gettext_i18n_rails is simple 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. + +WWW: https://github.com/grosser/gettext_i18n_rails