search for: msgid_plur

Displaying 4 results from an estimated 4 matches for "msgid_plur".

Did you mean: msgid_plural
2009 Feb 06
0
gettext .po msgid_plural failed
...in; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n == 1 ? 0 : 1;\n" "X-Poedit-Country: UNITED STATES\n" #: app/views/friends/_pending_friends_for_user.rhtml:- msgid "You received %{no_friend} friend invitation" msgid_plural "You received %{no_friend} friend invitations" msgstr[0] "You received %{no_friend} friend invitation" msgstr[1] "You received %{no_friend} friend invitations" Is there anything goes wrong? Any help is appreicated, I hope not making obvious mistake here. Thanks...
2006 Jan 15
15
Gettext and Rails ?
Hello, I''m trying to use ruby-gettext 1.1.1 (installed with gem) with rails and here is all I get : undefined method `init_gettext'' for ApplicationController:Class Here is my source : require ''gettext/rails'' class ApplicationController < ActionController::Base init_gettext "test" end As a Nuby, I don''t really know what to do.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It does work, but needs a lot more testing. This removes all the psychopathic gettextify cruft, and replaces it with a 99 line Makefile.am. A large win, I think. The third patch implements gettext support in the OCaml tools. The fourth patch is just for illustration. It shows the consequent changes to libguestfs.pot and the po
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...int category) { const char *translation = dcgettext (domain, msg_ctxt_id, category); if (translation == msg_ctxt_id) @@ -151,9 +151,9 @@ inline #endif static const char * npgettext_aux (const char *domain, - const char *msg_ctxt_id, const char *msgid, - const char *msgid_plural, unsigned long int n, - int category) + const char *msg_ctxt_id, const char *msgid, + const char *msgid_plural, unsigned long int n, + int category) { const char *translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); @...