diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-02-06 11:55:19 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-02-06 11:55:19 +0100 |
commit | e68d0c7398d49bf3bdc24d8dc8dddb2dd01ac650 (patch) | |
tree | 07281324bab733309d0965c28edab69f4ddec2df | |
parent | 9d73e7eb1e0dae044ef386211b214e01624a3364 (diff) | |
download | nextcloud-server-e68d0c7398d49bf3bdc24d8dc8dddb2dd01ac650.tar.gz nextcloud-server-e68d0c7398d49bf3bdc24d8dc8dddb2dd01ac650.zip |
make strings translatable
-rw-r--r-- | settings/ajax/changedisplayname.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/ajax/changedisplayname.php b/settings/ajax/changedisplayname.php index 766f1459aec..8f2ff865bd5 100644 --- a/settings/ajax/changedisplayname.php +++ b/settings/ajax/changedisplayname.php @@ -16,7 +16,7 @@ if(OC_SubAdmin::isUserAccessible(OC_User::getUser(), $username)) { }
if(is_null($userstatus)) {
- OC_JSON::error( array( "data" => array( "message" => "Authentication error" )));
+ OC_JSON::error( array( "data" => array( "message" => $l->t("Authentication error") )));
exit();
}
@@ -25,5 +25,5 @@ if( OC_User::setDisplayName( $username, $displayName )) { OC_JSON::success(array("data" => array( "username" => $username, 'displayName' => $displayName )));
}
else{
- OC_JSON::error(array("data" => array( "message" => "Unable to change display name", displayName => OC_User::getDisplayName($username) )));
+ OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change display name"), displayName => OC_User::getDisplayName($username) )));
}
\ No newline at end of file |