Skip to content

Commit

Permalink
Compile translations and push new feature
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitkeremoktay committed Nov 27, 2020
1 parent 952e703 commit bdb4cbc
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
Binary file modified locale/tr_TR/LC_MESSAGES/skymake.mo
Binary file not shown.
5 changes: 4 additions & 1 deletion locale/tr_TR/LC_MESSAGES/skymake.po
Original file line number Diff line number Diff line change
Expand Up @@ -647,4 +647,7 @@ msgid "Teaching"
msgstr "Öğretmenlik"

msgid "Saved successfully."
msgstr "Başarıyla kaydedildi."
msgstr "Başarıyla kaydedildi."

msgid "You are using a SkyMake Beta feature: Moderator Role | Skyfallen may not be able to provide support."
msgstr "SkyMake'in beta özelliklerinden birini kullanıyorsunuz: Moderator Kullanıcı Rolü | Skyfallen size teknik destek sağlayamayabilir."
2 changes: 1 addition & 1 deletion nps/widgets/dash.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function doublewidget($lesson,$teacher,$time,$topic,$unit,$backgorundimage,$less
<li class="nav-item" role="presentation"><a class="nav-link" href="/upload"><?= _("Upload") ?></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/examcreate"><?= _("Create an Exam") ?></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/courses"><?= _("Courses and Lesson Contents") ?></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/courses"><?= _("Teaching") ?></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/teaching"><?= _("Teaching") ?></a></li>
<li class="nav-item" role="presentation"><a class="nav-link" href="/logout"><?= _("Log Out") ?></a></li>
<?php if($_SESSION["dm"] == "off") { ?>
<li class="nav-item" role="presentation"><a class="nav-link" href="?dm=on"><div class="fa fa-moon-o"></div></a></li>
Expand Down
2 changes: 1 addition & 1 deletion results/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
echo _("Your results won't be shown..\n");
die("<a href='/'>"._("Home Page")."</a>");
}
if($_SESSION["user_role"] == "admin"){
if($_SESSION["user_role"] == "admin" or $_SESSION["user_role"] == "moderator"){
header("Location: /results/ranking/");
}
$_SESSION["examid"] = $_GET["examid"];
Expand Down
4 changes: 2 additions & 2 deletions skymake-platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ function loadWebMeeting(){
<option value="admin"><?= _("Administrator") ?></option>
<option value="student"><?= _("Student") ?></option>
<option value="teacher"><?= _("Teacher") ?></option>
<option value="moderator"><?= _("Moderator") ?></option>
<option value="moderator"><?= _("Moderator") ?> - BETA</option>
</select>
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="submit" name="setRole"><?= _("Set Role") ?></button>
Expand Down Expand Up @@ -2218,7 +2218,7 @@ function loadWebMeeting(){
if($requestsuccess){
?>
<div class="footer" id="mainfooter" style="<?php if($dm == "off"){ echo "text-align: center; margin-top: 50px; border: 2px solid lightgray; height: 40px;"; } else { echo "text-align: center; margin-top: 50px; border: 2px solid black; height: 40px; color:white;"; }?>" >
<p style="margin-top: 6px;">SkyMake 4 by Skyfallen. All Rights Reseved &copy; 2016-2020 The Skyfallen Company.<?php echo _("Build Number:").THIS_VERSION; ?></p>
<p style="margin-top: 6px;">SkyMake 4 by Skyfallen. All Rights Reseved &copy; 2016-2020 The Skyfallen Company.<?php echo _("Build Number:").THIS_VERSION; ?><?php if($_SESSION["user_role"] == "moderator"){ echo _("You are using a SkyMake Beta feature: Moderator Role | Skyfallen may not be able to provide support."); } ?></p>
</div>
<?php }
}else{
Expand Down

0 comments on commit bdb4cbc

Please sign in to comment.