diff --git a/locale/tr_TR/LC_MESSAGES/skymake.mo b/locale/tr_TR/LC_MESSAGES/skymake.mo index 8e89bac..3228aec 100644 Binary files a/locale/tr_TR/LC_MESSAGES/skymake.mo and b/locale/tr_TR/LC_MESSAGES/skymake.mo differ diff --git a/locale/tr_TR/LC_MESSAGES/skymake.po b/locale/tr_TR/LC_MESSAGES/skymake.po index 77d4686..fadfc63 100644 --- a/locale/tr_TR/LC_MESSAGES/skymake.po +++ b/locale/tr_TR/LC_MESSAGES/skymake.po @@ -623,4 +623,16 @@ msgid "Join via app" msgstr "Uygulama ile katıl" msgid "Assigned to me" -msgstr "Bana atanmış" \ No newline at end of file +msgstr "Bana atanmış" + +msgid "You can't change the role of user 'root'." +msgstr "'root' kullanıcısının rolünü değiştiremezsiniz" + +msgid "You can't delete the user 'root'" +msgstr "'root' kullanıcısını silemezsiniz" + +msgid "Moderator" +msgstr "Moderatör" + +msgid "We've successfully saved your response for question:" +msgstr "Yanıtınızı başarıyla kaydettik. Kaydedilen Soru Numarası:" \ No newline at end of file diff --git a/oes/index.php b/oes/index.php index 79e3e59..7a531b3 100644 --- a/oes/index.php +++ b/oes/index.php @@ -233,7 +233,7 @@ function getRemoteIPAddress() { $sql = "INSERT INTO skymake_answer (id, qn, answer,uniq,examid) VALUES ('".$_SESSION["id"]."', '".$qn_internal."', '".$_SESSION["lastanswer"]."','".$uniq."','".$_SESSION["examid"]."')"; if (mysqli_query($linktwo, $sql)) { - echo "SQL Query Succeeded:".$sql; + echo _("We've successfully saved your response for question:").$qn_internal; } else { $sql = "DELETE FROM skymake_answer WHERE uniq='".$uniq."';"; if (mysqli_query($linktwo, $sql)){ @@ -241,7 +241,7 @@ function getRemoteIPAddress() { VALUES ('".$_SESSION["id"]."', '".$qn_internal."', '".$_SESSION["lastanswer"]."','".$uniq."','".$_SESSION["examid"]."')"; if (mysqli_query($linktwo, $sql)) { - echo "SQL Query Succeeded:".$sql; + echo _("We've successfully saved your response for question:").$qn_internal; } else{ echo "Type 2 Error: " . $sql . "
" . mysqli_error($linktwo); @@ -290,7 +290,6 @@ function getRemoteIPAddress() { ">
- ">

diff --git a/oes/sessionkill.php b/oes/sessionkill.php deleted file mode 100644 index bc84180..0000000 --- a/oes/sessionkill.php +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file diff --git a/skymake-platform.php b/skymake-platform.php index 39b946d..6b81f8c 100755 --- a/skymake-platform.php +++ b/skymake-platform.php @@ -619,14 +619,14 @@ function loadWebMeeting(){ echo("ERROR: Could not able to execute $sql. " . mysqli_error($link)); } } else { - echo "You can't delete the user 'root'"; + echo _("You can't delete the user 'root'"); } } if(isset($_POST["setRole"])){ if($_POST["username"] != "root") { SMUser::setRole($link, $_POST["username"], $_POST["newRole"]); } else { - echo "You can't change the role of user 'root'."; + echo _("You can't change the role of user 'root'."); } } ?> @@ -657,6 +657,7 @@ function loadWebMeeting(){ +