Commit 7e1d86fb authored by ZeMKI's avatar ZeMKI
Browse files

Translation

* more documents translated and optimised
parent 1db93f6f
......@@ -46,4 +46,49 @@ J
K
resources/lang/de/_json.php,c/0/c04be321b002113bdf277898675d5caf90bbfe05
F
resources/lang/de.json,e/2/e2dbb49b29c878fa8265508c4e89578b54a3aee8
\ No newline at end of file
resources/lang/de.json,e/2/e2dbb49b29c878fa8265508c4e89578b54a3aee8
F
app/Helpers/Helper.php,4/d/4d3cbe8ab22bbd2ae60d7650dac9eaa107b443b4
:
.gitignore,a/5/a5cc2925ca8258af241be7e5b0381edf30266302
=
app/Token.php,c/3/c33fbb36b8c1e33ad61989c918f6418beaadca03
^
.resources/views/layouts/headerdompdf.blade.php,d/2/d24a9873df3436af2a90d45e4a642fbef650620d
S
#storage/logs/laravel-2020-03-16.log,0/c/0c66df5a48667a594d2a523edeb04c91f330c6e3
Z
*resources/js/components/consultsorting.vue,3/c/3c53dc94b5369d02672c9139b57ddcc4d1672ad1
\
,resources/js/components/modalnewedituser.vue,d/4/d4716aad07acd9c10a3de1e170a915db54e3418b
X
(resources/js/components/newinterview.vue,3/1/31afc1b5cd50388f765f9e074774b0a3837a7a29
Y
)resources/js/components/newtokenmodal.vue,d/1/d173f2252e6653e028f6ef198a2a7ee3fa7fec04
X
(resources/js/components/overviewuser.vue,6/a/6ae3e43bfb16dfe18608561f1de5cf2058748c4a
S
#resources/js/components/sorting.vue,8/d/8d5d29c6733e78467d930fc3e50992c06fb28c00
T
$resources/js/components/userpart.vue,d/3/d3c80512b7d7bd9d2d6a0da4ac685cf70eb7c32e
U
%resources/js/components/usertable.vue,9/1/91d90616d5bdac4ddf312c6964ec94bff83ddef7
a
1resources/views/layouts/headerinterview.blade.php,5/f/5fac930b2f26f4af1850d033ad93002a3080cd00
Y
)resources/js/components/interviewlist.vue,d/5/d5019639df3accd213ab51235495e5ec4bd5f582
[
+resources/views/study/create_edit.blade.php,9/4/94a4737a0d68f2f8d7085853397c8730c16e44b4
Q
!resources/views/nomodel.blade.php,2/f/2f828ca8ac8f45ba5da2d612d3f0c196f930ea5c
V
&resources/views/sorting/view.blade.php,8/0/807db8304650aaa88689ab779863d4f0a292535b
^
.resources/views/layouts/navinterview.blade.php,7/9/799232affa27a96679e19cfb7f8d267e9e065b22
[
+resources/views/layouts/interview.blade.php,7/c/7cf0ca2bdc9da03af83cb2ddea2fa36773fe2aca
^
.resources/views/layouts/checksorting.blade.php,1/6/165f0182804d36ad1e3abb3416a14252c9b40123
X
(resources/views/layouts/footer.blade.php,7/a/7aca1ab0495aeaddb9e00c05a972f06c6ffaa618
\ No newline at end of file
......
......@@ -23,28 +23,16 @@
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<!-- page specific styles -->
<script>
window.trans = [];
window.trans = <?php
// copy all translations from /resources/lang/CURRENT_LOCALE/* to global JS variable
/*
$lang_files = File::files(resource_path() . '/lang/' . App::getLocale());
$trans = [];
foreach ($lang_files as $f) {
$filename = pathinfo($f)['filename'];
$trans[$filename] = trans($filename);
}
*/
$json_file = File::get(resource_path()."/lang/". App::getLocale().'.json');
$json_file = File::get(resource_path() . "/lang/" . App::getLocale() . '.json');
echo json_decode(json_encode($json_file, true));;
?>;
</script>
<!-- page specific styles -->
@yield('pagespecificstyles')
<!-- favicon -->
......
......@@ -25,6 +25,16 @@
<!-- Styles -->
<link href="{{ asset('css/app.css') }}" rel="stylesheet">
<script>
window.trans = [];
window.trans = <?php
$json_file = File::get(resource_path() . "/lang/" . App::getLocale() . '.json');
echo json_decode(json_encode($json_file, true));;
?>;
</script>
<!-- page specific styles -->
@yield('pagespecificstyles')
......
......@@ -41,7 +41,7 @@
<span class="icon text-xl">
<Bell title="Notifications"/>
<Bell :title="trans('Home')"/>
</span>
</a>
......@@ -51,7 +51,7 @@
v-show="shownotificationbox">
<div class="w-full flex bg-gray-100 p-2">
<p class="flex-1 text-blue-300 font-bold text-center align-middle">Notifications</p>
<p class="flex-1 text-blue-300 font-bold text-center align-middle">{{ __('Notifications') }}</p>
</div>
<div
......@@ -64,7 +64,7 @@
}}</p>
<a v-if="notification.read_at == null" role="button"
class="hover:text-gray-300 w-auto text-xs right-0 flex-shrink-1 bg-blue-500 hover:bg-blue-700 text-gray-100 font-bold py-2 px-4 rounded z-50"
@click.prevent="togglenotification(notification.id)"> Set to READ
@click.prevent="togglenotification(notification.id)"> {{ __('Set to READ') }}
</a>
</div>
......@@ -83,7 +83,7 @@
href="{{url('studies/new')}}"
>
<span class="icon">
<plus-icon title="Add a study"/>
<plus-icon :title="trans('Add a study')"/>
</span>
{{ __('New Study') }}
</a>
......@@ -105,12 +105,12 @@
<div id="dropdownLanguage" class="languagedropdown-content absolute hidden w-full text-center"
@mouseover="showdropdown('dropdownLanguage')"
@mouseleave="showdropdown('dropdownLanguage')">
<a class="text-center w-full mt-4 lg:inline-block lg:mt-0 mr-4 menu-item has-background-white-ter shadow-sm px-5 py-2"
<a class="text-center w-full mt-4 lg:inline-block lg:mt-0 mr-4 menu-item has-background-white-ter shadow-sm px-5 py-1"
href="{{ url('switch/de') }}"
>
{{ __('German') }}
</a>
<a class="text-center w-full lg:inline-block lg:mt-0 mr-4 menu-item has-background-white-ter shadow-sm px-5 py-2"
<a class="text-center w-full lg:inline-block lg:mt-0 mr-4 menu-item has-background-white-ter shadow-sm px-5 py-1"
href="{{ url('switch/en') }}"
>
{{ __('Englisch') }}
......
......@@ -6,7 +6,7 @@
<homeicon title="Home" class="text-xl"></homeicon>
<strong>Home</strong>
<strong>{{ __('Home') }}</strong>
</a>
</div>
<div class="flex items-center flex-shrink-0 text-white text-center px-2">
......@@ -21,7 +21,8 @@
:class="buttonnames[interviewpage][0] != '' ? 'button is-danger mr-2':'button bg-gray-800 mr-2'"
v-else="sorting == 1 && interviewpage < 2"
>
< Previous Sorting
< {{ __('Previous Sorting') }}
</a>
<p href="#responsive-header" class="my-4 cursor-default">
@{{ interviewpagenames[interviewpage] }}
......@@ -32,32 +33,21 @@
</a>
<a @click="interviewconfirmnextpage" class="button is-danger ml-2"
v-else="sortingtotal > sorting && interviewpage < 2">
Next Sorting >
{{ __('Next Sorting') }} >
</a>
</div>
<span v-show="interviewpage == 1" style="display: flex">
<div class="flex items-center flex-shrink-1 text-white text-center px-2">
<a class="button is-primary" @click="interviewaddsorting">
<strong>Add Sorting</strong>
<strong> {{ __('Add Sorting') }}</strong>
</a>
</div>
<div class="flex items-center flex-shrink-1 text-white text-center px-2">
<a class="button is-primary" @click="interviewaddtoken">
<strong>Add Token</strong>
<strong>{{ __('Add Token') }}</strong>
</a>
</div>
</span>
<div>
<a class="hidden">
<span style="margin-right: 3px"> Record </span>
<div class="spinner">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
</a>
</div>
</nav>
......@@ -9,8 +9,7 @@
<main>
<p width="100%">
<a href="{{url('/interview/'.$interview->id.'/sorting/'.$sorting_number.'/download')}}" target="_blank">
<button class="button is-danger" style="display: flex;z-index: 1000;margin: 5px;position: fixed;">Export
PDF
<button class="button is-danger" style="display: flex;z-index: 1000;margin: 5px;position: fixed;">{{ __('Export PDF') }}
</button>
</a>
<img src="{{$sorting_screenshot}}" id="sorting"
......
Supports Markdown
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