search for: textdomain

Displaying 20 results from an estimated 202 matches for "textdomain".

Did you mean: testdomain
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.
2006 Jun 09
0
Ruby-GetText-Package-1.6.0
...elease, you can localize your rails plugin easily with gettext. I wrote a small example. If you''re interested in it, check the file in the released tar-ball. # See (gettext)/samples/rails/vendor/.... Changes ------- * Support Chinese(zh_CN), Italian(it). * Improve the way to manage textdomains. * A class/module can have plural textdomains. * A textdomain belong to a class/module. * A class/module can have plural textdomains. * A message is looked up in its class/module and ancestors. You don''t need to call bindtextdomain in each files. # A textdomai...
2010 Jul 28
3
Create new Sys::VirtV2V::Util
These 2 patches are mostly code motion. They were prompted by an apparent augeas error in BZ 613967 which didn't display useful error message. The error seems to happen in Converter::Linux. GuestOS::RedHat had a handy function which displayed verbose augeas error messages. This function moves into the new module where it can be used by both modules. The second patch is an consequential tidy
2005 Aug 21
2
Has anyone got dvd::rip to work in CentOS?
I feel like Im chasing my own tail round and round in trying to install dvd::rip. Installing the RPM just gets me lost in a world of dependancies. I tried installing manually and all I get is the following: [dave at localhost ~]$ /usr/bin/dvdrip Can't locate Locale/TextDomain.pm in @INC (@INC contains: lib /usr/lib/perl5/5.8.5/i386-linux-thread-multi... ... and it goes on and on. By chance has anyone installed this successfully? Dave
2006 Sep 12
0
Ruby-GetText-Package-1.8.0
...nce to support Ruby on Rails. * init_gettext finds mo-files in /vendor/plugins/{plugin_name}/locale which has app/controller directories such as Rails Engines. And init_gettext accepts :locale_path option to be able to set the locale path manually. * init_gettext manages plural textdomains. * Add before_init_gettext, after_init_gettext methods like as before/after_filter. * Speed up(the sample blog is 1.5 times faster). * gettext/active_record.rb from gettext/rails.rb. * ActiveRecord::Validations is set the app''s textdomain in init_gettext. It means the cla...
2006 May 07
0
Ruby-GetText-Package-1.5.0
...added. Now it supports 11 languages and the screenshot is available. http://www.yotabanana.com/hiki/?ruby-gettext-screenshot Have fun! Changes ------- * Support Russian. * Fix bugs. * Refresh mo option was added. Check mo files and reload it if it''s updated. ruby -d or GetText::TextDomain.check_mo=(true). Or development mode in Ruby on Rails. Thanks to: arton, Karel Miarka, Masayoshi Takahashi, Yuri Kozlov and others. Website ------- http://rubyforge.org/projects/gettext/ * Download http://rubyforge.org/frs/?group_id=855&release_id=2856 * Ruby-GetText-Package HOWTOs...
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...@ -29,6 +27,11 @@ use XML::DOM; use Sys::Virt; use Sys::VirtV2V; +use Sys::VirtV2V::Connection; +use Sys::VirtV2V::Connection::Volume; +use Sys::VirtV2V::Transfer::ESX; +use Sys::VirtV2V::Transfer::SSH; +use Sys::VirtV2V::Transfer::Local; use Sys::VirtV2V::Util qw(user_message); use Locale::TextDomain 'virt-v2v'; @@ -39,70 +42,47 @@ use Locale::TextDomain 'virt-v2v'; =head1 NAME -Sys::VirtV2V::Connection::LibVirt - Read libvirt metadata from libvirtd - -=head1 SYNOPSIS - - use Sys::VirtV2V::Connection::LibVirt; - - $conn = Sys::VirtV2V::Connection::LibVirt->new - (&quo...
2005 Dec 29
5
Ruby-GetText-Package-1.1.0
...XML file(.glade) o ERB file(.rhtml) o ActiveRecord (.rb) * rmsgfmt command for creating a mo-file from a po-file. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can select two kind of textdomain''s scope: o A file base (default: recommanded) o A Class/Module base (GetText::Container, GetText::ErbContainer, GetText::Rails) * CGI support (gettext/cgi) * ERB support (gettext/erb) * Ruby on Rails support (gettext...
2017 Jan 26
1
[PATCH] Use srandom (time (NULL) + getpid ()) throughout.
...- a/edit/edit.c +++ b/edit/edit.c @@ -29,6 +29,7 @@ #include <error.h> #include <assert.h> #include <libintl.h> +#include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> #include <utime.h> @@ -103,7 +104,7 @@ main (int argc, char *argv[]) textdomain (PACKAGE); /* We use random(3) below. */ - srandom (time (NULL)); + srandom (time (NULL) + getpid ()); enum { HELP_OPTION = CHAR_MAX + 1 }; diff --git a/fish/fish.c b/fish/fish.c index b7d63cf..52a9093 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -181,7 +181,7 @@ main (int argc, char...
2011 Jan 17
1
[PATCH] Fix subclassing of LibVirtXMLSource
...ibVirtXMLSource.pm b/lib/Sys/VirtV2V/Connection/LibVirtXMLSource.pm index e62d996..ffb9309 100644 --- a/lib/Sys/VirtV2V/Connection/LibVirtXMLSource.pm +++ b/lib/Sys/VirtV2V/Connection/LibVirtXMLSource.pm @@ -30,7 +30,7 @@ use Sys::VirtV2V::Util qw(user_message parse_libvirt_volinfo); use Locale::TextDomain 'virt-v2v'; - at Sys::VirtV2V::Connection::Source::LibVirtXMLSource::ISA = + at Sys::VirtV2V::Connection::LibVirtXMLSource::ISA = qw(Sys::VirtV2V::Connection::Source); =pod -- 1.7.3.4
2006 Apr 15
0
Ruby-GetText-Package-1.4.0
...XML file(.glade) o ERB file(.rhtml) o ActiveRecord (.rb) * rmsgfmt command for creating a mo-file from a po-file. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can select two kind of textdomain''s scope: o A file base (default: recommanded) o A Class/Module base (GetText::Container, GetText::ErbContainer, GetText::Rails) * CGI support (gettext/cgi) * ERB support (gettext/erb) * Ruby on Rails support (gettext...
2006 Feb 23
0
Ruby-GetText-Package-1.2.0
...XML file(.glade) o ERB file(.rhtml) o ActiveRecord (.rb) * rmsgfmt command for creating a mo-file from a po-file. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can select two kind of textdomain''s scope: o A file base (default: recommanded) o A Class/Module base (GetText::Container, GetText::ErbContainer, GetText::Rails) * CGI support (gettext/cgi) * ERB support (gettext/erb) * Ruby on Rails support (gettext...
2017 Mar 24
2
Virt-win-reg does not exist
Hello, I have compiled the latest version of libguestfs on Debian jessie with no flags specified and virt-win-reg does not exist as a tool. Do I need to specify any flag to have that available? Regards, Peter
2006 Jul 17
0
Ruby-GetText-Package-1.7.0
...XML file(.glade) o ERB file(.rhtml) o ActiveRecord (.rb) * rmsgfmt command for creating a mo-file from a po-file. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can bind plural textdomains to a class/module. * CGI support (gettext/cgi) * ERB support (gettext/erb) * Ruby on Rails support (gettext/rails) Status of translations ---------------------- Chinese(zh) - 1.7.0 Czech(cs) - 1.7.0 Dutch(nl)...
2010 Mar 31
1
[PATCH] Add LocalCopy transfer method to transfer local files to a target
...MANIFEST This list of files MANIFEST.SKIP META.yml diff --git a/lib/Sys/VirtV2V/Connection.pm b/lib/Sys/VirtV2V/Connection.pm index 5ecc7e3..5b4ed8d 100644 --- a/lib/Sys/VirtV2V/Connection.pm +++ b/lib/Sys/VirtV2V/Connection.pm @@ -22,10 +22,12 @@ use warnings; use Sys::Virt; -use Locale::TextDomain 'virt-v2v'; - +use Sys::VirtV2V::Transfer::ESX; +use Sys::VirtV2V::Transfer::LocalCopy; use Sys::VirtV2V::UserMessage qw(user_message); +use Locale::TextDomain 'virt-v2v'; + =pod =head1 NAME @@ -134,41 +136,39 @@ sub _storage_iterate else { my $path = $s...
2017 Jan 26
2
[PATCH v2 0/2] Fix srandom issues.
A better way to solve this I think. Rich.
2006 Mar 11
0
Ruby-GetText-Package-1.3.0
...XML file(.glade) o ERB file(.rhtml) o ActiveRecord (.rb) * rmsgfmt command for creating a mo-file from a po-file. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can select two kind of textdomain''s scope: o A file base (default: recommanded) o A Class/Module base (GetText::Container, GetText::ErbContainer, GetText::Rails) * CGI support (gettext/cgi) * ERB support (gettext/erb) * Ruby on Rails support (gettext...
2013 Oct 31
6
[PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm
In preparation for an upcoming patch which adds support for SUSE guest conversions, it makes sense to have an intermediate steps that changes the RedHat.pm converter into a more generic Linux converter. The SUSE changes will then be limited in scope to only what is required for SUSE support. This series of patches accomplishes the following: - Renames RedHat.pm to Linux.pm - Modifies Linux.pm
2008 Sep 15
1
Ruby-GetText-Package-1.93.0
...command for creating a mo-file from a po-file. * Have rgettext/rmsgfmt as module functions. It''s useful as Rake tasks. * The po-file is compatible to GNU gettext. You can maintain these files to use GNU getext tools. * The mo-file is compatible to GNU gettext(msgfmt). * multi-textdomain supported. You can bind plural textdomains to a class/module. * CGI support (gettext/cgi) * Ruby on Rails support (gettext/rails) ScreenShots ----------- Screenshots in 22 languages (Sample Rails blog) are: http://www.yotabanana.com/hiki/?ruby-gettext-screenshot Status of translations --...
2016 Jun 01
2
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in