mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-02 21:21:06 -04:00
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
This commit is contained in:
@@ -22,7 +22,7 @@ class slideshow_menu_Core {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("slideshow")
|
||||
->label(_("View slideshow"))
|
||||
->label(t("View slideshow"))
|
||||
->url("javascript:PicLensLite.start()")
|
||||
->css_id("gSlideshowLink"));
|
||||
}
|
||||
@@ -31,7 +31,7 @@ class slideshow_menu_Core {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("slideshow")
|
||||
->label(_("View slideshow"))
|
||||
->label(t("View slideshow"))
|
||||
->url("javascript:PicLensLite.start()")
|
||||
->css_id("gSlideshowLink"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user