Skip to content
Snippets Groups Projects
Commit 7ed50cab authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Rename \SimpleSAML\Locale\Translate::t_not_translated() to the more concise...

Rename \SimpleSAML\Locale\Translate::t_not_translated() to the more concise (and camel caps) getStringNotTranslated().
parent ac82674f
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ class Translate ...@@ -257,7 +257,7 @@ class Translate
if ($tagData === null) { if ($tagData === null) {
// tag not found // tag not found
\SimpleSAML_Logger::info('Template: Looking up ['.$tag.']: not translated at all.'); \SimpleSAML_Logger::info('Template: Looking up ['.$tag.']: not translated at all.');
return $this->t_not_translated($tag, $fallbackdefault); return $this->getStringNotTranslated($tag, $fallbackdefault);
} }
} }
...@@ -283,7 +283,7 @@ class Translate ...@@ -283,7 +283,7 @@ class Translate
* *
* @return string The string that should be used, or the tag name if $fallbacktag is set to false. * @return string The string that should be used, or the tag name if $fallbacktag is set to false.
*/ */
private function t_not_translated($tag, $fallbacktag) private function getStringNotTranslated($tag, $fallbacktag)
{ {
if ($fallbacktag) { if ($fallbacktag) {
return 'not translated ('.$tag.')'; return 'not translated ('.$tag.')';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment