Skip to content
Snippets Groups Projects
Commit 22ddf873 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Add label for max file size

parent eb17eeb4
No related branches found
No related tags found
1 merge request!7Feature max file size
...@@ -195,6 +195,7 @@ class JoblistController extends ActionController { ...@@ -195,6 +195,7 @@ class JoblistController extends ActionController {
$this->view->assign('applyData', $applyData); $this->view->assign('applyData', $applyData);
$this->view->assign('maxFileSize', $this->settings['allowedMaxFileSize']); $this->view->assign('maxFileSize', $this->settings['allowedMaxFileSize']);
$this->view->assign('maxFileSizeMb', ((int) $this->settings['allowedMaxFileSize'] / 1000) . ' MByte');
$this->view->assign( $this->view->assign(
'maxFileSizeMessage', LocalizationUtility::translate('error.maxFileSizeMessage', 'sg_jobs') 'maxFileSizeMessage', LocalizationUtility::translate('error.maxFileSizeMessage', 'sg_jobs')
); );
......
...@@ -218,6 +218,10 @@ ...@@ -218,6 +218,10 @@
<source>Location*</source> <source>Location*</source>
<target>Standort*</target> <target>Standort*</target>
</trans-unit> </trans-unit>
<trans-unit id="frontend.apply.maxFileSize" approved="yes">
<source>Maximum file size:</source>
<target>Maximale Dateigröße:</target>
</trans-unit>
<trans-unit id="frontend.apply.message" approved="yes"> <trans-unit id="frontend.apply.message" approved="yes">
<source>Message</source> <source>Message</source>
<target>Ihre Nachricht</target> <target>Ihre Nachricht</target>
......
...@@ -165,6 +165,9 @@ ...@@ -165,6 +165,9 @@
<trans-unit id="frontend.apply.location"> <trans-unit id="frontend.apply.location">
<source>Location*</source> <source>Location*</source>
</trans-unit> </trans-unit>
<trans-unit id="frontend.apply.maxFileSize">
<source>Maximum file size:</source>
</trans-unit>
<trans-unit id="frontend.apply.message"> <trans-unit id="frontend.apply.message">
<source>Message</source> <source>Message</source>
</trans-unit> </trans-unit>
......
...@@ -137,6 +137,10 @@ ...@@ -137,6 +137,10 @@
<source>Location*</source> <source>Location*</source>
<target>地点 *</target> <target>地点 *</target>
</trans-unit> </trans-unit>
<trans-unit id="frontend.apply.maxFileSize" approved="yes">
<source>Maximum file size:</source>
<target>Maximum file size:</target>
</trans-unit>
<trans-unit id="frontend.apply.message" approved="yes"> <trans-unit id="frontend.apply.message" approved="yes">
<source>Message</source> <source>Message</source>
<target>您的消息</target> <target>您的消息</target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment