sprache Template

This commit is contained in:
Martin Müller 2014-02-23 11:12:08 +01:00
parent 9ef95f280b
commit f7a79a6c91
4 changed files with 537 additions and 0 deletions

24
app/Locale/cake.pot Normal file
View File

@ -0,0 +1,24 @@
# LANGUAGE translation of CakePHP Application
# Copyright YEAR NAME <EMAIL@ADDRESS>
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2014-02-23 11:10+0100\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: View/Errors/error500.ctp:8
msgid "Error"
msgstr ""
#: View/Errors/error500.ctp:9
msgid "An Internal Error Has Occurred."
msgstr ""

24
app/Locale/cake_dev.pot Normal file
View File

@ -0,0 +1,24 @@
# LANGUAGE translation of CakePHP Application
# Copyright YEAR NAME <EMAIL@ADDRESS>
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2014-02-23 11:10+0100\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: View/Layouts/error.ctp:19
msgid "CakePHP: the rapid development php framework"
msgstr ""
#: webroot/test.php:93
msgid "Debug setting does not allow access to this url."
msgstr ""

348
app/Locale/default.pot Normal file
View File

@ -0,0 +1,348 @@
# LANGUAGE translation of CakePHP Application
# Copyright YEAR NAME <EMAIL@ADDRESS>
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2014-02-23 11:10+0100\n"
"PO-Revision-Date: YYYY-mm-DD HH:MM+ZZZZ\n"
"Last-Translator: NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <EMAIL@ADDRESS>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#: Controller/UserController.php:74;83
msgid "dreamjob.error.page.notFound"
msgstr ""
#: View/Elements/job_opening_item.ctp:61
#: View/Job/opening.ctp:40
msgid "dreamjob.graducation.company"
msgstr ""
#: View/Elements/job_opening_item.ctp:62
#: View/Job/opening.ctp:41
#: View/User/company.ctp:71
msgid "dreamjob.branch"
msgstr ""
#: View/Elements/job_opening_item.ctp:63
msgid "dreamjob.city"
msgstr ""
#: View/Elements/job_opening_item.ctp:64
#: View/Job/opening.ctp:42
msgid "dreamjob.kindofjob"
msgstr ""
#: View/Elements/job_opening_item.ctp:65
#: View/Job/opening.ctp:43
msgid "dreamjob.opening.enddate"
msgstr ""
#: View/Elements/job_opening_item.ctp:70
msgid "dreamjob.opening.detail"
msgstr ""
#: View/Elements/job_opening_item.ctp:73
msgid "dreamjob.opening.edit"
msgstr ""
#: View/Elements/job_opening_item.ctp:74
msgid "dreamjob.opening.delete"
msgstr ""
#: View/Elements/job_opening_item.ctp:95
#: View/Job/opening.ctp:63
msgid "dreamjob.applicate"
msgstr ""
#: View/Elements/navbar.ctp:6
msgid "dreamjob.admin"
msgstr ""
#: View/Elements/navbar.ctp:8
msgid "dreamjob.startpage"
msgstr ""
#: View/Elements/navbar.ctp:9
#: View/User/company.ctp:87
msgid "dreamjob.search"
msgstr ""
#: View/Elements/navbar.ctp:10
msgid "dreamjob.settings"
msgstr ""
#: View/Elements/navbar.ctp:11
msgid "dreamjob.service"
msgstr ""
#: View/Elements/navbar.ctp:12
msgid "dreamjob.logout"
msgstr ""
#: View/Elements/navbar.ctp:25
#: View/Elements/user_worker_header.ctp:36
#: View/User/company.ctp:35;58
msgid "dreamjob.mail"
msgstr ""
#: View/Elements/navbar.ctp:27
msgid "dreamjob.password"
msgstr ""
#: View/Elements/navbar.ctp:29
msgid "dreamjob.login"
msgstr ""
#: View/Elements/user_worker_header.ctp:32
msgid "dreamjob.iam"
msgstr ""
#: View/Elements/user_worker_header.ctp:43
msgid "dreamjob.bday"
msgstr ""
#: View/Elements/user_worker_header.ctp:52
msgid "dreamjob.workexperience"
msgstr ""
#: View/Elements/user_worker_header.ctp:56
msgid "dreamjob.graducation.worker"
msgstr ""
#: View/Elements/user_worker_header.ctp:60
msgid "dreamjob.country.worker"
msgstr ""
#: View/Home/home.ctp:11
msgid "forget password"
msgstr ""
#: View/Home/home.ctp:12
msgid "register"
msgstr ""
#: View/Job/favorite.ctp:7
msgid "dreamjob.my.favority"
msgstr ""
#: View/Job/opening.ctp:13
msgid "dreamjob.company.to"
msgstr ""
#: View/Job/opening.ctp:21
msgid "dreamjob.my.application"
msgstr ""
#: View/Job/opening.ctp:39
msgid "dreamjob.opening.titleinfo"
msgstr ""
#: View/Job/opening.ctp:47
msgid "dreamjob.company.titleinfo"
msgstr ""
#: View/Job/opening.ctp:48
msgid "dreamjob.company"
msgstr ""
#: View/Job/opening.ctp:49
msgid "dreamjob.headcount"
msgstr ""
#: View/Job/opening.ctp:50
#: View/User/company.ctp:67
msgid "dreamjob.owner"
msgstr ""
#: View/Job/opening.ctp:53
#: View/User/company.ctp:76
msgid "dreamjob.address"
msgstr ""
#: View/Job/opening_edit.ctp:26
msgid "dreamjob.title"
msgstr ""
#: View/Job/opening_edit.ctp:35
msgid "dreamjob.opening.startdate"
msgstr ""
#: View/Job/opening_list.ctp:7
msgid "dreamjob.my.opening"
msgstr ""
#: View/Job/opening_list.ctp:11
msgid "dreamjob.opening.add"
msgstr ""
#: View/Layouts/default.ctp:8
msgid "dreamjob"
msgstr ""
#: View/Layouts/default.ctp:82
msgid "dreamjob.help"
msgstr ""
#: View/Layouts/default.ctp:83
msgid "dreamjob.faq"
msgstr ""
#: View/Layouts/default.ctp:88
msgid "dreamjob.sponsorus"
msgstr ""
#: View/Layouts/default.ctp:89
msgid "dreamjob.cooperators"
msgstr ""
#: View/Layouts/default.ctp:90
msgid "dreamjob.advertisers"
msgstr ""
#: View/Layouts/default.ctp:96
msgid "dreamjob.contact"
msgstr ""
#: View/Layouts/default.ctp:97
msgid "dreamjob.uscompany"
msgstr ""
#: View/Layouts/default.ctp:102
msgid "dreamjob.agb"
msgstr ""
#: View/Layouts/default.ctp:103
msgid "dreamjob.impressum"
msgstr ""
#: View/Layouts/default.ctp:104
msgid "dreamjob.advbyus"
msgstr ""
#: View/User/company.ctp:28;51
msgid "dreamjob.website"
msgstr ""
#: View/User/company.ctp:97;99;123
msgid "dreamjob.opening"
msgstr ""
#: View/User/worker.ctp:23;25;49
msgid "dreamjob.cv"
msgstr ""
#: Model/AppUser.php:validation for field id
#: Model/DreamjobListBranch.php:validation for field id
#: Model/DreamjobListCity.php:validation for field id
#: Model/DreamjobListCountry.php:validation for field id
#: Model/DreamjobListGraducation.php:validation for field id
#: Model/DreamjobListJob.php:validation for field id
#: Model/DreamjobListKindofjob.php:validation for field id
#: Model/DreamjobPageInh.php:validation for field id;validation for field user_id
#: Model/Mannerofaddress.php:validation for field id
#: Model/User.php:validation for field id
msgid "naturalNumber"
msgstr ""
#: Model/AppUser.php:validation for field user_id
#: Model/DreamjobCompany.php:validation for field djaccount_ptr_id;validation for field pro_user
#: Model/DreamjobJobFavority.php:validation for field worker_id;validation for field opening_id
#: Model/DreamjobJobOpening.php:validation for field id;validation for field company_id;validation for field kindofjob_id
#: Model/DreamjobPageImage.php:validation for field page_ptr_id
#: Model/DreamjobPageInh.php:validation for field position
#: Model/DreamjobPageText.php:validation for field page_ptr_id
#: Model/DreamjobUser.php:validation for field micapplication_ptr_id
#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id
msgid "numeric"
msgstr ""
#: Model/AppUser.php:validation for field take_systemwide
#: Model/DreamjobJobOpening.php:validation for field active
#: Model/DreamjobWorker.php:validation for field searchhidden;validation for field advertising;validation for field leadership_ability
#: Model/User.php:validation for field is_staff;validation for field is_active;validation for field is_superuser
msgid "boolean"
msgstr ""
#: Model/DreamjobCompany.php:validation for field djaccount_ptr_id
#: Model/DreamjobJobFavority.php:validation for field worker_id;validation for field opening_id
#: Model/DreamjobListBranch.php:validation for field id;validation for field name
#: Model/DreamjobListCity.php:validation for field id;validation for field name
#: Model/DreamjobListCountry.php:validation for field id;validation for field name
#: Model/DreamjobListGraducation.php:validation for field id;validation for field name
#: Model/DreamjobListJob.php:validation for field id;validation for field name
#: Model/DreamjobListKindofjob.php:validation for field id;validation for field name
#: Model/DreamjobPageImage.php:validation for field page_ptr_id
#: Model/DreamjobPageInh.php:validation for field id
#: Model/DreamjobPageText.php:validation for field page_ptr_id
#: Model/DreamjobUser.php:validation for field micapplication_ptr_id
#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id
#: Model/Mannerofaddress.php:validation for field id;validation for field name
#: Model/User.php:validation for field id
msgid "multiple"
msgstr ""
#: Model/DreamjobCompany.php:validation for field corporateform;validation for field owner;validation for field branch
#: Model/DreamjobJobOpening.php:validation for field street;validation for field city;validation for field postcode;validation for field title;validation for field branch;validation for field text
#: Model/DreamjobListBranch.php:validation for field name
#: Model/DreamjobListCity.php:validation for field name
#: Model/DreamjobListCountry.php:validation for field name
#: Model/DreamjobListGraducation.php:validation for field name
#: Model/DreamjobListJob.php:validation for field name
#: Model/DreamjobListKindofjob.php:validation for field name
#: Model/DreamjobPageImage.php:validation for field image
#: Model/DreamjobPageInh.php:validation for field user_id;validation for field title
#: Model/DreamjobPageText.php:validation for field text
#: Model/DreamjobUser.php:validation for field street;validation for field city;validation for field postcode
#: Model/DreamjobWorker.php:validation for field djaccount_ptr_id;validation for field country;validation for field iam
#: Model/Mannerofaddress.php:validation for field name
#: Model/User.php:validation for field first_name;validation for field last_name;validation for field password;validation for field code;validation for field comment
msgid "notEmpty"
msgstr ""
#: Model/DreamjobJobOpening.php:validation for field id
msgid "userDefined"
msgstr ""
#: Model/DreamjobJobOpening.php:validation for field startdate;validation for field enddate
#: Model/User.php:validation for field bday
msgid "date"
msgstr ""
#: Model/DreamjobPageImage.php:validation for field image
msgid "alphaNumeric"
msgstr ""
#: Model/User.php:validation for field last_login;validation for field date_joined
msgid "datetime"
msgstr ""
#: Model/User.php:validation for field mail
msgid "email"
msgstr ""
#: Model/User.php:validation for field avatar
msgid "url"
msgstr ""
#: View/Errors/error500.ctp:8
msgid "Error"
msgstr ""
#: View/Errors/error500.ctp:9
msgid "An Internal Error Has Occurred."
msgstr ""
#: View/Layouts/error.ctp:19
msgid "CakePHP: the rapid development php framework"
msgstr ""
#: webroot/test.php:93
msgid "Debug setting does not allow access to this url."
msgstr ""

