Commit 20f31431 authored by Aria Givi's avatar Aria Givi

kleinere Änderungen

parent 0c1c99d8
......@@ -7,6 +7,7 @@ Homestead.yaml
.env
.orig
.vscode
langfiles.zip
# The Files created by Gulp in the build process
/public/build
/public/js/lib.js
......
......@@ -97,6 +97,7 @@ class LanguageController extends Controller
$fn = "";
$t = [];
$ex = ['files' => [], 'new' => 0];
if ($exclude !== "") {
try {
$ex = unserialize(base64_decode($exclude));
......@@ -143,7 +144,6 @@ class LanguageController extends Controller
}
$t = $this->htmlEscape($t, $to);
$t = $this->createHints($t, $to);
return view('languages.edit')
->with('texts', $t) //Array mit vorhandenen Übersetzungen der Datei $fn in beiden Sprachen
->with('filename', $fn) //Pfad zur angezeigten Datei
......@@ -162,7 +162,7 @@ class LanguageController extends Controller
$languageFolders = scandir($languageFilePath);
#Enthält zu jeder Sprache ein Objekt mit allen Daten
$languageObjects = [];
$to = [];
$to = []; #Alle vorhandenen Sprachen
#Dekodieren ausgeschlossener Dateien anhand des URL-Parameters
$ex = ['files' => [], 'new' => 0];
......@@ -210,10 +210,6 @@ class LanguageController extends Controller
}
}
if($fn === "") {
//Alles bearbeitet -> zeige entsprechende Nachricht
}
$snippets = [];
#Speichere den Inhalt der ausgewählten Datei in allen Sprachen in $snippets ab
......
......@@ -3,7 +3,7 @@
@section('title', $title )
@section('content')
<h1>Übersicht</h1>
<h1>{{ trans('languages.header') }}</h1>
<?php /*
<!--
<div class="progress">
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment