diff options
Diffstat (limited to 'vendor/plugins/gloc-1.1.0/lib/gloc-helpers.rb')
-rw-r--r-- | vendor/plugins/gloc-1.1.0/lib/gloc-helpers.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/plugins/gloc-1.1.0/lib/gloc-helpers.rb b/vendor/plugins/gloc-1.1.0/lib/gloc-helpers.rb deleted file mode 100644 index f2ceb8e3d..000000000 --- a/vendor/plugins/gloc-1.1.0/lib/gloc-helpers.rb +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright (c) 2005-2006 David Barri
-
-module GLoc
- # These helper methods will be included in the InstanceMethods module.
- module Helpers
- def l_age(age) lwr :general_fmt_age, age end
- def l_date(date) l_strftime date, :general_fmt_date end
- def l_datetime(date) l_strftime date, :general_fmt_datetime end
- def l_datetime_short(date) l_strftime date, :general_fmt_datetime_short end
- def l_strftime(date,fmt) date.strftime l(fmt) end
- def l_time(time) l_strftime time, :general_fmt_time end
- def l_YesNo(value) l(value ? :general_text_Yes : :general_text_No) end
- def l_yesno(value) l(value ? :general_text_yes : :general_text_no) end
-
- def l_lang_name(lang, display_lang=nil)
- ll display_lang || current_language, "general_lang_#{lang}"
- end
-
- end
-end
|