/
niceSOFT
/
gettext
Обзор
Документация
Войти
/
niceSOFT
/
gettext
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
gettext-tools/examples/hello-ruby/hello.rb
8 строк
208 B
Bruno Haible
New example 'hello-ruby'.
16 дек 2024, 22:39
16 дек 2024, 22:39
3207556
Код
Авторство
О чём код?
#!@RUBY@ require 'gettext' include GetText bindtextdomain("hello-ruby", :path => "@localedir@") puts _("Hello, world!") puts _("This program is running as process number %{pid}.") % { :pid => Process.pid }