summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/controllers/admin_languages.php')
-rw-r--r--modules/gallery/controllers/admin_languages.php4
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")