View File

@ -0,0 +1,141 @@
<?php
/*
*
*/
?>
<div class="box">
<?php
echo $this->Form->create('DreamjobJobOpening',$default_Form);
?>
<fieldset>
<legend>
<?php
/*
<c:choose>
<c:when test="${empty opening.id}">
<spring:message code="dreamjob.opening"/>
</c:when>
<c:otherwise>
<c:out value="${opening.title}"/>
</c:otherwise>
</c:choose>
*/
echo $this->request->data['DreamjobJobOpening']['title'];
?>
</legend>
<?php echo $this->Form->input('DreamjobJobOpening.title',array('label'=>__("dreamjob.title"))); ?>
<div class="form-group">
<spring:message code="" var="msg_dreamjob_title"/>
<form:label for="title" path="title" class="col-lg-3 control-label" cssErrorClass="has-error">${msg_dreamjob_title}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="title" placeholder="${msg_dreamjob_title}"/>
<form:errors cssClass="has-error" path="title"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.startdate',array('label'=>__("dreamjob.opening.startdate"))); ?>
<div class="form-group">
<spring:message code="dreamjob.opening.startdate" var="msg_dreamjob_opening_startdate"/>
<form:label for="startdate" path="startdate" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_opening_startdate}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="startdate" placeholder="${msg_dreamjob_opening_startdate}"/>
<form:errors cssClass="has-error" path="startdate"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.enddate'); ?>
<div class="form-group">
<spring:message code="dreamjob.opening.enddate" var="msg_dreamjob_opening_enddate"/>
<form:label for="enddate" path="enddate" class="col-lg-3 control-label" cssErrorClass="has-error">${msg_dreamjob_opening_enddate}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="enddate" placeholder="${msg_dreamjob_opening_enddate}"/>
<form:errors cssClass="has-error" path="enddate"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.kindofjob'); ?>
<div class="form-group">
<spring:message code="dreamjob.kindofjob" var="msg_dreamjob_kindofjob"/>
<form:label for="kindofjob" path="kindofjob" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_kindofjob}</form:label>
<div class="col-lg-9">
<form:select class="form-control" path="kindofjob">
<option value="-1">--- Select ---</option>
<form:options items="${kindofjobList}" itemLabel="name"/>
</form:select>
<form:errors cssClass="has-error" path="kindofjob"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.graducation'); ?>
<div class="form-group">
<spring:message code="dreamjob.graducation" var="msg_dreamjob_graducation"/>
<form:label for="graducation" path="graducation" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_graducation}</form:label>
<div class="col-lg-9">
<form:select class="form-control" path="graducation">
<option value="-1">--- Select ---</option>
<form:options items="${graducationList}" itemLabel="name"/>
</form:select>
<form:errors cssClass="has-error" path="graducation"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.branch'); ?>
<div class="form-group">
<spring:message code="dreamjob.branch" var="msg_dreamjob_branch"/>
<form:label for="branch" path="branch" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_branch}</form:label>
<div class="col-lg-9">
<form:select class="form-control" path="branch">
<option value="-1">--- Select ---</option>
<form:options items="${branchList}" itemLabel="name" itemValue="name"/>
</form:select>
<form:errors cssClass="has-error" path="branch"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.active'); ?>
<div class="form-group">
<div class="col-lg-offset-3 col-lg-9">
<div class="checkbox">
<form:label cssErrorClass="has-error" path="active">
<form:checkbox path="active"/>
<spring:message code="dreamjob.active"/>
</form:label>
</div>
<form:errors cssClass="has-error" path="active"/>
</div>
</div>
<legend><spring:message code="dreamjob.address"/></legend>
<?php echo $this->Form->input('DreamjobJobOpening.street'); ?>
<div class="form-group">
<spring:message code="dreamjob.street" var="msg_dreamjob_street"/>
<form:label for="street" path="street" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_street}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="street" placeholder="${msg_dreamjob_street}"/>
<form:errors cssClass="has-error" path="street"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.postcode'); ?>
<div class="form-group">
<spring:message code="dreamjob.postcode" var="msg_dreamjob_postcode"/>
<form:label for="postcode" path="postcode" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_postcode}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="postcode" placeholder="${msg_dreamjob_postcode}"/>
<form:errors cssClass="has-error" path="postcode"/>
</div>
</div>
<?php echo $this->Form->input('DreamjobJobOpening.city'); ?>
<div class="form-group">
<spring:message code="dreamjob.city" var="msg_dreamjob_city"/>
<form:label for="city" path="city" cssErrorClass="has-error" class="col-lg-3 control-label">${msg_dreamjob_city}</form:label>
<div class="col-lg-9">
<form:input class="form-control" type="text" path="city" placeholder="${msg_dreamjob_city}"/>
<form:errors cssClass="has-error" path="city"/>
</div>
</div>
<legend><spring:message code="dreamjob.text"/></legend>
<?php echo $this->Form->input('DreamjobJobOpening.text'); ?>
<div class="form-group">
<form:textarea class="form-control" path="text" placeholder="${msg_dreamjob_text}" rows="10"></form:textarea>
</div>
<div class="form-group">
<div class="col-lg-offset-3 col-lg-9">
<button type="submit" class="btn btn-default"><spring:message code='dreamjob.save'/></button>
</div>
</div>
</fieldset>
<?php echo $this->Form->end(); ?>
</div>