diff options
| author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-08-06 21:36:32 +0000 | 
|---|---|---|
| committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-08-06 21:36:32 +0000 | 
| commit | 691ce806dc9aefac596a692ff2ba927a81a65440 (patch) | |
| tree | 410f64288ef1d8bbc8455509af74d0e7582dc48e /modules/gallery/controllers/admin_languages.php | |
| parent | c83650d83ad8b1f4bda30cac2ae8efa6e1c97287 (diff) | |
| parent | 8559cdb5b6bfa87864941f726521660023779fa7 (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/admin_languages.php')
| -rw-r--r-- | modules/gallery/controllers/admin_languages.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/controllers/admin_languages.php b/modules/gallery/controllers/admin_languages.php index 0f134fcd..573ededf 100644 --- a/modules/gallery/controllers/admin_languages.php +++ b/modules/gallery/controllers/admin_languages.php @@ -51,7 +51,7 @@ class Admin_Languages_Controller extends Admin_Controller {      }      module::set_var("gallery", "default_locale", $new_default_locale); -    print json_encode(array("result" => "success")); +    json::reply(array("result" => "success"));    }    public function share() { @@ -109,7 +109,7 @@ class Admin_Languages_Controller extends Admin_Controller {    private function _share_translations_form() {      $form = new Forge("admin/languages/share", "", "post", array("id" => "g-share-translations-form"));      $group = $form->group("sharing") -      ->label(t("Sharing your own translations with the Gallery community is easy. Please do!")); +      ->label("Translations API Key");      $api_key = l10n_client::api_key();      $server_link = l10n_client::server_api_key_url();      $group->input("api_key")  | 
