From 7ed50caba462eee6bb74140482624da9a9026584 Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Fri, 5 Feb 2016 14:34:46 +0100 Subject: [PATCH] Rename \SimpleSAML\Locale\Translate::t_not_translated() to the more concise (and camel caps) getStringNotTranslated(). --- lib/SimpleSAML/Locale/Translate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Locale/Translate.php b/lib/SimpleSAML/Locale/Translate.php index 4f63fe354..837b0e397 100644 --- a/lib/SimpleSAML/Locale/Translate.php +++ b/lib/SimpleSAML/Locale/Translate.php @@ -257,7 +257,7 @@ class Translate if ($tagData === null) { // tag not found \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 * * @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) { return 'not translated ('.$tag.')'; -- GitLab