Project

General

Profile

« Previous | Next » 

Revision ccab26de

Added by Marc Dequènes about 15 years ago

  • ID ccab26de9450c362f61c0c391e47f9861d5d35d9

[fix] gettext domains are binded correctly now (using a new PostmanHome submodule to separate domains easily)

View differences:

lib/cyborghood/base.rb
module CyborgHood
include GetText
bindtextdomain("cyborghood", {:path => File.join(APP_ROOT, "locale"), :charset => "UTF-8"})
PRODUCT = "CyborgHood"
VERSION = "0.2.0~dev"
bindtextdomain(PRODUCT, {:path => File.join(APP_ROOT, "locale"), :charset => "UTF-8"})
textdomain(PRODUCT)
#textdomain_to(self.class, PRODUCT + "_" + self.human_name)
# severities: # :dangerous :unrecoverable :ignorable
# categories:
# - db

Also available in: Unified diff