Commit 108898ca authored by Simon's avatar Simon

insightly update

parent 56bba840
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 11:11+0000\n"
"PO-Revision-Date: 2019-05-31 11:49+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Latvian\n"
"Language: lv\n"
"Plural-Forms: nplurals=3; plural=n % 10 == 1 && n % 100 != 11 ? 0 : n != 0 ? "
"1 : 2;\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.2.1"
#. Name of the template
msgid "Regions page"
msgstr "Regions page"
#. Name of the template
msgid "Divisions page"
msgstr "Divisions page"
#: page-divisions.php:70
msgid "All"
msgstr "Visi"
#: header.php:139
msgid "Get an offer"
msgstr "Saņemiet piedāvājumu"
#: header.php:157 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Saņemiet darba piedāvājumu"
#: searchform.php:114
msgid "Locations"
msgstr "Atrašanās vieta"
#: searchform.php:230
msgid "Keyword"
msgstr "Atslēgvārds"
#: searchform.php:238
msgid "Search"
msgstr "Meklēt"
#: front-page.php:43
msgid "Recent job ads"
msgstr "Jaunākie darba sludinājumi"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr "Vairāk darba sludinājumu"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Kompānijas, kuras mums uzticas"
#. Name of the template
msgid "Sales page"
msgstr "Sales page"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Atvainojiet, lapa, kuru meklējat, nepastāv!"
#: 404.php:27
msgid "Return to homepage"
msgstr "Atgriezties sākumlapā"
#. Name of the template
msgid "VDB page"
msgstr "VDB page"
#: page-vasaros-darbu-bankas.php:30
msgid ""
"Find summer job – look through the job ads, we are constantly updating the "
"list and adding new ones."
msgstr ""
"Find summer job – look through the job ads, we are constantly updating the "
"list and adding new ones."
#: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "Other filters"
msgstr "Citi filtri"
#: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199
msgid "Didn't find a job offer you like?"
msgstr "Vai neatradāt sev vēlamo darba piedāvājumu?"
#: page-vasaros-darbu-bankas.php:172
#: template-parts/layout/aside-job-list.php:201
msgid "Fill out the form and we will contact you"
msgstr "Aizpildiet pieteikuma formu un mēs sazināsimies ar Jums!"
#: page-vasaros-darbu-bankas.php:196
msgid "900"
msgstr "900"
#: page-vasaros-darbu-bankas.php:197
msgid ""
"This is how many people we employed during summer at 2018.<br/>Join us this "
"summer!"
msgstr ""
"This is how many people we employed during summer at 2018.<br/>Join us this "
"summer!"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Search & Jobs page"
#: single-job.php:48
msgid "Salary from"
msgstr "Alga no "
#: single-job.php:54
msgid "Salary to"
msgstr "Alga līdz"
#: single-job.php:66
msgid "Published"
msgstr "Publicēts"
#: single-job.php:68
msgid "Valid till"
msgstr "Derīgs līdz"
#: single-job.php:75
msgid "Apply"
msgstr "Lietot"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Darba sludinājums ir neaktīvs"
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr "Darba pozīcija"
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr "Es domāju, ka jums varētu patikt šis darba piedāvājums"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Ieteikt draugam"
#: template-parts/layout/aside-job-list.php:144
msgid "More ..."
msgstr "Vairāk ..."
#: template-parts/layout/aside-job-list.php:168
msgid "City"
msgstr "Pilsēta"
#: template-parts/layout/aside-job-list.php:172
msgid "Job area"
msgstr "Darba joma"
#: template-parts/layout/aside-job-list.php:176
msgid "Job type"
msgstr "Darba veids"
#: template-parts/layout/aside-job-list.php:185
msgid "Reset filters"
msgstr "Atiestatīt filtrus"
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr "Meklēšanas rezultāti netika atrasti."
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr "Pašlaik nav darba sludinājumu."
#. Name of the theme
#. Author of the theme
msgid "Biuro"
msgstr "Biuro"
#. Description of the theme
msgid "Biuro multiregion theme"
msgstr "Biuro multiregion theme"
#. Author URI of the theme
msgid "https://www.biuro.lt/"
msgstr "https://www.biuro.lv"
......@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 11:11+0000\n"
"PO-Revision-Date: 2019-05-31 11:49+0000\n"
"PO-Revision-Date: 2019-06-09 14:04+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Latvian\n"
"Language: lv\n"
......@@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.2.1"
"X-Loco-Version: 2.3.0; wp-5.2.1"
#. Name of the template
msgid "Regions page"
......@@ -58,7 +58,7 @@ msgstr "Vairāk darba sludinājumu"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Kompānijas, kuras mums uzticas"
msgstr "Uzticiet mums"
#. Name of the template
msgid "Sales page"
......
......@@ -52,6 +52,12 @@ class Biuro_Contacts_Public {
'position' => ['name', 'phone', 'email', 'city', 'city_id', 'message', 'confirm', 'job_id']
];
const BIURO_INSIGHTLY =[
1 => 'Biuro Lithuania',
2 => 'Biuro Latvia',
3 => 'Biuro Estonia',
];
/**
* Initialize the class and set its properties.
*
......@@ -468,9 +474,9 @@ class Biuro_Contacts_Public {
$insert_id = static::insert_row_to_db($data, array( '%s', '%s', '%s', '%s', '%s' ), 'biuro_employers');
static::sendEmail( static::emailContent($data['name'], 'Biuro Lithuania', $data['phone'], $data['email']), $data['name']);
static::sendEmail( static::emailContent($data['name'], static::BIURO_INSIGHTLY[get_current_blog_id()], $data['phone'], $data['email']), $data['name']);
$return = static::sendPost($data['name'], 'Biuro Lithuania', $data['phone'], $data['email']);
$return = static::sendPost($data['name'], static::BIURO_INSIGHTLY[get_current_blog_id()], $data['phone'], $data['email']);
if ($return['LEAD_ID']):
static::update_row_in_db(['lead_id' => $return['LEAD_ID']], $insert_id, ['%d'] , 'biuro_employers');
......@@ -497,10 +503,10 @@ class Biuro_Contacts_Public {
$employerData = static::fetchRow($_SESSION['employers--id'], 'biuro_employers');
static::sendEmail( static::emailContent($employerData['name'], 'Biuro Lithuania', $employerData['phone'], $employerData['email'], $data['company'], $data['message']), $employerData['name'] );
static::sendEmail( static::emailContent($employerData['name'], static::BIURO_INSIGHTLY[get_current_blog_id()], $employerData['phone'], $employerData['email'], $data['company'], $data['message']), $employerData['name'] );
if ($employerData['lead_id']):
$return = static::curlPut($employerData['lead_id'], $employerData['name'], 'Biuro Lithuania', $employerData['phone'], $employerData['email'], $data['company'], $data['message']);
$return = static::curlPut($employerData['lead_id'], $employerData['name'], static::BIURO_INSIGHTLY[get_current_blog_id()], $employerData['phone'], $employerData['email'], $data['company'], $data['message']);
endif;
$_SESSION['employers--s'] = 2;
......
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