Commit fc6e8c18 authored by Simonas's avatar Simonas

Merge branch 'release-1.5.0'

parents 97d21047 811656d5
{ {
"presets": ["@babel/preset-env"] "presets": ["@babel/preset-env"],
// "presets": [
// [
// "@babel/preset-env", {
// "targets": {
// "chrome": "58",
// "ie": "11"
// },
// // "targets": {
// // "node": "current",
// // // "chrome": 66,
// // // "firefox": 60,
// // "ie": 11,
// // },
// "useBuiltIns": "entry",
// "corejs": "3",
// }
// ]
// ],
// "plugins": [
// // [
// // "@babel/plugin-transform-runtime", {
// // "absoluteRuntime": true,
// // "corejs": true,
// // "helpers": true,
// // "regenerator": true,
// // "useESModules": true
// // }
// // ]
// ]
"plugins": [
// ["@babel/plugin-transform-runtime",
// {
// "regenerator": true
// }
// ],
"@babel/plugin-syntax-dynamic-import",
// "@babel/plugin-transform-arrow-functions"
]
} }
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
## Production ## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build` - build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.4.5 .` (update version number) - build new image `docker build -t biuro/web:1.5.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs` - login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.4.5` - push image to docker repository - `docker push biuro/web:1.5.0`
## Production ## Production
- update biuro/web image version in .env file (staging or www) - update biuro/web image version in .env file (staging or www)
......
...@@ -168,7 +168,7 @@ services: ...@@ -168,7 +168,7 @@ services:
# - wp-init.sh # - wp-init.sh
command: > command: >
/bin/sh -c ' /bin/sh -c '
sleep 60; sleep 30;
echo "WP CLI init"; echo "WP CLI init";
wp core update --force; wp core update --force;
...@@ -185,11 +185,11 @@ services: ...@@ -185,11 +185,11 @@ services:
wp plugin install pods --version=2.7.12 --activate-network; wp plugin install pods --version=2.7.12 --activate-network;
# wp plugin update pods --version=2.7.12; # wp plugin update pods --version=2.7.12;
wp plugin install polylang --version=2.5.4; wp plugin install polylang --version=2.6 --activate-network;
# wp plugin update polylang --version=2.5.4; # wp plugin update polylang --version=2.6;
wp plugin install wordpress-seo --version=11.4 --activate-network; wp plugin install wordpress-seo --version=11.5 --activate-network;
# wp plugin update wordpress-seo --version=11.4; # wp plugin update wordpress-seo --version=11.5;
wp plugin update akismet --version=4.1.2; wp plugin update akismet --version=4.1.2;
wp plugin uninstall hello; wp plugin uninstall hello;
......
...@@ -25,6 +25,18 @@ location /wp-json/api/v1/contacts { ...@@ -25,6 +25,18 @@ location /wp-json/api/v1/contacts {
auth_basic_user_file /etc/nginx/.htpasswd; auth_basic_user_file /etc/nginx/.htpasswd;
} }
location = /wp-admin/admin-post.php {
access_log /var/log/nginx/postdata.log postdata;
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass wordpress:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
location ~ \.php$ { location ~ \.php$ {
try_files $uri =404; try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_split_path_info ^(.+\.php)(/.+)$;
......
...@@ -62,6 +62,11 @@ http { ...@@ -62,6 +62,11 @@ http {
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; '"$http_user_agent" "$http_x_forwarded_for"';
log_format postdata '$remote_addr - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" "$gzip_ratio" $request_time "$request_body"';
# Log access to this file # Log access to this file
# This is only used when you don't override it on a server{} level # This is only used when you don't override it on a server{} level
# Default: logs/access.log combined # Default: logs/access.log combined
...@@ -157,6 +162,8 @@ http { ...@@ -157,6 +162,8 @@ http {
font/woff2 "*"; font/woff2 "*";
} }
client_max_body_size 10M;
# Include files in the conf.d folder. # Include files in the conf.d folder.
# server{} configuration files should be placed in the conf.d folder. # server{} configuration files should be placed in the conf.d folder.
# The configurations should be disabled by prefixing files with a dot. # The configurations should be disabled by prefixing files with a dot.
......
This diff is collapsed.
{ {
"name": "biuro", "name": "biuro",
"version": "1.4.5", "version": "1.5.0",
"description": "Biuro WP theme", "description": "Biuro WP theme",
"scripts": { "scripts": {
"dev": "gulp --require @babel/register --gulpfile tasks", "dev": "gulp --require @babel/register --gulpfile tasks",
...@@ -9,25 +9,24 @@ ...@@ -9,25 +9,24 @@
"private": true, "private": true,
"author": "Biuro", "author": "Biuro",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.4.4", "@babel/core": "^7.4.5",
"@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-arrow-functions": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4", "@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4", "@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.4.4", "@babel/register": "^7.4.4",
"@babel/runtime": "^7.4.4", "@babel/runtime": "^7.4.5",
"autoprefixer": "^9.5.1", "autoprefixer": "^9.6.0",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"browser-sync": "^2.26.5", "browser-sync": "^2.26.7",
"connect-modrewrite": "^0.10.2", "connect-modrewrite": "^0.10.2",
"css-mqpacker": "^7.0.0", "css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"del": "^4.1.1", "del": "^4.1.1",
"eslint": "^5.16.0", "eslint": "^6.0.1",
"eslint-config-standard": "^12.0.0", "eslint-config-standard": "^12.0.0",
"eslint-config-standard-preact": "^1.1.6", "eslint-plugin-import": "^2.18.0",
"eslint-plugin-import": "^2.17.2", "eslint-plugin-node": "^9.1.0",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-promise": "^4.1.1", "eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0", "eslint-plugin-standard": "^4.0.0",
"glob": "^7.1.4", "glob": "^7.1.4",
...@@ -41,8 +40,7 @@ ...@@ -41,8 +40,7 @@
"gulp-replace": "^1.0.0", "gulp-replace": "^1.0.0",
"gulp-rev": "^9.0.0", "gulp-rev": "^9.0.0",
"gulp-sourcemaps": "^2.6.5", "gulp-sourcemaps": "^2.6.5",
"http2": "^3.3.7", "postcss": "^7.0.17",
"postcss": "^7.0.16",
"postcss-browser-reporter": "^0.6.0", "postcss-browser-reporter": "^0.6.0",
"postcss-critical-split": "^2.5.3", "postcss-critical-split": "^2.5.3",
"postcss-custom-media": "^7.0.8", "postcss-custom-media": "^7.0.8",
...@@ -52,19 +50,16 @@ ...@@ -52,19 +50,16 @@
"postcss-preset-env": "^6.6.0", "postcss-preset-env": "^6.6.0",
"postcss-reporter": "^6.0.1", "postcss-reporter": "^6.0.1",
"precss": "^4.0.0", "precss": "^4.0.0",
"stylelint": "^10.0.1", "stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0", "stylelint-config-standard": "^18.3.0",
"webpack": "^4.31.0", "webpack": "^4.35.0",
"webpack-bundle-analyzer": "^3.3.2", "webpack-bundle-analyzer": "^3.3.2",
"webpack-dev-middleware": "^3.6.2", "webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "^2.24.4", "webpack-hot-middleware": "^2.25.0",
"write-file-webpack-plugin": "^4.3.2" "write-file-webpack-plugin": "^4.3.2"
}, },
"dependencies": { "dependencies": {
"npm": "^6.9.0", "core-js": "^3.1.4",
"preact": "^8.3.1", "npm": "^6.9.0"
"preact-async-route": "^2.2.1", }
"preact-router": "^2.6.1"
},
"browserslist": "last 2 versions, ie 11"
} }
...@@ -7,8 +7,8 @@ export default { ...@@ -7,8 +7,8 @@ export default {
name: 'biuro', name: 'biuro',
isProduction: ENV === 'production', isProduction: ENV === 'production',
certs: { certs: {
key: 'certs/biuro.lt/private.key', key: 'certs/private.key',
cert: 'certs/biuro.lt/certificate.crt' cert: 'certs/fullchain.pem'
}, },
proxy: 'https://dev.biuro.lt' proxy: 'https://dev.biuro.lt'
}; };
import gulp from 'gulp'; import gulp from 'gulp';
import browser from 'browser-sync'; import browser from 'browser-sync';
import webpack from 'webpack'; import webpack from 'webpack';
import http2 from 'http2'; // import http2 from 'http2';
import webpackDevMiddleware from 'webpack-dev-middleware'; import webpackDevMiddleware from 'webpack-dev-middleware';
......
...@@ -14,14 +14,20 @@ let config = { ...@@ -14,14 +14,20 @@ let config = {
entry: conf.isProduction ? { entry: conf.isProduction ? {
main: [ main: [
// './source/js/main' // './source/js/main'
`./wp-content/themes/${conf.name}/js/main`, `./wp-content/themes/${conf.name}/js/main`
] ]
// autocomplete: `./wp-content/themes/${conf.name}/js/components/autocomplete`,
} : { } : {
main: [ main: [
`./wp-content/themes/${conf.name}/js/main`, `./wp-content/themes/${conf.name}/js/main`,
'webpack/hot/dev-server', 'webpack/hot/dev-server',
'webpack-hot-middleware/client' 'webpack-hot-middleware/client'
] ]
// autocomplete: [
// `./wp-content/themes/${conf.name}/js/components/autocomplete`,
// 'webpack/hot/dev-server',
// 'webpack-hot-middleware/client'
// ]
}, },
// devServer: { // devServer: {
...@@ -40,17 +46,18 @@ let config = { ...@@ -40,17 +46,18 @@ let config = {
test: /\.js?$/, test: /\.js?$/,
exclude: /node_modules/, exclude: /node_modules/,
use: { use: {
loader: 'babel-loader', loader: 'babel-loader'
options: { // options: {
presets: ['@babel/preset-env'] // presets: ['@babel/preset-env'],
} // plugins: ['@babel/plugin-syntax-dynamic-import']
// }
} }
}] }]
}, },
output: { output: {
filename: `wp-content/themes/${conf.name}/js/[name]${conf.isProduction ? '-[hash:8]' : ''}.min.js`, filename: `wp-content/themes/${conf.name}/js/[name]${conf.isProduction ? '-[hash:8]' : ''}.min.js`,
chunkFilename: `wp-content/themes/${conf.name}/js/components/${conf.isProduction ? '-[hash:8]' : ''}.min.js`, chunkFilename: `wp-content/themes/${conf.name}/js/components/[name]${conf.isProduction ? '-[hash:8]' : ''}.min.js`,
path: path.resolve(__dirname, '../'), path: path.resolve(__dirname, '../'),
publicPath: '/' publicPath: '/'
}, },
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-01 19:14+0000\n"
"PO-Revision-Date: 2019-05-01 19:17+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: German\n"
"Language: de_DE\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.1.1"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr "Dieses Feld wird benötigt"
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr "Telefon oder E-Mail-Feld ist erforderlich"
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr "Falsche Telefonnummer"
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr "E-Mail- oder Telefonfeld ist erforderlich"
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr "Das E-Mail-Format ist falsch"
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr "Sie müssen den Bedingungen zustimmen"
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:98
msgid "City"
msgstr "Stadt"
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:105
#: public/partials/biuro-contacts-public--employers--step-2.php:30
msgid "Message"
msgstr "Nachricht"
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:112
msgid "CV"
msgstr "CV anhängen"
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr "Schicken"
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
#: public/partials/biuro-contacts-public--employers--step-1.php:41
msgid "Name, surname"
msgstr "Name, Nachname"
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
#: public/partials/biuro-contacts-public--employers--step-1.php:53
msgid "Phone no."
msgstr "Telefon"
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:65
#: public/partials/biuro-contacts-public--employers--step-1.php:65
msgid "Email address"
msgstr "E-Mail Adresse"
#: public/partials/biuro-contacts-public--position--step-2.php:121
#: public/partials/biuro-contacts-public--employees--step-1.php:85
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
"Ich bin damit einverstanden, dass meine persönlichen Daten verwendet werden, "
"um mir einen Job anzubieten. Ausführliche Informationen finden <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Sie in unserer Datenschutzerklärung.</a>"
#: public/partials/biuro-contacts-public--position--step-2.php:132
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr "Sich bewerben"
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr "Danke dir! Ihre Daten wurden erfolgreich gesendet."
#: public/partials/biuro-contacts-public--position.php:65
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
msgid "OK"
msgstr "OK"
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr "Vielen Dank, wir haben erfolgreich Daten über Sie erhalten."
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
"Sie können Informationen über sich selbst hinzufügen, indem Sie eine Stadt, "
"eine Nachricht oder einen Lebenslauf hinzufügen"
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr "Danke dir! Die Informationen wurden erfolgreich ergänzt."
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr "Vielen Dank für Ihre Kontaktaufnahme!"
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr ""
"Ihre Anfrage wurde erfolgreich versendet, wir werden uns mit Ihnen in "
"Verbindung setzen."
#: public/partials/biuro-contacts-public--employers--step-1.php:85
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
"Ich bin damit einverstanden, dass meine persönlichen Daten im Rahmen der "
"vorvertraglichen Beziehung zur Kommunikation verwendet werden. Ausführliche "
"Informationen finden Sie in unserer <a href=\"https://biuro.eu/privacy-en."
"html\" target=\"_blank\" rel=\"noopener\"> Datenschutzerklärung.</a>\n"
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Unternehmen"
#. Name of the plugin
msgid "Biuro Contacts"
msgstr "Biuro Contacts"
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.lt"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-02 11:49+0000\n"
"PO-Revision-Date: 2019-05-02 11:49+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: \n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.1.1"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:98
msgid "City"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:105
#: public/partials/biuro-contacts-public--employers--step-2.php:30
msgid "Message"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:112
msgid "CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
#: public/partials/biuro-contacts-public--employers--step-1.php:41
msgid "Name, surname"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
#: public/partials/biuro-contacts-public--employers--step-1.php:53
msgid "Phone no."
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:65
#: public/partials/biuro-contacts-public--employers--step-1.php:65
msgid "Email address"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:121
#: public/partials/biuro-contacts-public--employees--step-1.php:85
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:132
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr ""
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr ""
#: public/partials/biuro-contacts-public--position.php:65
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
msgid "OK"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:85
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr ""
#. Author of the plugin
msgid "Biuro"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-30 14:01+0000\n"
"PO-Revision-Date: 2019-05-30 14:01+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: \n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:107
#: public/partials/biuro-contacts-public--employees--step-2.php:30
msgid "Message"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:47
#: public/partials/biuro-contacts-public--employers--step-1.php:80
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:80
msgid "Submit"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
#: public/partials/biuro-contacts-public--position.php:65
msgid "OK"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
msgid "Name, surname"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:53
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
msgid "Phone no."
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:67
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:67
msgid "Email address"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:87
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:98
#: public/partials/biuro-contacts-public--employees--step-2.php:23
msgid "City"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:114
#: public/partials/biuro-contacts-public--employees--step-2.php:37
msgid "CV"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:123
#: public/partials/biuro-contacts-public--employees--step-1.php:87
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:134
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr ""
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr ""
#. Author of the plugin
msgid "Biuro"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 12:11+0000\n"
"PO-Revision-Date: 2019-06-18 05:05+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Estonian\n"
"Language: et\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.3.0; wp-5.2.1"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr "Selle välja täitmine on kohustuslik"
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr "E-posti või telefoni väli on vajalik"
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr "Telefoni number ei ole korrektne"
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr "E-posti või telefoni väli on vajalik"
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr "E-posti formaat on vale"
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr "Te peate tingimustega nõustuma"
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Ettevõte"
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:107
#: public/partials/biuro-contacts-public--employees--step-2.php:30
msgid "Message"
msgstr "Sõnum"
#: public/partials/biuro-contacts-public--employers--step-2.php:47
#: public/partials/biuro-contacts-public--employers--step-1.php:80
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:80
msgid "Submit"
msgstr "Esita"
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr "Täname teid, oleme edukalt teie kohta andmeid saanud."
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr "Saate lisada teavet enda kohta, lisades linna, sõnumi või CV'd."
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
#: public/partials/biuro-contacts-public--position.php:65
msgid "OK"
msgstr "OK"
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr "Aitäh! Teie andmed on edukalt saadetud."
#: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
msgid "Name, surname"
msgstr "Nimi, Perekonnanimi"
#: public/partials/biuro-contacts-public--employers--step-1.php:53
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
msgid "Phone no."
msgstr "Telefoni number"
#: public/partials/biuro-contacts-public--employers--step-1.php:67
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:67
msgid "Email address"
msgstr "E-post"
#: public/partials/biuro-contacts-public--employers--step-1.php:87
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
"Olen nõus, et minu isikuandmeid kasutatakse lepingueelsete suhete ajal "
"suhtlemiseks. Üksikasjalikuma teabe saamiseks vaadake meie <a href=\"https:"
"//biuro.eu/privacy-ee.html\" target=\"_blank\" rel=\"noopener\"> "
"isikuandmete kaitse poliitikat. </a>"
#: public/partials/biuro-contacts-public--position--step-2.php:98
#: public/partials/biuro-contacts-public--employees--step-2.php:23
msgid "City"
msgstr "Linn"
#: public/partials/biuro-contacts-public--position--step-2.php:114
#: public/partials/biuro-contacts-public--employees--step-2.php:37
msgid "CV"
msgstr "Lisa CV"
#: public/partials/biuro-contacts-public--position--step-2.php:123
#: public/partials/biuro-contacts-public--employees--step-1.php:87
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
"Olen nõus, et minu isikuandmeid kasutatakse mulle töö pakkumiseks. "
"Üksikasjalikuma teabe saamiseks vaadake meie <a href=\"https://biuro."
"eu/privacy-ee.html\" target=\"_blank\" rel=\"noopener\"> isikuandmete kaitse "
"poliitikat. </a>"
#: public/partials/biuro-contacts-public--position--step-2.php:134
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr "Kandideeri"
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr "Täname Teid!"
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr "Teie taotlus on edukalt saadetud, võtame Teiega ühendust."
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr "Aitäh! Teie andmed on edukalt saadetud."
#. Name of the plugin
msgid "Biuro Contacts"
msgstr "Biuro Kontaktid"
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.ee"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
...@@ -3,7 +3,7 @@ msgstr "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro Contacts\n" "Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 12:11+0000\n" "POT-Creation-Date: 2019-05-31 12:11+0000\n"
"PO-Revision-Date: 2019-05-31 12:21+0000\n" "PO-Revision-Date: 2019-06-18 06:26+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Estonian\n" "Language-Team: Estonian\n"
"Language: et\n" "Language: et\n"
...@@ -12,7 +12,7 @@ msgstr "" ...@@ -12,7 +12,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\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"
#: public/class-biuro-contacts-public.php:151 #: public/class-biuro-contacts-public.php:151
msgid "This field is required" msgid "This field is required"
...@@ -24,10 +24,7 @@ msgstr "E-posti või telefoni väli on vajalik" ...@@ -24,10 +24,7 @@ msgstr "E-posti või telefoni väli on vajalik"
#: public/class-biuro-contacts-public.php:173 #: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number" msgid "Incorrect phone number"
msgstr "" msgstr "Telefoni number ei ole korrektne"
"\n"
"22/5000\n"
"Vale telefoninumber"
#: public/class-biuro-contacts-public.php:183 #: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required" msgid "Email or phone field is required"
...@@ -56,7 +53,7 @@ msgstr "Sõnum" ...@@ -56,7 +53,7 @@ msgstr "Sõnum"
#: public/partials/biuro-contacts-public--employees--step-2.php:45 #: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:80 #: public/partials/biuro-contacts-public--employees--step-1.php:80
msgid "Submit" msgid "Submit"
msgstr "Saada" msgstr "Esita"
#: public/partials/biuro-contacts-public--employees.php:56 #: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you." msgid "Thank You, we have successfully received data about you."
...@@ -64,7 +61,7 @@ msgstr "Täname teid, oleme edukalt teie kohta andmeid saanud." ...@@ -64,7 +61,7 @@ msgstr "Täname teid, oleme edukalt teie kohta andmeid saanud."
#: public/partials/biuro-contacts-public--employees.php:57 #: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV" msgid "You can add information about yourself by adding a city, message or CV"
msgstr "Saate lisada teavet enda kohta, lisades linna, sõnumi või CV" msgstr "Saate lisada teavet enda kohta, lisades linna, sõnumi või CV'd."
#: public/partials/biuro-contacts-public--employees.php:58 #: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91 #: public/partials/biuro-contacts-public--employees.php:91
...@@ -72,12 +69,12 @@ msgstr "Saate lisada teavet enda kohta, lisades linna, sõnumi või CV" ...@@ -72,12 +69,12 @@ msgstr "Saate lisada teavet enda kohta, lisades linna, sõnumi või CV"
#: public/partials/biuro-contacts-public--employers.php:90 #: public/partials/biuro-contacts-public--employers.php:90
#: public/partials/biuro-contacts-public--position.php:65 #: public/partials/biuro-contacts-public--position.php:65
msgid "OK" msgid "OK"
msgstr "Okei" msgstr "OK"
#: public/partials/biuro-contacts-public--employees.php:90 #: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89 #: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented." msgid "Thank You! The information has been successfully supplemented."
msgstr "Thank You! The information has been successfully supplemented." msgstr "Aitäh! Teie andmed on edukalt saadetud."
#: public/partials/biuro-contacts-public--employers--step-1.php:41 #: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:60 #: public/partials/biuro-contacts-public--position--step-2.php:60
...@@ -134,7 +131,7 @@ msgstr "" ...@@ -134,7 +131,7 @@ msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:134 #: public/partials/biuro-contacts-public--position--step-2.php:134
#: public/partials/biuro-contacts-public--position--step-1.php:24 #: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply" msgid "Apply"
msgstr "Rakenda" msgstr "Kandideeri"
#: public/partials/biuro-contacts-public--employers.php:56 #: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!" msgid "Thank You for contacting!"
...@@ -142,11 +139,11 @@ msgstr "Täname Teid!" ...@@ -142,11 +139,11 @@ msgstr "Täname Teid!"
#: public/partials/biuro-contacts-public--employers.php:57 #: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You." msgid "You request was send successfully, we will contact You."
msgstr "Teie taotlus saadeti edukalt, võtame Teiega ühendust." msgstr "Teie taotlus on edukalt saadetud, võtame Teiega ühendust."
#: public/partials/biuro-contacts-public--position.php:64 #: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully." msgid "Thank You! Your data was send successfully."
msgstr "Aitäh! Teie andmed saadeti edukalt." msgstr "Aitäh! Teie andmed on edukalt saadetud."
#. Name of the plugin #. Name of the plugin
msgid "Biuro Contacts" msgid "Biuro Contacts"
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-01 18:13+0000\n"
"PO-Revision-Date: 2019-05-01 18:54+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt_LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 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.1.1"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr "Būtinas laukas"
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr "Telefono nr. arba el. paštas yra būtinas"
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr "Neteisingas tel. numeris"
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr "Telefono nr. arba el. paštas yra būtinas"
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr "Neteisingas el. pašto formatas."
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr "Kad galėtume susisiekti, turite sutikti su sąlygomis"
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:98
msgid "City"
msgstr "Miestas"
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:105
#: public/partials/biuro-contacts-public--employers--step-2.php:30
msgid "Message"
msgstr "Žinutė"
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:112
msgid "CV"
msgstr "Prisegti CV (neprivaloma)"
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-1.php:78
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr "Siųsti"
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
#: public/partials/biuro-contacts-public--employers--step-1.php:41
msgid "Name, surname"
msgstr "Vardas, pavardė"
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
#: public/partials/biuro-contacts-public--employers--step-1.php:53
msgid "Phone no."
msgstr "Telefonas"
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:65
#: public/partials/biuro-contacts-public--employers--step-1.php:65
msgid "Email address"
msgstr "El. paštas"
#: public/partials/biuro-contacts-public--position--step-2.php:121
#: public/partials/biuro-contacts-public--employees--step-1.php:85
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
"Sutinku, kad mano asmens duomenys būtų tvarkomi pateikti darbo pasiūlymus. "
"Išsamią informaciją rasite <a href=\"https://biuro.eu/privacy-lt.html\" "
"target=\"_blank\" rel=\"noopener\">Asmens duomenų tvarkymo politikoje.</a>"
#: public/partials/biuro-contacts-public--position--step-2.php:132
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr "Kandidatuoti"
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr "Dėkojame! Informacija išsiųsta sėkmingai."
#: public/partials/biuro-contacts-public--position.php:65
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
msgid "OK"
msgstr "Gerai"
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr "Dėkojame, duomenis apie tave sėkmingai gavome. "
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
"Informaciją apie save gali papildyti pridėdamas miestą, žinutę arba CV."
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr "Dėkojame! Informacija papildyta sėkmingai."
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr "Dėkojame, kad kreipiatės! "
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr "Jūsų užklausa išsiųsta sėkmingai, su Jumis susisieksime."
#: public/partials/biuro-contacts-public--employers--step-1.php:85
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
"Sutinku, kad mano asmens duomenys būtų tvarkomi būtų tvarkomi komunikuojant "
"ikisutartiniuose santykiuose. Išsamią informaciją rasite <a href=\"https:"
"//biuro.eu/privacy-lt.html\" target=\"_blank\" rel=\"noopener\">Asmens "
"duomenų tvarkymo politikoje.</a>"
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Įmonė"
#. Name of the plugin
msgid "Biuro Contacts"
msgstr "Biuro Contacts"
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.lt"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-27 05:55+0000\n"
"PO-Revision-Date: 2019-06-27 05:55+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt_LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 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.3.0; wp-5.2.2"
#: public/partials/biuro-contacts-public--employees--step-1.php:42
#: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:65
msgid "Name, surname"
msgstr "Vardas, pavardė"
#: public/partials/biuro-contacts-public--employees--step-1.php:54
#: public/partials/biuro-contacts-public--employers--step-1.php:53
#: public/partials/biuro-contacts-public--position--step-2.php:78
msgid "Phone no."
msgstr "Telefonas"
#: public/partials/biuro-contacts-public--employees--step-1.php:68
#: public/partials/biuro-contacts-public--employers--step-1.php:67
#: public/partials/biuro-contacts-public--position--step-2.php:91
msgid "Email address"
msgstr "El. paštas"
#: public/partials/biuro-contacts-public--employees--step-1.php:88
#: public/partials/biuro-contacts-public--employees--step-2.php:63
#: public/partials/biuro-contacts-public--employees--step-2.php:67
#: public/partials/biuro-contacts-public--employers--step-1.php:80
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr "Siųsti"
#: public/partials/biuro-contacts-public--employees--step-1.php:113
#: public/partials/biuro-contacts-public--position--step-2.php:168
msgid ""
"We process your personal data to offer you jobs. More information at <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:103
msgid "City"
msgstr "Miestas"
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:132
msgid "Message"
msgstr "Žinutė"
#: public/partials/biuro-contacts-public--employees--step-2.php:52
#: public/partials/biuro-contacts-public--position--step-2.php:139
msgid "CV"
msgstr "Prisegti CV (neprivaloma)"
#: public/partials/biuro-contacts-public--employees.php:45
msgid "Thank You, we have successfully received data about you."
msgstr "Dėkojame, duomenis apie tave sėkmingai gavome. "
#: public/partials/biuro-contacts-public--employees.php:46
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
"Informaciją apie save gali papildyti pridėdamas miestą, žinutę arba CV."
#: public/partials/biuro-contacts-public--employees.php:47
#: public/partials/biuro-contacts-public--employees.php:83
#: public/partials/biuro-contacts-public--employers.php:47
#: public/partials/biuro-contacts-public--employers.php:68
#: public/partials/biuro-contacts-public--position.php:54
msgid "OK"
msgstr "Gerai"
#: public/partials/biuro-contacts-public--employees.php:82
#: public/partials/biuro-contacts-public--employers.php:67
msgid "Thank You! The information has been successfully supplemented."
msgstr "Dėkojame! Informacija papildyta sėkmingai."
#: public/partials/biuro-contacts-public--employers--step-1.php:102
msgid ""
"We process your personal data for service cooperation. More information at "
"<a href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" "
"rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Įmonė"
#: public/partials/biuro-contacts-public--employers.php:45
msgid "Thank You for contacting!"
msgstr "Dėkojame, kad kreipiatės! "
#: public/partials/biuro-contacts-public--employers.php:46
msgid "You request was send successfully, we will contact You."
msgstr ""
"Jūsų užklausa išsiųsta sėkmingai, su Jumis susisieksime. Galite papildyti "
"užklausą įrašydami įmonės pavadinimą ar žinutę."
#: public/partials/biuro-contacts-public--position--step-1.php:24
#: public/partials/biuro-contacts-public--position--step-2.php:175
msgid "Apply"
msgstr "Kandidatuoti"
#: public/partials/biuro-contacts-public--position.php:53
msgid "Thank You! Your data was send successfully."
msgstr "Dėkojame! Informacija išsiųsta sėkmingai."
#. Name of the plugin
msgid "Biuro Contacts"
msgstr "Biuro Contacts"
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.lt"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 11:13+0000\n"
"PO-Revision-Date: 2019-05-31 11:16+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"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Kompānijā "
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:107
#: public/partials/biuro-contacts-public--employees--step-2.php:30
msgid "Message"
msgstr "Ziņojums"
#: public/partials/biuro-contacts-public--employers--step-2.php:47
#: public/partials/biuro-contacts-public--employers--step-1.php:80
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:80
msgid "Submit"
msgstr "Nosūtīt"
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
#: public/partials/biuro-contacts-public--position.php:65
msgid "OK"
msgstr "Labi"
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr ""
#: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
msgid "Name, surname"
msgstr "Vārds, Uzvārds"
#: public/partials/biuro-contacts-public--employers--step-1.php:53
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
msgid "Phone no."
msgstr "Telefons"
#: public/partials/biuro-contacts-public--employers--step-1.php:67
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:67
msgid "Email address"
msgstr "E-pasts"
#: public/partials/biuro-contacts-public--employers--step-1.php:87
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:98
#: public/partials/biuro-contacts-public--employees--step-2.php:23
msgid "City"
msgstr "Pilsēta"
#: public/partials/biuro-contacts-public--position--step-2.php:114
#: public/partials/biuro-contacts-public--employees--step-2.php:37
msgid "CV"
msgstr "Pievienot CV"
#: public/partials/biuro-contacts-public--position--step-2.php:123
#: public/partials/biuro-contacts-public--employees--step-1.php:87
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-2.php:134
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr ""
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr ""
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.lv"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-30 14:01+0000\n"
"PO-Revision-Date: 2019-06-18 06:24+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Russian\n"
"Language: ru_RU\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
"n%10<=4 &&(n%100<10||n%100 >= 20)? 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.3.0; wp-5.2.1"
#: public/class-biuro-contacts-public.php:151
msgid "This field is required"
msgstr "Вы должны заполнить это поле"
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr "Требуется телефон или электронная почта"
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr "Неверный номер телефона"
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr "Требуется телефон или электронная почта"
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr "Неверный формат электронной почты"
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr "Вы должны согласиться с условиями"
#: public/partials/biuro-contacts-public--employers--step-2.php:23
msgid "Company"
msgstr "Компания"
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:107
#: public/partials/biuro-contacts-public--employees--step-2.php:30
msgid "Message"
msgstr "Сообщение"
#: public/partials/biuro-contacts-public--employers--step-2.php:47
#: public/partials/biuro-contacts-public--employers--step-1.php:80
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employees--step-1.php:80
msgid "Submit"
msgstr "Отправить"
#: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you."
msgstr "Спасибо, мы успешно получили ваши данные."
#: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV"
msgstr ""
"Вы можете добавить информацию о себе, добавив город, сообщение или резюме"
#: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91
#: public/partials/biuro-contacts-public--employers.php:58
#: public/partials/biuro-contacts-public--employers.php:90
#: public/partials/biuro-contacts-public--position.php:65
msgid "OK"
msgstr "Хорошо"
#: public/partials/biuro-contacts-public--employees.php:90
#: public/partials/biuro-contacts-public--employers.php:89
msgid "Thank You! The information has been successfully supplemented."
msgstr "Спасибо! Информация была успешно дополнена."
#: public/partials/biuro-contacts-public--employers--step-1.php:41
#: public/partials/biuro-contacts-public--position--step-2.php:60
#: public/partials/biuro-contacts-public--employees--step-1.php:41
msgid "Name, surname"
msgstr "Имя, Фамилия"
#: public/partials/biuro-contacts-public--employers--step-1.php:53
#: public/partials/biuro-contacts-public--position--step-2.php:73
#: public/partials/biuro-contacts-public--employees--step-1.php:53
msgid "Phone no."
msgstr "Телефон"
#: public/partials/biuro-contacts-public--employers--step-1.php:67
#: public/partials/biuro-contacts-public--position--step-2.php:86
#: public/partials/biuro-contacts-public--employees--step-1.php:67
msgid "Email address"
msgstr "Адрес электронной почты"
#: public/partials/biuro-contacts-public--employers--step-1.php:87
msgid ""
"I agree, that my personal data will be used for communicating during the pre-"
"contractual relationship. For more detailed information view our <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"Personal Data Protection Policy.</a>"
msgstr ""
"Я согласен, что мои личные данные будут использоваться для общения во время "
"преддоговорных отношений. Для более подробной информации просмотрите наше <a "
"href=\"https://biuro.eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">"
"политику защиты персональных данных.</a>"
#: public/partials/biuro-contacts-public--position--step-2.php:98
#: public/partials/biuro-contacts-public--employees--step-2.php:23
msgid "City"
msgstr "Город"
#: public/partials/biuro-contacts-public--position--step-2.php:114
#: public/partials/biuro-contacts-public--employees--step-2.php:37
msgid "CV"
msgstr "Приложить CV"
#: public/partials/biuro-contacts-public--position--step-2.php:123
#: public/partials/biuro-contacts-public--employees--step-1.php:87
msgid ""
"I agree, that my personal data will be used for offering me a job. For more "
"detailed information view our <a href=\"https://biuro.eu/privacy-en.html\" "
"target=\"_blank\" rel=\"noopener\">Personal Data Protection Policy.</a>"
msgstr ""
"Я согласен, что мои личные данные будут использованы для предложения работы. "
"Для более подробной информации просмотрите наше <a href=\"https://biuro."
"eu/privacy-en.html\" target=\"_blank\" rel=\"noopener\">политику защиты "
"персональных данных.</a>"
#: public/partials/biuro-contacts-public--position--step-2.php:134
#: public/partials/biuro-contacts-public--position--step-1.php:24
msgid "Apply"
msgstr "Подать заявку"
#: public/partials/biuro-contacts-public--employers.php:56
msgid "Thank You for contacting!"
msgstr "Спасибо за обращение!"
#: public/partials/biuro-contacts-public--employers.php:57
msgid "You request was send successfully, we will contact You."
msgstr ""
"Ваш запрос был успешно отправлен, мы свяжемся с Вами. Вы можете добавить в "
"свой запрос название компании или сообщение."
#: public/partials/biuro-contacts-public--position.php:64
msgid "Thank You! Your data was send successfully."
msgstr "Спасибо! Ваши данные были успешно отправлены."
#. Name of the plugin
msgid "Biuro Contacts"
msgstr "Biuro Contacts"
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr "https://www.biuro.ee"
#. Author of the plugin
msgid "Biuro"
msgstr "Biuro"
...@@ -3,7 +3,7 @@ msgstr "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro Contacts\n" "Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-30 14:01+0000\n" "POT-Creation-Date: 2019-05-30 14:01+0000\n"
"PO-Revision-Date: 2019-05-31 10:37+0000\n" "PO-Revision-Date: 2019-06-18 06:24+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Russian\n" "Language-Team: Russian\n"
"Language: ru_RU\n" "Language: ru_RU\n"
...@@ -13,7 +13,7 @@ msgstr "" ...@@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\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"
#: public/class-biuro-contacts-public.php:151 #: public/class-biuro-contacts-public.php:151
msgid "This field is required" msgid "This field is required"
...@@ -58,12 +58,12 @@ msgstr "Отправить" ...@@ -58,12 +58,12 @@ msgstr "Отправить"
#: public/partials/biuro-contacts-public--employees.php:56 #: public/partials/biuro-contacts-public--employees.php:56
msgid "Thank You, we have successfully received data about you." msgid "Thank You, we have successfully received data about you."
msgstr "Спасибо, мы успешно получили данные о вас." msgstr "Спасибо, мы успешно получили ваши данные."
#: public/partials/biuro-contacts-public--employees.php:57 #: public/partials/biuro-contacts-public--employees.php:57
msgid "You can add information about yourself by adding a city, message or CV" msgid "You can add information about yourself by adding a city, message or CV"
msgstr "" msgstr ""
"Вы можете добавить информацию о себе, добавив город, сообщение или резюме" "Вы можете дополнить информацию о себе, добавив город, сообщение или резюме"
#: public/partials/biuro-contacts-public--employees.php:58 #: public/partials/biuro-contacts-public--employees.php:58
#: public/partials/biuro-contacts-public--employees.php:91 #: public/partials/biuro-contacts-public--employees.php:91
...@@ -164,7 +164,7 @@ msgstr "" ...@@ -164,7 +164,7 @@ msgstr ""
#. URI of the plugin #. URI of the plugin
#. Author URI of the plugin #. Author URI of the plugin
msgid "https://www.biuro.lt" msgid "https://www.biuro.lt"
msgstr "https://www.biuro.lt" msgstr "https://www.biuro.ee"
#. Author of the plugin #. Author of the plugin
msgid "Biuro" msgid "Biuro"
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-04 13:05+0000\n"
"PO-Revision-Date: 2019-05-04 13:05+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: German\n"
"Language: de_DE\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.1.1"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Sorry, the page you are looking for does not exist!"
#: 404.php:27
msgid "Return to homepage"
msgstr "Zur Startseite zurückkehren"
#: single-job.php:48
msgid "Salary from"
msgstr "Gehalt von"
#: single-job.php:54
msgid "Salary to"
msgstr "Gehalt an"
#: single-job.php:66
msgid "Published"
msgstr "Veröffentlicht"
#: single-job.php:68
msgid "Valid till"
msgstr "Gültig bis"
#: single-job.php:75
msgid "Apply"
msgstr "Sich bewerben"
#: header.php:137
msgid "Get an offer"
msgstr "Erhalte ein Angebot"
#: header.php:155 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Erhalte ein Jobangebot"
#: front-page.php:43
msgid "Recent job ads"
msgstr "Aktuelle Stellenanzeigen"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr "Weitere Stellenanzeigen"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Sie vertrauen uns"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Search & Jobs page"
#: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Other filters"
msgstr "Andere suchfilter"
#. Name of the template
msgid "VDB page"
msgstr ""
#: 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 ""
#: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199
msgid "Didn't find a job offer you like?"
msgstr ""
#: 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 ""
#: page-vasaros-darbu-bankas.php:196
msgid "900"
msgstr ""
#: page-vasaros-darbu-bankas.php:197
msgid ""
"This is how many people we employed during summer at 2018.<br/>Join us this "
"summer!"
msgstr ""
#: searchform.php:114
msgid "Locations"
msgstr "Gebiet"
#: searchform.php:230
msgid "Keyword"
msgstr "Stichwort"
#: searchform.php:238
msgid "Search"
msgstr "Suche"
#. Name of the template
msgid "Sales page"
msgstr "Sales page"
#. Name of the template
msgid "Regions page"
msgstr "Regions-Seite"
#. Name of the template
msgid "Divisions page"
msgstr "Divisions page"
#: page-divisions.php:70
msgid "All"
msgstr "Alles"
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr ""
"Derzeit gibt es keine Stellenanzeigen in deutscher Sprache. Aber wir haben "
"Job-Anzeigen in <a href=\"https://www.biuro.lt/darbuotojams/darbo-"
"pasiulymai/\">litauischer Sprache - wählen.</a>"
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr "Es wurden keine Suchergebnisse gefunden."
#: template-parts/layout/aside-job-list.php:144
msgid "More ..."
msgstr "Mehr..."
#: template-parts/layout/aside-job-list.php:168
msgid "City"
msgstr "Stadt"
#: template-parts/layout/aside-job-list.php:172
msgid "Job area"
msgstr "Arbeitsbereich"
#: template-parts/layout/aside-job-list.php:176
msgid "Job type"
msgstr "Auftragstyp"
#: template-parts/layout/aside-job-list.php:185
msgid "Reset filters"
msgstr ""
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr "Berufliche Stellung"
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr "Ich denke, dass Ihnen dieses Stellenangebot gefallen könnte"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Für einen Freund vorschlagen"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Stellenanzeige ist inaktiv"
#. 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.lt/"
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 10:39+0000\n"
"PO-Revision-Date: 2019-06-11 12:43+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: English (United States)\n"
"Language: en_US\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.3.0; wp-5.2.1"
#. Name of the template
msgid "Regions page"
msgstr ""
#. Name of the template
msgid "Divisions page"
msgstr ""
#: page-divisions.php:70
msgid "All"
msgstr ""
#: header.php:139
msgid "Get an offer"
msgstr ""
#: header.php:157 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr ""
#: searchform.php:114
msgid "Locations"
msgstr "Location"
#: searchform.php:230
msgid "Keyword"
msgstr ""
#: searchform.php:238
msgid "Search"
msgstr ""
#: front-page.php:43
msgid "Recent job ads"
msgstr ""
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr ""
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Trust in us"
#. Name of the template
msgid "Sales page"
msgstr ""
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr ""
#: 404.php:27
msgid "Return to homepage"
msgstr ""
#. Name of the template
msgid "VDB page"
msgstr ""
#: 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 ""
#: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "Other filters"
msgstr ""
#: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199
msgid "Didn't find a job offer you like?"
msgstr ""
#: 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 ""
#: page-vasaros-darbu-bankas.php:196
msgid "900"
msgstr ""
#: page-vasaros-darbu-bankas.php:197
msgid ""
"This is how many people we employed during summer at 2018.<br/>Join us this "
"summer!"
msgstr ""
#. Name of the template
msgid "Search & Jobs page"
msgstr ""
#: single-job.php:48
msgid "Salary from"
msgstr ""
#: single-job.php:54
msgid "Salary to"
msgstr ""
#: single-job.php:66
msgid "Published"
msgstr ""
#: single-job.php:68
msgid "Valid till"
msgstr ""
#: single-job.php:75
msgid "Apply"
msgstr ""
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr ""
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr ""
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr ""
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr ""
#: template-parts/layout/aside-job-list.php:144
msgid "More ..."
msgstr ""
#: template-parts/layout/aside-job-list.php:168
msgid "City"
msgstr ""
#: template-parts/layout/aside-job-list.php:172
msgid "Job area"
msgstr ""
#: template-parts/layout/aside-job-list.php:176
msgid "Job type"
msgstr ""
#: template-parts/layout/aside-job-list.php:185
msgid "Reset filters"
msgstr ""
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr ""
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr ""
"There are currently no job ads in English. However, we have lots of job ads "
"in <a href=\"https://biuro.ee/toeoeotsijatele/toeoepakkumised/\"> estonian - "
"choose the one you like.</a>"
#. Name of the theme
#. Author of the theme
msgid "Biuro"
msgstr ""
#. Description of the theme
msgid "Biuro multiregion theme"
msgstr ""
#. Author URI of the theme
msgid "https://www.biuro.lt/"
msgstr ""
...@@ -3,7 +3,7 @@ msgstr "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 10:39+0000\n" "POT-Creation-Date: 2019-05-31 10:39+0000\n"
"PO-Revision-Date: 2019-05-31 10:42+0000\n" "PO-Revision-Date: 2019-06-16 18:39+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: English (United States)\n" "Language-Team: English (United States)\n"
"Language: en_US\n" "Language: en_US\n"
...@@ -12,7 +12,7 @@ msgstr "" ...@@ -12,7 +12,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\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 #. Name of the template
msgid "Regions page" msgid "Regions page"
...@@ -57,7 +57,7 @@ msgstr "" ...@@ -57,7 +57,7 @@ msgstr ""
#: front-page.php:80 sales-page.php:57 #: front-page.php:80 sales-page.php:57
msgid "Trust in us" msgid "Trust in us"
msgstr "They trust in us" msgstr "Trust in us"
#. Name of the template #. Name of the template
msgid "Sales page" msgid "Sales page"
...@@ -173,8 +173,8 @@ msgstr "" ...@@ -173,8 +173,8 @@ msgstr ""
msgid "There are currently no job ads." msgid "There are currently no job ads."
msgstr "" msgstr ""
"There are currently no job ads in English. However, we have lots of job ads " "There are currently no job ads in English. However, we have lots of job ads "
"in <a href=\"https://biuro.ee/toeoeotsijatele/toeoepakkumised/\"> estonian - " "in <a href=\"/toeoeotsijatele/toeoepakkumised/\"> estonian - choose the one "
"choose the one you like.</a>" "you like.</a>"
#. Name of the theme #. Name of the theme
#. Author of the theme #. Author of the theme
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-06-11 22:21+0000\n"
"PO-Revision-Date: 2019-06-26 13:32+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Estonian\n"
"Language: et\n"
"Plural-Forms: nplurals=2; plural=n != 1;\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.3.0; wp-5.2.1"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Kahjuks ei ole otsitav leht olemas!"
#: 404.php:27
msgid "Return to homepage"
msgstr "Tagasi avalehele"
#: single-job.php:48
msgid "Salary from"
msgstr "Palk alates"
#: single-job.php:54
msgid "Salary to"
msgstr "Palk kuni"
#: single-job.php:66
msgid "Published"
msgstr "Avaldatud"
#: single-job.php:68
msgid "Valid till"
msgstr "Kehtiv kuni"
#: single-job.php:75
msgid "Apply"
msgstr "Kandideeri"
#: header.php:100
msgid "Get an offer"
msgstr "Soovin tööpakkumist"
#: header.php:118 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:147
msgid "Get a job offer"
msgstr "Küsi pakkumist"
#: front-page.php:43
msgid "Recent job ads"
msgstr "Viimased töökuulutused"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr "Rohkem tööpakkumisi"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Meid usaldatakse"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Search & Jobs page"
#: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Other filters"
msgstr "Muud filtrid"
#. Name of the template
msgid "Employees Landing Page I"
msgstr ""
#. 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:170
#: template-parts/layout/aside-job-list.php:131
msgid "Didn't find a job offer you like?"
msgstr "Kas ei leidnud tööpakkumist mis meeldiks?"
#: page-vasaros-darbu-bankas.php:172
#: template-parts/layout/aside-job-list.php:133
msgid "Fill out the form and we will contact you"
msgstr "Täitke päringu vorm ja me võtame Teiega ühendust."
#: 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!"
#: searchform.php:44
msgid "Locations"
msgstr "Asukoht"
#: searchform.php:61
msgid "Keyword"
msgstr "Märksõna"
#: searchform.php:66
msgid "Search"
msgstr "Otsing"
#. Name of the template
msgid "Sales page"
msgstr "Sales page"
#. Name of the template
msgid "Regions page"
msgstr "Regions page"
#. Name of the template
msgid "Divisions page"
msgstr "Divisions page"
#: page-divisions.php:53
msgid "All"
msgstr "Kõik"
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr "Hetkel pole ühtegi tööpakkumist."
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr "Otsingutulemusi ei leitud."
#: template-parts/layout/aside-job-list.php:67
msgid "More ..."
msgstr "Rohkem..."
#: template-parts/layout/aside-job-list.php:100
msgid "City"
msgstr "Linn"
#: template-parts/layout/aside-job-list.php:104
msgid "Job area"
msgstr "Valdkond"
#: template-parts/layout/aside-job-list.php:108
msgid "Job type"
msgstr "Töötüüp"
#: template-parts/layout/aside-job-list.php:117
msgid "Reset filters"
msgstr "Tühista filtrid"
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr "Töökoht"
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr "Arvan, et sulle võiks see tööpakkumine meeldida"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Soovita sõbrale"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Tööpakkumine pole aktiivne"
#. 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.ee/"
...@@ -2,8 +2,8 @@ msgid "" ...@@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 11:52+0000\n" "POT-Creation-Date: 2019-06-11 22:21+0000\n"
"PO-Revision-Date: 2019-05-31 12:07+0000\n" "PO-Revision-Date: 2019-06-26 13:32+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Estonian\n" "Language-Team: Estonian\n"
"Language: et\n" "Language: et\n"
...@@ -12,40 +12,44 @@ msgstr "" ...@@ -12,40 +12,44 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\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 #: 404.php:25
msgid "Regions page" msgid "Sorry, the page you are looking for does not exist!"
msgstr "Regions page" msgstr "Kahjuks ei ole otsitav leht olemas!"
#. Name of the template #: 404.php:27
msgid "Divisions page" msgid "Return to homepage"
msgstr "Divisions page" msgstr "Tagasi avalehele"
#: page-divisions.php:70 #: single-job.php:48
msgid "All" msgid "Salary from"
msgstr "Kõik" msgstr "Palk alates"
#: header.php:139 #: single-job.php:54
msgid "Get an offer" msgid "Salary to"
msgstr "Saa pakkumist" msgstr "Palk kuni"
#: header.php:157 page-vasaros-darbu-bankas.php:186 #: single-job.php:66
#: template-parts/layout/aside-job-list.php:215 msgid "Published"
msgid "Get a job offer" msgstr "Avaldatud"
msgstr "Saa tööpakkumist"
#: searchform.php:114 #: single-job.php:68
msgid "Locations" msgid "Valid till"
msgstr "Asukoht" msgstr "Kehtiv kuni"
#: searchform.php:230 #: single-job.php:75
msgid "Keyword" msgid "Apply"
msgstr "Märksõna" msgstr "Kandideeri"
#: searchform.php:238 #: header.php:100
msgid "Search" msgid "Get an offer"
msgstr "Otsing" msgstr "Soovin tööpakkumist"
#: header.php:118 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:147
msgid "Get a job offer"
msgstr "Küsi tööpakkumist"
#: front-page.php:43 #: front-page.php:43
msgid "Recent job ads" msgid "Recent job ads"
...@@ -57,19 +61,19 @@ msgstr "Rohkem tööpakkumisi" ...@@ -57,19 +61,19 @@ msgstr "Rohkem tööpakkumisi"
#: front-page.php:80 sales-page.php:57 #: front-page.php:80 sales-page.php:57
msgid "Trust in us" msgid "Trust in us"
msgstr "Meile usaldatakse" msgstr "Meid usaldatakse"
#. Name of the template #. Name of the template
msgid "Sales page" msgid "Search & Jobs page"
msgstr "Sales page" msgstr "Search & Jobs page"
#: 404.php:25 #: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Sorry, the page you are looking for does not exist!" msgid "Other filters"
msgstr "Kahjuks ei ole otsitav leht olemas!" msgstr "Muud filtrid"
#: 404.php:27 #. Name of the template
msgid "Return to homepage" msgid "Employees Landing Page I"
msgstr "Tagasi avalehele" msgstr ""
#. Name of the template #. Name of the template
msgid "VDB page" msgid "VDB page"
...@@ -83,19 +87,13 @@ msgstr "" ...@@ -83,19 +87,13 @@ msgstr ""
"Find summer job – look through the job ads, we are constantly updating the " "Find summer job – look through the job ads, we are constantly updating the "
"list and adding new ones." "list and adding new ones."
#: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "Other filters"
msgstr "Muud filtrid"
#: page-vasaros-darbu-bankas.php:170 #: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199 #: template-parts/layout/aside-job-list.php:131
msgid "Didn't find a job offer you like?" msgid "Didn't find a job offer you like?"
msgstr "" msgstr "Kas ei leidnud tööpakkumist mis meeldiks?"
"33/5000\n"
"Kas sulle ei meeldinud tööpakkumist?"
#: page-vasaros-darbu-bankas.php:172 #: page-vasaros-darbu-bankas.php:172
#: template-parts/layout/aside-job-list.php:201 #: template-parts/layout/aside-job-list.php:133
msgid "Fill out the form and we will contact you" msgid "Fill out the form and we will contact you"
msgstr "Täitke päringu vorm ja me võtame Teiega ühendust." msgstr "Täitke päringu vorm ja me võtame Teiega ühendust."
...@@ -111,73 +109,77 @@ msgstr "" ...@@ -111,73 +109,77 @@ msgstr ""
"This is how many people we employed during summer at 2018.<br/>Join us this " "This is how many people we employed during summer at 2018.<br/>Join us this "
"summer!" "summer!"
#. Name of the template #: searchform.php:44
msgid "Search & Jobs page" msgid "Locations"
msgstr "Search & Jobs page" msgstr "Asukoht"
#: single-job.php:48
msgid "Salary from"
msgstr "Palk alates"
#: single-job.php:54 #: searchform.php:61
msgid "Salary to" msgid "Keyword"
msgstr "Palk kuni" msgstr "Märksõna"
#: single-job.php:66 #: searchform.php:66
msgid "Published" msgid "Search"
msgstr "Avaldatud" msgstr "Otsing"
#: single-job.php:68 #. Name of the template
msgid "Valid till" msgid "Sales page"
msgstr "Kehtiv kuni" msgstr "Sales page"
#: single-job.php:75 #. Name of the template
msgid "Apply" msgid "Regions page"
msgstr "Rakenda" msgstr "Regions page"
#: template-parts/layout/aside-job-inactive.php:1 #. Name of the template
msgid "Job ad is inactive" msgid "Divisions page"
msgstr "Töö reklaam on mitteaktiivne" msgstr "Divisions page"
#: template-parts/layout/aside-job.php:11 #: page-divisions.php:53
msgid "Job position" msgid "All"
msgstr "Tööpiirkond" msgstr "Kõik"
#: template-parts/layout/aside-job.php:11 #: template-parts/jobs/jobs-none.php:14
msgid "I think you might like this job offer" msgid "There are currently no job ads."
msgstr "Ma arvan, et teile meeldib see tööpakkumine" msgstr "Hetkel pole ühtegi tööpakkumist."
#: template-parts/layout/aside-job.php:43 #: template-parts/jobs/jobs-not-found.php:14
msgid "Suggest a friend" msgid "No search results were found."
msgstr "Soovita sõbrale" msgstr "Otsingutulemusi ei leitud."
#: template-parts/layout/aside-job-list.php:144 #: template-parts/layout/aside-job-list.php:67
msgid "More ..." msgid "More ..."
msgstr "Rohkem..." msgstr "Rohkem..."
#: template-parts/layout/aside-job-list.php:168 #: template-parts/layout/aside-job-list.php:100
msgid "City" msgid "City"
msgstr "Linn" msgstr "Linn"
#: template-parts/layout/aside-job-list.php:172 #: template-parts/layout/aside-job-list.php:104
msgid "Job area" msgid "Job area"
msgstr "Tööpiirkond" msgstr "Valdkond"
#: template-parts/layout/aside-job-list.php:176 #: template-parts/layout/aside-job-list.php:108
msgid "Job type" msgid "Job type"
msgstr "Job type" msgstr "Töötüüp"
#: template-parts/layout/aside-job-list.php:185 #: template-parts/layout/aside-job-list.php:117
msgid "Reset filters" msgid "Reset filters"
msgstr "Nulli filtrid" msgstr "Tühista filtrid"
#: template-parts/jobs/jobs-not-found.php:14 #: template-parts/layout/aside-job.php:11
msgid "No search results were found." msgid "Job position"
msgstr "Otsingutulemusi ei leitud." msgstr "Töökoht"
#: template-parts/jobs/jobs-none.php:14 #: template-parts/layout/aside-job.php:11
msgid "There are currently no job ads." msgid "I think you might like this job offer"
msgstr "Hetkel pole ühtegi tööpakkumist." msgstr "Arvan, et sulle võiks see tööpakkumine meeldida"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Soovita sõbrale"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Tööpakkumine pole aktiivne"
#. Name of the theme #. Name of the theme
#. Author of the theme #. Author of the theme
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-04 13:03+0000\n"
"PO-Revision-Date: 2019-05-04 13:04+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt_LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 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.1.1"
#: 404.php:25
msgid "Sorry, the page you are looking for does not exist!"
msgstr "Atsiprašome, bet puslapis kurio jūs ieškote, neegzistuoja!"
#: 404.php:27
msgid "Return to homepage"
msgstr "Grįžti į pagrindinį puslapį"
#: single-job.php:48
msgid "Salary from"
msgstr "Darbo užmokestis nuo"
#: single-job.php:54
msgid "Salary to"
msgstr "Darbo užmokestis iki"
#: single-job.php:66
msgid "Published"
msgstr "Paskelbta"
#: single-job.php:68
msgid "Valid till"
msgstr "Galioja iki"
#: single-job.php:75
msgid "Apply"
msgstr "Kandidatuoti"
#: header.php:137
msgid "Get an offer"
msgstr "Gaukite pasiūlymą"
#: header.php:155 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Gauk darbo pasiūlymą"
#: front-page.php:43
msgid "Recent job ads"
msgstr "Naujausi darbo skelbimai"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr "Daugiau darbo skelbimų"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Mumis pasitiki"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Paieškos ir darbo skelbimų puslapis"
#: search.php:32 page-vasaros-darbu-bankas.php:39
msgid "Other filters"
msgstr "Kiti paieškos filtrai"
#. Name of the template
msgid "VDB page"
msgstr "VDB puslapis"
#: 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 ""
"Kviečiame surasti darbą vasarai - peržvelk pasiūlymus, juos nuolat papildome "
"naujais!"
#: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199
msgid "Didn't find a job offer you like?"
msgstr "Neradai tau tinkančio pasiūlymo?"
#: 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 "Užpildyk formą ir mes su tavimi susisieksime"
#: 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 ""
"Tiek 2018 m. vasarą įdarbinome žmonių.<br/>Šiais metais kviečiame "
"prisijungti ir tave!"
#: searchform.php:114
msgid "Locations"
msgstr "Vietovė"
#: searchform.php:230
msgid "Keyword"
msgstr "Raktažodis"
#: searchform.php:238
msgid "Search"
msgstr "Ieškoti"
#. Name of the template
msgid "Sales page"
msgstr "Pardavimų puslapis"
#. Name of the template
msgid "Regions page"
msgstr "Regionų puslapis"
#. Name of the template
msgid "Divisions page"
msgstr "Padalinių puslapis"
#: page-divisions.php:70
msgid "All"
msgstr "Visi"
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr "Šiuo metu nėra darbo pasiūlymų pagal Jūsų paiešką."
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr "Pagal Jūsų paiešką, darbo skelbimų šiuo metu neturime."
#: template-parts/layout/aside-job-list.php:144
msgid "More ..."
msgstr "Daugiau..."
#: template-parts/layout/aside-job-list.php:168
msgid "City"
msgstr "Miestas"
#: template-parts/layout/aside-job-list.php:172
msgid "Job area"
msgstr "Darbo sritis"
#: template-parts/layout/aside-job-list.php:176
msgid "Job type"
msgstr "Darbo tipas"
#: template-parts/layout/aside-job-list.php:185
msgid "Reset filters"
msgstr "Atstatyti paieškos filtrus"
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr "Darbo pasiūlymas"
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr "Manau, tau turėtų patikti šis darbo pasiūlymas"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Pasiūlyk draugui"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Darbo skelbimas yra neaktyvus"
#. 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.lt/"
...@@ -3,7 +3,7 @@ msgstr "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-04 13:03+0000\n" "POT-Creation-Date: 2019-05-04 13:03+0000\n"
"PO-Revision-Date: 2019-05-04 13:04+0000\n" "PO-Revision-Date: 2019-06-19 05:52+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n" "Language-Team: Lithuanian\n"
"Language: lt_LT\n" "Language: lt_LT\n"
...@@ -13,7 +13,7 @@ msgstr "" ...@@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n" "X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.1.1" "X-Loco-Version: 2.3.0; wp-5.2.1"
#: 404.php:25 #: 404.php:25
msgid "Sorry, the page you are looking for does not exist!" msgid "Sorry, the page you are looking for does not exist!"
...@@ -108,7 +108,7 @@ msgstr "" ...@@ -108,7 +108,7 @@ msgstr ""
#: searchform.php:114 #: searchform.php:114
msgid "Locations" msgid "Locations"
msgstr "Vietovė" msgstr "Miestas"
#: searchform.php:230 #: searchform.php:230
msgid "Keyword" msgid "Keyword"
......
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 "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 11:11+0000\n" "POT-Creation-Date: 2019-05-31 11:11+0000\n"
"PO-Revision-Date: 2019-06-09 14:04+0000\n" "PO-Revision-Date: 2019-06-11 12:42+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Latvian\n" "Language-Team: Latvian\n"
"Language: lv\n" "Language: lv\n"
...@@ -58,7 +58,7 @@ msgstr "Vairāk darba sludinājumu" ...@@ -58,7 +58,7 @@ msgstr "Vairāk darba sludinājumu"
#: front-page.php:80 sales-page.php:57 #: front-page.php:80 sales-page.php:57
msgid "Trust in us" msgid "Trust in us"
msgstr "Uzticiet mums" msgstr "Mums uzticas"
#. Name of the template #. Name of the template
msgid "Sales page" msgid "Sales page"
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 10:43+0000\n"
"PO-Revision-Date: 2019-06-18 06:16+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Russian\n"
"Language: ru_RU\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
"n%10<=4 &&(n%100<10||n%100 >= 20)? 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.3.0; 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 "Все"
#: header.php:139
msgid "Get an offer"
msgstr "Получите предложение"
#: header.php:157 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer"
msgstr "Получи предложение о работе"
#: searchform.php:114
msgid "Locations"
msgstr "Место нахождения"
#: searchform.php:230
msgid "Keyword"
msgstr "Ключевое слово"
#: searchform.php:238
msgid "Search"
msgstr "Поиск"
#: front-page.php:43
msgid "Recent job ads"
msgstr "Недавние объявления о работе"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads"
msgstr "Больше объявлений о работе"
#: front-page.php:80 sales-page.php:57
msgid "Trust in us"
msgstr "Они доверяют нам"
#. 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 "Извините, страница, которую вы ищете, не существует!"
#: 404.php:27
msgid "Return to homepage"
msgstr "Вернуться на главную страницу"
#. 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 ""
"Найдите летнюю работу - просматривайте объявления о работе, мы постоянно "
"обновляем список и добавляем новые."
#: page-vasaros-darbu-bankas.php:39 search.php:32
msgid "Other filters"
msgstr "Другие поисковые фильтры"
#: page-vasaros-darbu-bankas.php:170
#: template-parts/layout/aside-job-list.php:199
msgid "Didn't find a job offer you like?"
msgstr "Не нашли предложение работы, которое вам нравится?"
#: 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 "Заполните форму и мы свяжемся с вами"
#: 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 ""
"900 человек были трудоустроены летом 2018 года. <br/> Присоединяйтесь к нам "
"этим летом!"
#. Name of the template
msgid "Search & Jobs page"
msgstr "Search & Jobs page"
#: single-job.php:48
msgid "Salary from"
msgstr "Зарплата от"
#: single-job.php:54
msgid "Salary to"
msgstr "Зарплата до"
#: single-job.php:66
msgid "Published"
msgstr "Публикации"
#: single-job.php:68
msgid "Valid till"
msgstr "Действителен до"
#: single-job.php:75
msgid "Apply"
msgstr "Подать заявку"
#: template-parts/layout/aside-job-inactive.php:1
msgid "Job ad is inactive"
msgstr "Объявление о работе неактивно"
#: template-parts/layout/aside-job.php:11
msgid "Job position"
msgstr "Должность"
#: template-parts/layout/aside-job.php:11
msgid "I think you might like this job offer"
msgstr "Я думаю, что тебе может понравиться это предложение о работе"
#: template-parts/layout/aside-job.php:43
msgid "Suggest a friend"
msgstr "Предложить другу"
#: template-parts/layout/aside-job-list.php:144
msgid "More ..."
msgstr "Больше..."
#: template-parts/layout/aside-job-list.php:168
msgid "City"
msgstr "Город"
#: template-parts/layout/aside-job-list.php:172
msgid "Job area"
msgstr "Категория"
#: template-parts/layout/aside-job-list.php:176
msgid "Job type"
msgstr "Тип работы"
#: template-parts/layout/aside-job-list.php:185
msgid "Reset filters"
msgstr "Сбросить фильтры"
#: template-parts/jobs/jobs-not-found.php:14
msgid "No search results were found."
msgstr "Результаты поиска не были найдены."
#: template-parts/jobs/jobs-none.php:14
msgid "There are currently no job ads."
msgstr ""
"На русском языке нет объявлений о работе. Но есть много объявлений о работе "
"на <a href=\"https://biuro.ee/toeoeotsijatele/toeoepakkumised/\">эстонском "
"языке - выбирайте.</a>"
#. 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.ee/"
...@@ -3,7 +3,7 @@ msgstr "" ...@@ -3,7 +3,7 @@ msgstr ""
"Project-Id-Version: Biuro\n" "Project-Id-Version: Biuro\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-31 10:43+0000\n" "POT-Creation-Date: 2019-05-31 10:43+0000\n"
"PO-Revision-Date: 2019-05-31 11:09+0000\n" "PO-Revision-Date: 2019-06-18 06:16+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n" "Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Russian\n" "Language-Team: Russian\n"
"Language: ru_RU\n" "Language: ru_RU\n"
...@@ -13,7 +13,7 @@ msgstr "" ...@@ -13,7 +13,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\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 #. Name of the template
msgid "Regions page" msgid "Regions page"
...@@ -34,11 +34,11 @@ msgstr "Получите предложение" ...@@ -34,11 +34,11 @@ msgstr "Получите предложение"
#: header.php:157 page-vasaros-darbu-bankas.php:186 #: header.php:157 page-vasaros-darbu-bankas.php:186
#: template-parts/layout/aside-job-list.php:215 #: template-parts/layout/aside-job-list.php:215
msgid "Get a job offer" msgid "Get a job offer"
msgstr "Получи рабочее предложение" msgstr "Получи предложение о работе"
#: searchform.php:114 #: searchform.php:114
msgid "Locations" msgid "Locations"
msgstr "Местность" msgstr "Место нахождения"
#: searchform.php:230 #: searchform.php:230
msgid "Keyword" msgid "Keyword"
...@@ -50,7 +50,7 @@ msgstr "Поиск" ...@@ -50,7 +50,7 @@ msgstr "Поиск"
#: front-page.php:43 #: front-page.php:43
msgid "Recent job ads" msgid "Recent job ads"
msgstr "Новейшие объявления о работе" msgstr "Новые объявления о работе"
#: front-page.php:70 template-parts/jobs/jobs-not-found.php:25 #: front-page.php:70 template-parts/jobs/jobs-not-found.php:25
msgid "More job ads" msgid "More job ads"
...@@ -160,7 +160,7 @@ msgstr "Город" ...@@ -160,7 +160,7 @@ msgstr "Город"
#: template-parts/layout/aside-job-list.php:172 #: template-parts/layout/aside-job-list.php:172
msgid "Job area" msgid "Job area"
msgstr "Сфера деятельности" msgstr "Категория"
#: template-parts/layout/aside-job-list.php:176 #: template-parts/layout/aside-job-list.php:176
msgid "Job type" msgid "Job type"
...@@ -192,4 +192,4 @@ msgstr "Biuro multiregion theme" ...@@ -192,4 +192,4 @@ msgstr "Biuro multiregion theme"
#. Author URI of the theme #. Author URI of the theme
msgid "https://www.biuro.lt/" msgid "https://www.biuro.lt/"
msgstr "https://www.biuro.lt/" msgstr "https://www.biuro.ee/"
...@@ -32,10 +32,11 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -32,10 +32,11 @@ if ( ! defined( 'WPINC' ) ) die;
$emailValue = $_SESSION['employees--email-value']; $emailValue = $_SESSION['employees--email-value'];
$emailStatus = $_SESSION['employees--email-status']; $emailStatus = $_SESSION['employees--email-status'];
$emailMessage = __($_SESSION['employees--email-message'], 'biuro-contacts'); $emailMessage = __($_SESSION['employees--email-message'], 'biuro-contacts');
/*
$agreeValue = $_SESSION['employees--agree-value']; $agreeValue = $_SESSION['employees--agree-value'];
$agreeStatus = $_SESSION['employees--agree-status']; $agreeStatus = $_SESSION['employees--agree-status'];
$agreeMessage = __($_SESSION['employees--agree-message'], 'biuro-contacts'); $agreeMessage = __($_SESSION['employees--agree-message'], 'biuro-contacts');
*/
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro-contacts'); ?></label> <label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro-contacts'); ?></label>
...@@ -80,17 +81,19 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -80,17 +81,19 @@ if ( ! defined( 'WPINC' ) ) die;
<?php <?php
if (isset($attr['page']) && $attr['page'] == 'landing-1'): if (isset($attr['page']) && $attr['page'] == 'landing-1'):
?> ?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1" onclick="ga('send', 'event', 'ContactFormLanding1', 'Button', 'SendContactFormLanding1');"><?php _e('Get a job offer', 'biuro'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Get a job offer', 'biuro'); ?></button>
<?php <?php
else: else:
?> ?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1" onclick="ga('send', 'event', 'ContactFormEmployee', 'Button', 'SendContactFormEmployee');"><?php _e('Submit', 'biuro-contacts'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
<?php <?php
endif; endif;
?> ?>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php
/*
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> > <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> >
...@@ -102,3 +105,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -102,3 +105,12 @@ if ( ! defined( 'WPINC' ) ) die;
</div> </div>
<?php endif; ?> <?php endif; ?>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
*/
?>
<div class="c-form--row">
<div class="c-form--label-infobox">
<?php _e('We process your personal data to offer you jobs. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
...@@ -21,8 +21,23 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -21,8 +21,23 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label> <label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap c-form--autocomplete">
<input type="text" class="c-form--input" id="form-city" name="city" value="" autofocus="autofocus"> <datalist id="form-cities">
<?php
$cities = get_terms( array(
'taxonomy' => 'city',
'hide_empty' => false,
) );
foreach ( $cities as $city ):
?>
<option value="<?php echo preg_replace('/\D/', '', $city->slug); ?>"><?php echo $city->name; ?></option>
<?php
endforeach;
?>
</datalist>
<input list="form-cities" type="text" class="c-form--input" id="form-city" name="city" value="">
<input type="hidden" id="form-city-id" name="city_id" value="">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -42,19 +57,6 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -42,19 +57,6 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<?php <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
if (isset($attr['page']) && $attr['page'] == 'landing-1'):
?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'ContactFormLanding1', 'Button', 'UpdateContactFormLanding1');"><?php _e('Submit', 'biuro-contacts'); ?></button>
<?php
else:
?>
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'ContactFormEmployee', 'Button', 'UpdateContactFormEmployee');"><?php _e('Submit', 'biuro-contacts'); ?></button>
<?php
endif;
?>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -22,6 +22,20 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -22,6 +22,20 @@ if ( ! defined( 'WPINC' ) ) die;
<form id="form" name="form-employees" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employees"> <form id="form" name="form-employees" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employees">
<div id="action" class="c-form--action"></div> <div id="action" class="c-form--action"></div>
<?php
if ( isset($_SESSION['employees--captcha-status']) && $_SESSION['employees--captcha-status'] == 'error' ):
?>
<div class="c-form--validation-static c-form--validation-error">
<?php _e('Sorry, something went wrong. Please try again', 'biuro-contacts'); ?>
</div>
<?php
unset($_SESSION['employees--captcha-status']);
endif;
?>
<?php <?php
if ( !$_SESSION['employees--step'] ): if ( !$_SESSION['employees--step'] ):
...@@ -32,6 +46,18 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -32,6 +46,18 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<input type="hidden" name="action" value="employees_post"> <input type="hidden" name="action" value="employees_post">
<?php wp_nonce_field('employees_post_nonce'); ?> <?php wp_nonce_field('employees_post_nonce'); ?>
<input type="hidden" id="g-recaptcha-response" name="captcha">
<script src="https://www.google.com/recaptcha/api.js?render=6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu"></script>
<script>
window.grecaptcha.ready(function () {
window.grecaptcha.execute('6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu', { action: 'employees' }).then(function (token) {
if (document.getElementById('g-recaptcha-response')) {
document.getElementById('g-recaptcha-response').value = token;
}
});
});
</script>
</form> </form>
<?php if($_SESSION['employees--s'] == 1) { <?php if($_SESSION['employees--s'] == 1) {
...@@ -39,19 +65,8 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -39,19 +65,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-modal"> <div class="c-modal">
<div class="c-modal--inner"> <div class="c-modal--inner">
<svg width="67px" height="67px" viewBox="0 0 67 67" > <svg width="67px" height="67px">
<g id="FINAL@" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <use xlink:href="#ico--success"></use>
<g id="skelbimo-vidaus-formos-pranesimas" transform="translate(-687.000000, -459.000000)" fill-rule="nonzero">
<g id="pranesimas" transform="translate(409.000000, 403.000000)">
<g id="ok" transform="translate(278.000000, 56.000000)">
<g id="Group-2">
<path d="M44.6239031,22.504689 C44.9259634,22.2026915 45.4156549,22.2026915 45.7177153,22.504689 L47.5406518,24.3276884 C47.8427121,24.6297488 47.8427121,25.1195032 47.5406518,25.4215006 L28.2168453,44.74537 C27.914722,45.0473675 27.4250305,45.0473675 27.1230331,44.74537 L18.5236597,36.1459967 C18.2215994,35.8438734 18.2215994,35.3541819 18.5236597,35.0521215 L20.3465962,33.229185 C20.6487195,32.9271247 21.138411,32.9271247 21.4404714,33.229185 L27.6699392,39.4586528 L44.6239031,22.504689 Z" id="" fill="#1FB299"></path>
<circle id="Oval" stroke="#1FB299" cx="33.5" cy="33.5" r="33"></circle>
</g>
</g>
</g>
</g>
</g>
</svg> </svg>
<p><?php _e('Thank You, we have successfully received data about you.', 'biuro-contacts'); ?></p> <p><?php _e('Thank You, we have successfully received data about you.', 'biuro-contacts'); ?></p>
<p><?php _e('You can add information about yourself by adding a city, message or CV', 'biuro-contacts'); ?></p> <p><?php _e('You can add information about yourself by adding a city, message or CV', 'biuro-contacts'); ?></p>
...@@ -59,19 +74,19 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -59,19 +74,19 @@ if ( ! defined( 'WPINC' ) ) die;
</div> </div>
</div> </div>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
</script> </script>
<?php <?php
if (isset($attr['page']) && $attr['page'] == 'landing-1'): if (isset($attr['page']) && $attr['page'] == 'landing-1'):
?> ?>
<script> <script>
dataLayer.push({'event': 'b2c_form_submit_success_validated', 'label': 'Landing page 1'}); window.dataLayer.push({ 'event': 'b2c_form_submit_success_validated', 'label': 'Landing page 1' });
</script> </script>
<?php <?php
else: else:
?> ?>
<script> <script>
dataLayer.push({'event': 'b2c_form_submit_success_validated', 'label': 'Contact page'}); window.dataLayer.push({ 'event': 'b2c_form_submit_success_validated', 'label': 'Contact page' });
</script> </script>
<?php <?php
endif; endif;
...@@ -87,38 +102,27 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -87,38 +102,27 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-modal"> <div class="c-modal">
<div class="c-modal--inner"> <div class="c-modal--inner">
<svg width="67px" height="67px" viewBox="0 0 67 67" > <svg width="67px" height="67px">
<g id="FINAL@" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <use xlink:href="#ico--success"></use>
<g id="skelbimo-vidaus-formos-pranesimas" transform="translate(-687.000000, -459.000000)" fill-rule="nonzero">
<g id="pranesimas" transform="translate(409.000000, 403.000000)">
<g id="ok" transform="translate(278.000000, 56.000000)">
<g id="Group-2">
<path d="M44.6239031,22.504689 C44.9259634,22.2026915 45.4156549,22.2026915 45.7177153,22.504689 L47.5406518,24.3276884 C47.8427121,24.6297488 47.8427121,25.1195032 47.5406518,25.4215006 L28.2168453,44.74537 C27.914722,45.0473675 27.4250305,45.0473675 27.1230331,44.74537 L18.5236597,36.1459967 C18.2215994,35.8438734 18.2215994,35.3541819 18.5236597,35.0521215 L20.3465962,33.229185 C20.6487195,32.9271247 21.138411,32.9271247 21.4404714,33.229185 L27.6699392,39.4586528 L44.6239031,22.504689 Z" id="" fill="#1FB299"></path>
<circle id="Oval" stroke="#1FB299" cx="33.5" cy="33.5" r="33"></circle>
</g>
</g>
</g>
</g>
</g>
</svg> </svg>
<p><?php _e('Thank You! The information has been successfully supplemented.', 'biuro-contacts'); ?></p> <p><?php _e('Thank You! The information has been successfully supplemented.', 'biuro-contacts'); ?></p>
<p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p> <p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p>
</div> </div>
</div> </div>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
</script> </script>
<?php <?php
if (isset($attr['page']) && $attr['page'] == 'landing-1'): if (isset($attr['page']) && $attr['page'] == 'landing-1'):
?> ?>
<script> <script>
dataLayer.push({'event': 'b2c_form_update_success_validated', 'label': 'Landing page 1'}); window.dataLayer.push({ 'event': 'b2c_form_update_success_validated', 'label': 'Landing page 1' });
</script> </script>
<?php <?php
else: else:
?> ?>
<script> <script>
dataLayer.push({'event': 'b2c_form_update_success_validated', 'label': 'Contact page'}); window.dataLayer.push({ 'event': 'b2c_form_update_success_validated', 'label': 'Contact page' });
</script> </script>
<?php <?php
endif; endif;
......
...@@ -77,10 +77,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -77,10 +77,12 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1" onclick="ga('send', 'event', 'ContactForm', 'Button', 'SendContactForm');"><?php _e('Submit', 'biuro-contacts'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php
/*
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> > <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> >
...@@ -92,3 +94,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -92,3 +94,12 @@ if ( ! defined( 'WPINC' ) ) die;
</div> </div>
<?php endif; ?> <?php endif; ?>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
*/
?>
<div class="c-form--row">
<div class="c-form--label-infobox">
<?php _e('We process your personal data for service cooperation. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
...@@ -44,6 +44,6 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -44,6 +44,6 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'ContactForm', 'Button', 'UpdateContactForm');"><?php _e('Submit', 'biuro-contacts'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -22,6 +22,19 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -22,6 +22,19 @@ if ( ! defined( 'WPINC' ) ) die;
<form name="form-employers" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employers"> <form name="form-employers" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employers">
<div id="action" class="c-form--action"></div> <div id="action" class="c-form--action"></div>
<?php
if ( isset($_SESSION['employers--captcha-status']) && $_SESSION['employers--captcha-status'] == 'error' ):
?>
<div class="c-form--validation-static c-form--validation-error">
<?php _e('Sorry, something went wrong. Please try again', 'biuro-contacts'); ?>
</div>
<?php
unset($_SESSION['employers--captcha-status']);
endif;
?>
<?php <?php
if ( !$_SESSION['employers--step'] ): if ( !$_SESSION['employers--step'] ):
...@@ -32,6 +45,18 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -32,6 +45,18 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<input type="hidden" name="action" value="employers_post"> <input type="hidden" name="action" value="employers_post">
<?php wp_nonce_field('employers_post_nonce'); ?> <?php wp_nonce_field('employers_post_nonce'); ?>
<input type="hidden" id="g-recaptcha-response" name="captcha">
<script src="https://www.google.com/recaptcha/api.js?render=6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu"></script>
<script>
window.grecaptcha.ready(function () {
window.grecaptcha.execute('6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu', { action: 'employers' }).then(function (token) {
if (document.getElementById('g-recaptcha-response')) {
document.getElementById('g-recaptcha-response').value = token;
}
});
});
</script>
</form> </form>
<?php if($_SESSION['employers--s'] == 1) { <?php if($_SESSION['employers--s'] == 1) {
...@@ -39,19 +64,8 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -39,19 +64,8 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-modal"> <div class="c-modal">
<div class="c-modal--inner"> <div class="c-modal--inner">
<svg width="67px" height="67px" viewBox="0 0 67 67" > <svg width="67px" height="67px">
<g id="FINAL@" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <use xlink:href="#ico--success"></use>
<g id="skelbimo-vidaus-formos-pranesimas" transform="translate(-687.000000, -459.000000)" fill-rule="nonzero">
<g id="pranesimas" transform="translate(409.000000, 403.000000)">
<g id="ok" transform="translate(278.000000, 56.000000)">
<g id="Group-2">
<path d="M44.6239031,22.504689 C44.9259634,22.2026915 45.4156549,22.2026915 45.7177153,22.504689 L47.5406518,24.3276884 C47.8427121,24.6297488 47.8427121,25.1195032 47.5406518,25.4215006 L28.2168453,44.74537 C27.914722,45.0473675 27.4250305,45.0473675 27.1230331,44.74537 L18.5236597,36.1459967 C18.2215994,35.8438734 18.2215994,35.3541819 18.5236597,35.0521215 L20.3465962,33.229185 C20.6487195,32.9271247 21.138411,32.9271247 21.4404714,33.229185 L27.6699392,39.4586528 L44.6239031,22.504689 Z" id="" fill="#1FB299"></path>
<circle id="Oval" stroke="#1FB299" cx="33.5" cy="33.5" r="33"></circle>
</g>
</g>
</g>
</g>
</g>
</svg> </svg>
<p><?php _e('Thank You for contacting!', 'biuro-contacts'); ?></p> <p><?php _e('Thank You for contacting!', 'biuro-contacts'); ?></p>
<p><?php _e('You request was send successfully, we will contact You.', 'biuro-contacts'); ?></p> <p><?php _e('You request was send successfully, we will contact You.', 'biuro-contacts'); ?></p>
...@@ -60,8 +74,8 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -60,8 +74,8 @@ if ( ! defined( 'WPINC' ) ) die;
</div> </div>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
dataLayer.push({'event': 'b2b_form_submit_success_validated'}); window.dataLayer.push({ 'event': 'b2b_form_submit_success_validated' });
</script> </script>
<?php <?php
unset($_SESSION['employers--s']); unset($_SESSION['employers--s']);
...@@ -72,19 +86,8 @@ unset($_SESSION['employers--s']); ...@@ -72,19 +86,8 @@ unset($_SESSION['employers--s']);
<div class="c-modal"> <div class="c-modal">
<div class="c-modal--inner"> <div class="c-modal--inner">
<svg width="67px" height="67px" viewBox="0 0 67 67" > <svg width="67px" height="67px">
<g id="FINAL@" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <use xlink:href="#ico--success"></use>
<g id="skelbimo-vidaus-formos-pranesimas" transform="translate(-687.000000, -459.000000)" fill-rule="nonzero">
<g id="pranesimas" transform="translate(409.000000, 403.000000)">
<g id="ok" transform="translate(278.000000, 56.000000)">
<g id="Group-2">
<path d="M44.6239031,22.504689 C44.9259634,22.2026915 45.4156549,22.2026915 45.7177153,22.504689 L47.5406518,24.3276884 C47.8427121,24.6297488 47.8427121,25.1195032 47.5406518,25.4215006 L28.2168453,44.74537 C27.914722,45.0473675 27.4250305,45.0473675 27.1230331,44.74537 L18.5236597,36.1459967 C18.2215994,35.8438734 18.2215994,35.3541819 18.5236597,35.0521215 L20.3465962,33.229185 C20.6487195,32.9271247 21.138411,32.9271247 21.4404714,33.229185 L27.6699392,39.4586528 L44.6239031,22.504689 Z" id="" fill="#1FB299"></path>
<circle id="Oval" stroke="#1FB299" cx="33.5" cy="33.5" r="33"></circle>
</g>
</g>
</g>
</g>
</g>
</svg> </svg>
<p><?php _e('Thank You! The information has been successfully supplemented.', 'biuro-contacts'); ?></p> <p><?php _e('Thank You! The information has been successfully supplemented.', 'biuro-contacts'); ?></p>
<p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p> <p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p>
...@@ -92,8 +95,8 @@ unset($_SESSION['employers--s']); ...@@ -92,8 +95,8 @@ unset($_SESSION['employers--s']);
</div> </div>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
dataLayer.push({'event': 'b2b_form_update_success_validated'}); window.dataLayer.push({ 'event': 'b2b_form_update_success_validated' });
</script> </script>
<?php <?php
......
...@@ -21,6 +21,6 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -21,6 +21,6 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1" onclick="ga('send', 'event', 'CVForm', 'Button', 'OpenCVForm');"><?php _e('Apply', 'biuro-contacts'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="1"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -35,10 +35,15 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -35,10 +35,15 @@ if ( ! defined( 'WPINC' ) ) die;
$emailStatus = $_SESSION['position--email-status']; $emailStatus = $_SESSION['position--email-status'];
$emailMessage = __($_SESSION['position--email-message'], 'biuro-contacts'); $emailMessage = __($_SESSION['position--email-message'], 'biuro-contacts');
$cvValue = $_SESSION['position--cv-value'];
$cvStatus = $_SESSION['position--cv-status'];
$cvMessage = __($_SESSION['position--cv-message'], 'biuro-contacts');
/*
$agreeValue = $_SESSION['position--agree-value']; $agreeValue = $_SESSION['position--agree-value'];
$agreeStatus = $_SESSION['position--agree-status']; $agreeStatus = $_SESSION['position--agree-status'];
$agreeMessage = __($_SESSION['position--agree-message'], 'biuro-contacts'); $agreeMessage = __($_SESSION['position--agree-message'], 'biuro-contacts');
*/
$cvValue = $_SESSION['position--cv-value']; $cvValue = $_SESSION['position--cv-value'];
$cityValue = $_SESSION['position--city-value']; $cityValue = $_SESSION['position--city-value'];
$cityIDValue = $_SESSION['position--city_id-value']; $cityIDValue = $_SESSION['position--city_id-value'];
...@@ -51,8 +56,8 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -51,8 +56,8 @@ if ( ! defined( 'WPINC' ) ) die;
$nameValue = $employeeData['name']; $nameValue = $employeeData['name'];
$phoneValue = $employeeData['phone']; $phoneValue = $employeeData['phone'];
$emailValue = $employeeData['email']; $emailValue = $employeeData['email'];
$city = $employeeData['city']; $cityValue = $employeeData['city'];
# city reiks uzdet turbut? $cityIDValue = $employeeData['city_id'];
} }
?> ?>
...@@ -96,11 +101,31 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -96,11 +101,31 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label> <label class="c-form--label" for="form-city"><?php _e('City', 'biuro-contacts'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap c-form--autocomplete">
<input type="text" class="c-form--input" id="form-city" name="city" value="<?php echo $cityValue; ?>"> <datalist id="form-cities">
<?php
$cities = get_terms( array(
'taxonomy' => 'city',
'hide_empty' => false,
) );
foreach ( $cities as $city ):
?>
<option value="<?php echo preg_replace('/\D/', '', $city->slug); ?>"><?php echo $city->name; ?></option>
<?php
endforeach;
?>
</datalist>
<input list="form-cities" type="text" class="c-form--input" id="form-city" name="city" value="<?php echo $cityValue; ?>">
<input type="hidden" id="form-city-id" name="city_id" value="<?php echo $cityIDValue; ?>">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row">
</div><!-- .c-form--row -->
<div id="agree"></div> <div id="agree"></div>
<div class="c-form--row"> <div class="c-form--row">
...@@ -115,8 +140,15 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -115,8 +140,15 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="file" class="c-form--input" id="form-cv" name="cv" value="" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png"> <input type="file" class="c-form--input" id="form-cv" name="cv" value="" accept="application/pdf, application/doc, application/docx, application/rtf, application/txt, application/odf, application/msword, image/jpg, image/jpeg, image/png">
</div> </div>
<?php if ($cvMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $cvStatus; ?>">
<?php echo $cvMessage; ?>
</div>
<?php endif; ?>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php
/*
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> > <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?> <?php if ($nameStatus != 'error' && $phoneStatus != 'error' && $agreeStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?> >
...@@ -128,9 +160,18 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -128,9 +160,18 @@ if ( ! defined( 'WPINC' ) ) die;
</div> </div>
<?php endif; ?> <?php endif; ?>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
*/
?>
<div class="c-form--row">
<div class="c-form--label-infobox">
<?php _e('We process your personal data to offer you jobs. More information at <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?>
<input type="hidden" name="agree" value="1">
</div>
</div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'CVForm', 'Button', 'SendCVForm');"><?php _e('Apply', 'biuro-contacts'); ?></button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2"><?php _e('Apply', 'biuro-contacts'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -22,6 +22,19 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -22,6 +22,19 @@ if ( ! defined( 'WPINC' ) ) die;
<form name="form-position" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form <?php if ($_SESSION['position--step']): ?>c-form--position<?php endif; ?>"> <form name="form-position" action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form <?php if ($_SESSION['position--step']): ?>c-form--position<?php endif; ?>">
<div id="action" class="c-form--action c-form--action-position"></div> <div id="action" class="c-form--action c-form--action-position"></div>
<?php
if ( isset($_SESSION['position--captcha-status']) && $_SESSION['position--captcha-status'] == 'error' ):
?>
<div class="c-form--validation-static c-form--validation-error">
<?php _e('Sorry, something went wrong. Please try again', 'biuro-contacts'); ?>
</div>
<?php
unset($_SESSION['position--captcha-status']);
endif;
?>
<?php <?php
if ( !$_SESSION['position--step'] ): if ( !$_SESSION['position--step'] ):
...@@ -33,43 +46,51 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -33,43 +46,51 @@ if ( ! defined( 'WPINC' ) ) die;
<input type="hidden" name="job_id" value="<?php echo $job_id; ?>"> <input type="hidden" name="job_id" value="<?php echo $job_id; ?>">
<input type="hidden" name="action" value="position_post"> <input type="hidden" name="action" value="position_post">
<?php wp_nonce_field('position_post_nonce'); ?> <?php wp_nonce_field('position_post_nonce'); ?>
<input type="hidden" id="g-recaptcha-response" name="captcha">
<script src="https://www.google.com/recaptcha/api.js?render=6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu"></script>
<script>
window.grecaptcha.ready(function () {
window.grecaptcha.execute('6Lc76qoUAAAAALk0aYR500zOZVG1BicNl3GTb-Hu', { action: 'position' }).then(function (token) {
if (document.getElementById('g-recaptcha-response')) {
document.getElementById('g-recaptcha-response').value = token;
}
});
});
</script>
</form> </form>
<?php if($_SESSION['position--s'] == 1) { <?php
if($_SESSION['position--s'] == 1) {
?> ?>
<script>
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ 'event': 'b2c_form_open_success_validated', 'label': 'Job page' });
</script>
<?php <?php
unset($_SESSION['position--s']); unset($_SESSION['position--s']);
}?> }
<?php if($_SESSION['position--s'] == 2) {
?> ?>
<?php
if ($_SESSION['position--s'] == 2) {
?>
<div class="c-modal"> <div class="c-modal">
<div class="c-modal--inner"> <div class="c-modal--inner">
<svg width="67px" height="67px" viewBox="0 0 67 67" > <svg width="67px" height="67px">
<g id="FINAL@" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <use xlink:href="#ico--success"></use>
<g id="skelbimo-vidaus-formos-pranesimas" transform="translate(-687.000000, -459.000000)" fill-rule="nonzero">
<g id="pranesimas" transform="translate(409.000000, 403.000000)">
<g id="ok" transform="translate(278.000000, 56.000000)">
<g id="Group-2">
<path d="M44.6239031,22.504689 C44.9259634,22.2026915 45.4156549,22.2026915 45.7177153,22.504689 L47.5406518,24.3276884 C47.8427121,24.6297488 47.8427121,25.1195032 47.5406518,25.4215006 L28.2168453,44.74537 C27.914722,45.0473675 27.4250305,45.0473675 27.1230331,44.74537 L18.5236597,36.1459967 C18.2215994,35.8438734 18.2215994,35.3541819 18.5236597,35.0521215 L20.3465962,33.229185 C20.6487195,32.9271247 21.138411,32.9271247 21.4404714,33.229185 L27.6699392,39.4586528 L44.6239031,22.504689 Z" id="" fill="#1FB299"></path>
<circle id="Oval" stroke="#1FB299" cx="33.5" cy="33.5" r="33"></circle>
</g>
</g>
</g>
</g>
</g>
</svg> </svg>
<p><?php _e('Thank You! Your data was send successfully.', 'biuro-contacts'); ?></p> <p><?php _e('Thank You! Your data was send successfully.', 'biuro-contacts'); ?></p>
<p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p> <p><button class="js-modal--close o-btn c-btn--main"><?php _e('OK', 'biuro-contacts'); ?></button></p>
</div> </div>
</div> </div>
<script> <script>
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
dataLayer.push({'event': 'b2c_form_submit_success_validated', 'label': 'Job page'}); window.dataLayer.push({ 'event': 'b2c_form_submit_success_validated', 'label': 'Job page' });
</script> </script>
<?php <?php
unset($_SESSION['position--s']); unset($_SESSION['position--s']);
}?> }
?>
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* @since 2.5 * @since 2.5
*/ */
class PLL_Admin_Block_Editor { class PLL_Admin_Block_Editor {
public $model;
/** /**
* Constructor: setups filters and actions * Constructor: setups filters and actions
...@@ -15,6 +16,9 @@ class PLL_Admin_Block_Editor { ...@@ -15,6 +16,9 @@ class PLL_Admin_Block_Editor {
* @param object $polylang * @param object $polylang
*/ */
public function __construct( &$polylang ) { public function __construct( &$polylang ) {
$this->model = &$polylang->model;
$this->pref_lang = &$polylang->pref_lang;
add_filter( 'block_editor_preload_paths', array( $this, 'preload_paths' ), 10, 2 ); add_filter( 'block_editor_preload_paths', array( $this, 'preload_paths' ), 10, 2 );
} }
...@@ -30,11 +34,17 @@ class PLL_Admin_Block_Editor { ...@@ -30,11 +34,17 @@ class PLL_Admin_Block_Editor {
* @return array * @return array
*/ */
public function preload_paths( $preload_paths, $post ) { public function preload_paths( $preload_paths, $post ) {
$lang = pll_get_post_language( $post->ID ); if ( $this->model->is_translated_post_type( $post->post_type ) ) {
$lang = $this->model->post->get_language( $post->ID );
if ( ! $lang ) {
$lang = $this->pref_lang;
}
foreach ( $preload_paths as $k => $path ) { foreach ( $preload_paths as $k => $path ) {
if ( is_string( $path ) && '/' !== $path ) { if ( is_string( $path ) && '/' !== $path ) {
$preload_paths[ $k ] = $path . "&lang={$lang}"; $preload_paths[ $k ] = $path . "&lang={$lang->slug}";
}
} }
} }
......
...@@ -30,6 +30,9 @@ class PLL_Admin_Classic_Editor { ...@@ -30,6 +30,9 @@ class PLL_Admin_Classic_Editor {
// Filters the pages by language in the parent dropdown list in the page attributes metabox // Filters the pages by language in the parent dropdown list in the page attributes metabox
add_filter( 'page_attributes_dropdown_pages_args', array( $this, 'page_attributes_dropdown_pages_args' ), 10, 2 ); add_filter( 'page_attributes_dropdown_pages_args', array( $this, 'page_attributes_dropdown_pages_args' ), 10, 2 );
// Notice
add_action( 'edit_form_top', array( $this, 'edit_form_top' ) );
} }
/** /**
...@@ -42,7 +45,17 @@ class PLL_Admin_Classic_Editor { ...@@ -42,7 +45,17 @@ class PLL_Admin_Classic_Editor {
*/ */
public function add_meta_boxes( $post_type, $post ) { public function add_meta_boxes( $post_type, $post ) {
if ( $this->model->is_translated_post_type( $post_type ) ) { if ( $this->model->is_translated_post_type( $post_type ) ) {
add_meta_box( 'ml_box', __( 'Languages', 'polylang' ), array( $this, 'post_language' ), $post_type, 'side', 'high' ); add_meta_box(
'ml_box',
__( 'Languages', 'polylang' ),
array( $this, 'post_language' ),
$post_type,
'side',
'high',
array(
'__back_compat_meta_box' => pll_use_block_editor_plugin(),
)
);
} }
} }
...@@ -56,23 +69,17 @@ class PLL_Admin_Classic_Editor { ...@@ -56,23 +69,17 @@ class PLL_Admin_Classic_Editor {
$post_id = $post_ID; $post_id = $post_ID;
$post_type = get_post_type( $post_ID ); $post_type = get_post_type( $post_ID );
$from_post_id = isset( $_GET['from_post'] ) ? (int) $_GET['from_post'] : 0; // phpcs:ignore WordPress.Security.NonceVerification
$lang = ( $lg = $this->model->post->get_language( $post_ID ) ) ? $lg : $lang = ( $lg = $this->model->post->get_language( $post_ID ) ) ? $lg :
( isset( $_GET['new_lang'] ) ? $this->model->get_language( $_GET['new_lang'] ) : ( isset( $_GET['new_lang'] ) ? $this->model->get_language( sanitize_key( $_GET['new_lang'] ) ) : // phpcs:ignore WordPress.Security.NonceVerification
$this->pref_lang ); $this->pref_lang );
$dropdown = new PLL_Walker_Dropdown(); $dropdown = new PLL_Walker_Dropdown();
wp_nonce_field( 'pll_language', '_pll_nonce' ); $id = ( 'attachment' === $post_type ) ? sprintf( 'attachments[%d][language]', (int) $post_ID ) : 'post_lang_choice';
// NOTE: the class "tags-input" allows to include the field in the autosave $_POST ( see autosave.js ) $dropdown_html = $dropdown->walk(
printf(
'<p><strong>%1$s</strong></p>
<label class="screen-reader-text" for="%2$s">%1$s</label>
<div id="select-%3$s-language">%4$s</div>',
esc_html__( 'Language', 'polylang' ),
$id = ( 'attachment' === $post_type ) ? sprintf( 'attachments[%d][language]', $post_ID ) : 'post_lang_choice',
'attachment' === $post_type ? 'media' : 'post',
$dropdown->walk(
$this->model->get_languages_list(), $this->model->get_languages_list(),
array( array(
'name' => $id, 'name' => $id,
...@@ -80,7 +87,19 @@ class PLL_Admin_Classic_Editor { ...@@ -80,7 +87,19 @@ class PLL_Admin_Classic_Editor {
'selected' => $lang ? $lang->slug : '', 'selected' => $lang ? $lang->slug : '',
'flag' => true, 'flag' => true,
) )
) );
wp_nonce_field( 'pll_language', '_pll_nonce' );
// NOTE: the class "tags-input" allows to include the field in the autosave $_POST ( see autosave.js )
printf(
'<p><strong>%1$s</strong></p>
<label class="screen-reader-text" for="%2$s">%1$s</label>
<div id="select-%3$s-language">%4$s</div>',
esc_html__( 'Language', 'polylang' ),
esc_attr( $id ),
( 'attachment' === $post_type ? 'media' : 'post' ),
$dropdown_html // phpcs:ignore WordPress.Security.EscapeOutput
); );
/** /**
...@@ -105,11 +124,20 @@ class PLL_Admin_Classic_Editor { ...@@ -105,11 +124,20 @@ class PLL_Admin_Classic_Editor {
public function post_lang_choice() { public function post_lang_choice() {
check_ajax_referer( 'pll_language', '_pll_nonce' ); check_ajax_referer( 'pll_language', '_pll_nonce' );
if ( ! isset( $_POST['post_id'], $_POST['lang'], $_POST['post_type'] ) ) {
wp_die( 0 );
}
global $post_ID; // Obliged to use the global variable for wp_popular_terms_checklist global $post_ID; // Obliged to use the global variable for wp_popular_terms_checklist
$post_id = $post_ID = (int) $_POST['post_id']; $post_id = $post_ID = (int) $_POST['post_id'];
$lang = $this->model->get_language( $_POST['lang'] ); $lang = $this->model->get_language( sanitize_key( $_POST['lang'] ) );
$post_type = sanitize_key( $_POST['post_type'] );
if ( ! post_type_exists( $post_type ) ) {
wp_die( 0 );
}
$post_type = $_POST['post_type'];
$post_type_object = get_post_type_object( $post_type ); $post_type_object = get_post_type_object( $post_type );
if ( ! current_user_can( $post_type_object->cap->edit_post, $post_ID ) ) { if ( ! current_user_can( $post_type_object->cap->edit_post, $post_ID ) ) {
wp_die( -1 ); wp_die( -1 );
...@@ -132,7 +160,7 @@ class PLL_Admin_Classic_Editor { ...@@ -132,7 +160,7 @@ class PLL_Admin_Classic_Editor {
// Categories // Categories
if ( isset( $_POST['taxonomies'] ) ) { if ( isset( $_POST['taxonomies'] ) ) {
// Not set for pages // Not set for pages
foreach ( $_POST['taxonomies'] as $taxname ) { foreach ( array_map( 'sanitize_key', $_POST['taxonomies'] ) as $taxname ) {
$taxonomy = get_taxonomy( $taxname ); $taxonomy = get_taxonomy( $taxname );
ob_start(); ob_start();
...@@ -172,7 +200,7 @@ class PLL_Admin_Classic_Editor { ...@@ -172,7 +200,7 @@ class PLL_Admin_Classic_Editor {
'exclude_tree' => $post->ID, 'exclude_tree' => $post->ID,
'selected' => $post->post_parent, 'selected' => $post->post_parent,
'name' => 'parent_id', 'name' => 'parent_id',
'show_option_none' => __( '(no parent)' ), 'show_option_none' => __( '(no parent)', 'polylang' ),
'sort_column' => 'menu_order, post_title', 'sort_column' => 'menu_order, post_title',
'echo' => 0, 'echo' => 0,
); );
...@@ -180,7 +208,7 @@ class PLL_Admin_Classic_Editor { ...@@ -180,7 +208,7 @@ class PLL_Admin_Classic_Editor {
/** This filter is documented in wp-admin/includes/meta-boxes.php */ /** This filter is documented in wp-admin/includes/meta-boxes.php */
$dropdown_args = apply_filters( 'page_attributes_dropdown_pages_args', $dropdown_args, $post ); // Since WP 3.3 $dropdown_args = apply_filters( 'page_attributes_dropdown_pages_args', $dropdown_args, $post ); // Since WP 3.3
$x->Add( array( 'what' => 'pages', 'data' => wp_dropdown_pages( $dropdown_args ) ) ); $x->Add( array( 'what' => 'pages', 'data' => wp_dropdown_pages( $dropdown_args ) ) ); // phpcs:ignore WordPress.Security.EscapeOutput
} }
// Flag // Flag
...@@ -200,54 +228,33 @@ class PLL_Admin_Classic_Editor { ...@@ -200,54 +228,33 @@ class PLL_Admin_Classic_Editor {
public function ajax_posts_not_translated() { public function ajax_posts_not_translated() {
check_ajax_referer( 'pll_language', '_pll_nonce' ); check_ajax_referer( 'pll_language', '_pll_nonce' );
if ( ! post_type_exists( $_GET['post_type'] ) ) { if ( ! isset( $_GET['post_type'], $_GET['post_language'], $_GET['translation_language'], $_GET['term'], $_GET['pll_post_id'] ) ) {
die( 0 ); wp_die( 0 );
} }
$post_language = $this->model->get_language( $_GET['post_language'] ); $post_type = sanitize_key( $_GET['post_type'] );
$translation_language = $this->model->get_language( $_GET['translation_language'] );
// Don't order by title: see https://wordpress.org/support/topic/find-translated-post-when-10-is-not-enough
$args = array(
's' => wp_unslash( $_GET['term'] ),
'suppress_filters' => 0, // To make the post_fields filter work
'lang' => 0, // Avoid admin language filter
'numberposts' => 20, // Limit to 20 posts
'post_status' => 'any',
'post_type' => $_GET['post_type'],
'tax_query' => array(
array(
'taxonomy' => 'language',
'field' => 'term_taxonomy_id', // WP 3.5+
'terms' => $translation_language->term_taxonomy_id,
),
),
);
/** if ( ! post_type_exists( $post_type ) ) {
* Filter the query args when auto suggesting untranslated posts in the Languages metabox wp_die( 0 );
* This should help plugins to fix some edge cases }
*
* @see https://wordpress.org/support/topic/find-translated-post-when-10-is-not-enough $term = wp_unslash( $_GET['term'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput
*
* @since 1.7 $post_language = $this->model->get_language( sanitize_key( $_GET['post_language'] ) );
* $translation_language = $this->model->get_language( sanitize_key( $_GET['translation_language'] ) );
* @param array $args WP_Query arguments
*/
$args = apply_filters( 'pll_ajax_posts_not_translated_args', $args );
$posts = get_posts( $args );
$return = array(); $return = array();
foreach ( $posts as $key => $post ) { $untranslated_posts = $this->model->post->get_untranslated( $post_type, $post_language, $translation_language, $term );
if ( ! $this->model->post->get_translation( $post->ID, $post_language ) ) {
// format output
foreach ( $untranslated_posts as $post ) {
$return[] = array( $return[] = array(
'id' => $post->ID, 'id' => $post->ID,
'value' => $post->post_title, 'value' => $post->post_title,
'link' => $this->links->edit_post_translation_link( $post->ID ), 'link' => $this->links->edit_post_translation_link( $post->ID ),
); );
} }
}
// Add current translation in list // Add current translation in list
if ( $post_id = $this->model->post->get_translation( (int) $_GET['pll_post_id'], $translation_language ) ) { if ( $post_id = $this->model->post->get_translation( (int) $_GET['pll_post_id'], $translation_language ) ) {
...@@ -262,7 +269,7 @@ class PLL_Admin_Classic_Editor { ...@@ -262,7 +269,7 @@ class PLL_Admin_Classic_Editor {
); );
} }
wp_die( json_encode( $return ) ); wp_die( wp_json_encode( $return ) );
} }
/** /**
...@@ -275,11 +282,34 @@ class PLL_Admin_Classic_Editor { ...@@ -275,11 +282,34 @@ class PLL_Admin_Classic_Editor {
* @return array Modified arguments * @return array Modified arguments
*/ */
public function page_attributes_dropdown_pages_args( $dropdown_args, $post ) { public function page_attributes_dropdown_pages_args( $dropdown_args, $post ) {
$dropdown_args['lang'] = isset( $_POST['lang'] ) ? $this->model->get_language( $_POST['lang'] ) : $this->model->post->get_language( $post->ID ); // ajax or not ? $dropdown_args['lang'] = isset( $_POST['lang'] ) ? $this->model->get_language( sanitize_key( $_POST['lang'] ) ) : $this->model->post->get_language( $post->ID ); // phpcs:ignore WordPress.Security.NonceVerification
if ( ! $dropdown_args['lang'] ) { if ( ! $dropdown_args['lang'] ) {
$dropdown_args['lang'] = $this->pref_lang; $dropdown_args['lang'] = $this->pref_lang;
} }
return $dropdown_args; return $dropdown_args;
} }
/**
* Displays a notice if the user has not sufficient rights to overwrite synchronized taxonomies and metas
*
* @since 2.6
*
* @param object $post Post currently being edited
*/
public function edit_form_top( $post ) {
if ( ! $this->model->post->current_user_can_synchronize( $post->ID ) ) {
?>
<div class="pll-notice notice notice-warning">
<p>
<?php
esc_html_e( 'Some taxonomies or metadata may be synchronized with existing translations that you are not allowed to modify.', 'polylang' );
echo ' ';
esc_html_e( 'If you attempt to modify them anyway, your changes will not be saved.', 'polylang' );
?>
</p>
</div>
<?php
}
}
} }
...@@ -108,8 +108,8 @@ class PLL_Admin_Filters_Columns { ...@@ -108,8 +108,8 @@ class PLL_Admin_Filters_Columns {
* @param int $post_id * @param int $post_id
*/ */
public function post_column( $column, $post_id ) { public function post_column( $column, $post_id ) {
$inline = wp_doing_ajax() && isset( $_REQUEST['action'], $_POST['inline_lang_choice'] ) && 'inline-save' === $_REQUEST['action']; $inline = wp_doing_ajax() && isset( $_REQUEST['action'], $_POST['inline_lang_choice'] ) && 'inline-save' === $_REQUEST['action']; // phpcs:ignore WordPress.Security.NonceVerification
$lang = $inline ? $this->model->get_language( $_POST['inline_lang_choice'] ) : $this->model->post->get_language( $post_id ); $lang = $inline ? $this->model->get_language( sanitize_key( $_POST['inline_lang_choice'] ) ) : $this->model->post->get_language( $post_id ); // phpcs:ignore WordPress.Security.NonceVerification
if ( false === strpos( $column, 'language_' ) || ! $lang ) { if ( false === strpos( $column, 'language_' ) || ! $lang ) {
return; return;
...@@ -155,7 +155,7 @@ class PLL_Admin_Filters_Columns { ...@@ -155,7 +155,7 @@ class PLL_Admin_Filters_Columns {
} }
// Link to add a new translation // Link to add a new translation
else { else {
echo $this->links->new_post_translation_link( $post_id, $language ); echo $this->links->new_post_translation_link( $post_id, $language ); // phpcs:ignore WordPress.Security.EscapeOutput
} }
} }
...@@ -173,7 +173,7 @@ class PLL_Admin_Filters_Columns { ...@@ -173,7 +173,7 @@ class PLL_Admin_Filters_Columns {
$elements = $this->model->get_languages_list(); $elements = $this->model->get_languages_list();
if ( current_filter() == 'bulk_edit_custom_box' ) { if ( current_filter() == 'bulk_edit_custom_box' ) {
array_unshift( $elements, (object) array( 'slug' => -1, 'name' => __( '&mdash; No Change &mdash;' ) ) ); array_unshift( $elements, (object) array( 'slug' => -1, 'name' => __( '&mdash; No Change &mdash;', 'polylang' ) ) );
} }
$dropdown = new PLL_Walker_Dropdown(); $dropdown = new PLL_Walker_Dropdown();
...@@ -188,7 +188,7 @@ class PLL_Admin_Filters_Columns { ...@@ -188,7 +188,7 @@ class PLL_Admin_Filters_Columns {
</div> </div>
</fieldset>', </fieldset>',
esc_html__( 'Language', 'polylang' ), esc_html__( 'Language', 'polylang' ),
$dropdown->walk( $elements, array( 'name' => 'inline_lang_choice', 'id' => '' ) ) $dropdown->walk( $elements, array( 'name' => 'inline_lang_choice', 'id' => '' ) ) // phpcs:ignore WordPress.Security.EscapeOutput
); );
} }
return $column; return $column;
...@@ -216,13 +216,26 @@ class PLL_Admin_Filters_Columns { ...@@ -216,13 +216,26 @@ class PLL_Admin_Filters_Columns {
* @param int $term_id * @param int $term_id
*/ */
public function term_column( $out, $column, $term_id ) { public function term_column( $out, $column, $term_id ) {
$inline = wp_doing_ajax() && isset( $_REQUEST['action'], $_POST['inline_lang_choice'] ) && 'inline-save-tax' === $_REQUEST['action']; $inline = wp_doing_ajax() && isset( $_REQUEST['action'], $_POST['inline_lang_choice'] ) && 'inline-save-tax' === $_REQUEST['action']; // phpcs:ignore WordPress.Security.NonceVerification
if ( false === strpos( $column, 'language_' ) || ! ( $lang = $inline ? $this->model->get_language( $_POST['inline_lang_choice'] ) : $this->model->term->get_language( $term_id ) ) ) { if ( false === strpos( $column, 'language_' ) || ! ( $lang = $inline ? $this->model->get_language( sanitize_key( $_POST['inline_lang_choice'] ) ) : $this->model->term->get_language( $term_id ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification
return $out; return $out;
} }
$post_type = isset( $GLOBALS['post_type'] ) ? $GLOBALS['post_type'] : $_REQUEST['post_type']; // 2nd case for quick edit if ( isset( $_REQUEST['post_type'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$taxonomy = isset( $GLOBALS['taxonomy'] ) ? $GLOBALS['taxonomy'] : $_REQUEST['taxonomy']; $post_type = sanitize_key( $_REQUEST['post_type'] ); // phpcs:ignore WordPress.Security.NonceVerification
}
if ( isset( $GLOBALS['post_type'] ) ) {
$post_type = $GLOBALS['post_type'];
}
if ( isset( $_REQUEST['taxonomy'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$taxonomy = sanitize_key( $_REQUEST['taxonomy'] ); // phpcs:ignore WordPress.Security.NonceVerification
}
if ( isset( $GLOBALS['taxonomy'] ) ) {
$taxonomy = $GLOBALS['taxonomy'];
}
if ( ! post_type_exists( $post_type ) || ! taxonomy_exists( $taxonomy ) ) { if ( ! post_type_exists( $post_type ) || ! taxonomy_exists( $taxonomy ) ) {
return $out; return $out;
...@@ -282,21 +295,29 @@ class PLL_Admin_Filters_Columns { ...@@ -282,21 +295,29 @@ class PLL_Admin_Filters_Columns {
* @since 1.7 * @since 1.7
*/ */
public function ajax_update_post_rows() { public function ajax_update_post_rows() {
global $wp_list_table; check_ajax_referer( 'inlineeditnonce', '_pll_nonce' );
if ( ! post_type_exists( $post_type = $_POST['post_type'] ) || ! $this->model->is_translated_post_type( $post_type ) ) { if ( ! isset( $_POST['post_type'], $_POST['post_id'], $_POST['screen'] ) ) {
die( 0 ); wp_die( 0 );
} }
check_ajax_referer( 'inlineeditnonce', '_pll_nonce' ); $post_type = sanitize_key( $_POST['post_type'] );
if ( ! post_type_exists( $post_type ) || ! $this->model->is_translated_post_type( $post_type ) ) {
wp_die( 0 );
}
global $wp_list_table;
$wp_list_table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => sanitize_key( $_POST['screen'] ) ) );
$x = new WP_Ajax_Response(); $x = new WP_Ajax_Response();
$wp_list_table = _get_list_table( 'WP_Posts_List_Table', array( 'screen' => $_POST['screen'] ) );
$translations = empty( $_POST['translations'] ) ? array() : explode( ',', $_POST['translations'] ); // collect old translations // Collect old translations
$translations = array_merge( $translations, array( $_POST['post_id'] ) ); // add current post $translations = empty( $_POST['translations'] ) ? array() : explode( ',', $_POST['translations'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput
$translations = array_map( 'intval', $translations ); $translations = array_map( 'intval', $translations );
$translations = array_merge( $translations, array( (int) $_POST['post_id'] ) ); // Add current post
foreach ( $translations as $post_id ) { foreach ( $translations as $post_id ) {
$level = is_post_type_hierarchical( $post_type ) ? count( get_ancestors( $post_id, $post_type ) ) : 0; $level = is_post_type_hierarchical( $post_type ) ? count( get_ancestors( $post_id, $post_type ) ) : 0;
if ( $post = get_post( $post_id ) ) { if ( $post = get_post( $post_id ) ) {
...@@ -316,22 +337,30 @@ class PLL_Admin_Filters_Columns { ...@@ -316,22 +337,30 @@ class PLL_Admin_Filters_Columns {
* @since 1.7 * @since 1.7
*/ */
public function ajax_update_term_rows() { public function ajax_update_term_rows() {
global $wp_list_table; check_ajax_referer( 'pll_language', '_pll_nonce' );
if ( ! taxonomy_exists( $taxonomy = $_POST['taxonomy'] ) || ! $this->model->is_translated_taxonomy( $taxonomy ) ) { if ( ! isset( $_POST['taxonomy'], $_POST['term_id'], $_POST['screen'] ) ) {
die( 0 ); wp_die( 0 );
} }
check_ajax_referer( 'pll_language', '_pll_nonce' ); $taxonomy = sanitize_key( $_POST['taxonomy'] );
if ( ! taxonomy_exists( $taxonomy ) || ! $this->model->is_translated_taxonomy( $taxonomy ) ) {
wp_die( 0 );
}
global $wp_list_table;
$wp_list_table = _get_list_table( 'WP_Terms_List_Table', array( 'screen' => sanitize_key( $_POST['screen'] ) ) );
$x = new WP_Ajax_Response(); $x = new WP_Ajax_Response();
$wp_list_table = _get_list_table( 'WP_Terms_List_Table', array( 'screen' => $_POST['screen'] ) );
$translations = empty( $_POST['translations'] ) ? array() : explode( ',', $_POST['translations'] ); // collect old translations // Collect old translations
$translations = array_merge( $translations, $this->model->term->get_translations( (int) $_POST['term_id'] ) ); // add current translations $translations = empty( $_POST['translations'] ) ? array() : explode( ',', $_POST['translations'] ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput
$translations = array_unique( $translations ); // remove duplicates
$translations = array_map( 'intval', $translations ); $translations = array_map( 'intval', $translations );
$translations = array_merge( $translations, $this->model->term->get_translations( (int) $_POST['term_id'] ) ); // Add current translations
$translations = array_unique( $translations ); // Remove duplicates
foreach ( $translations as $term_id ) { foreach ( $translations as $term_id ) {
$level = is_taxonomy_hierarchical( $taxonomy ) ? count( get_ancestors( $term_id, $taxonomy ) ) : 0; $level = is_taxonomy_hierarchical( $taxonomy ) ? count( get_ancestors( $term_id, $taxonomy ) ) : 0;
if ( $tag = get_term( $term_id, $taxonomy ) ) { if ( $tag = get_term( $term_id, $taxonomy ) ) {
......
...@@ -28,7 +28,7 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base { ...@@ -28,7 +28,7 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
add_filter( 'attachment_fields_to_save', array( $this, 'save_media' ), 10, 2 ); add_filter( 'attachment_fields_to_save', array( $this, 'save_media' ), 10, 2 );
// Creates a media translation // Creates a media translation
if ( isset( $_GET['action'], $_GET['new_lang'], $_GET['from_media'] ) && 'translate_media' === $_GET['action'] ) { if ( isset( $_GET['action'], $_GET['new_lang'], $_GET['from_media'] ) && 'translate_media' === $_GET['action'] ) { // phpcs:ignore WordPress.Security.NonceVerification
add_action( 'admin_init', array( $this, 'translate_media' ) ); add_action( 'admin_init', array( $this, 'translate_media' ) );
} }
} }
...@@ -74,6 +74,7 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base { ...@@ -74,6 +74,7 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
* @since 0.9 * @since 0.9
*/ */
public function translate_media() { public function translate_media() {
if ( isset( $_GET['from_media'], $_GET['new_lang'] ) ) {
// Security check // Security check
check_admin_referer( 'translate_media' ); check_admin_referer( 'translate_media' );
$post_id = (int) $_GET['from_media']; $post_id = (int) $_GET['from_media'];
...@@ -81,15 +82,16 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base { ...@@ -81,15 +82,16 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
// Bails if the translations already exists // Bails if the translations already exists
// See https://wordpress.org/support/topic/edit-translation-in-media-attachments?#post-7322303 // See https://wordpress.org/support/topic/edit-translation-in-media-attachments?#post-7322303
// Or if the source media does not exist // Or if the source media does not exist
if ( $this->model->post->get_translation( $post_id, $_GET['new_lang'] ) || ! get_post( $post_id ) ) { if ( $this->model->post->get_translation( $post_id, sanitize_key( $_GET['new_lang'] ) ) || ! get_post( $post_id ) ) {
wp_safe_redirect( wp_get_referer() ); wp_safe_redirect( wp_get_referer() );
exit; exit;
} }
$tr_id = $this->posts->create_media_translation( $post_id, $_GET['new_lang'] ); $tr_id = $this->posts->create_media_translation( $post_id, sanitize_key( $_GET['new_lang'] ) );
wp_safe_redirect( admin_url( sprintf( 'post.php?post=%d&action=edit', $tr_id ) ) ); // WP 3.5+ wp_safe_redirect( admin_url( sprintf( 'post.php?post=%d&action=edit', $tr_id ) ) ); // WP 3.5+
exit; exit;
} }
}
/** /**
* Called when a media is saved * Called when a media is saved
...@@ -108,8 +110,8 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base { ...@@ -108,8 +110,8 @@ class PLL_Admin_Filters_Media extends PLL_Admin_Filters_Post_Base {
$this->model->post->set_language( $post['ID'], $attachment['language'] ); $this->model->post->set_language( $post['ID'], $attachment['language'] );
} }
if ( isset( $_POST['media_tr_lang'] ) ) { if ( isset( $_POST['media_tr_lang'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$this->save_translations( $post['ID'], $_POST['media_tr_lang'] ); $this->save_translations( $post['ID'], array_map( 'absint', $_POST['media_tr_lang'] ) ); // phpcs:ignore WordPress.Security.NonceVerification
} }
return $post; return $post;
......
...@@ -104,17 +104,17 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base { ...@@ -104,17 +104,17 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base {
* @since 2.3 * @since 2.3
*/ */
public function edit_post() { public function edit_post() {
if ( isset( $_POST['post_lang_choice'], $_POST['post_ID'] ) && $post_id = (int) $_POST['post_ID'] ) { if ( isset( $_POST['post_lang_choice'], $_POST['post_ID'] ) && $post_id = (int) $_POST['post_ID'] ) { // phpcs:ignore WordPress.Security.NonceVerification
check_admin_referer( 'pll_language', '_pll_nonce' ); check_admin_referer( 'pll_language', '_pll_nonce' );
$post = get_post( $post_id ); $post = get_post( $post_id );
$post_type_object = get_post_type_object( $post->post_type ); $post_type_object = get_post_type_object( $post->post_type );
if ( current_user_can( $post_type_object->cap->edit_post, $post_id ) ) { if ( current_user_can( $post_type_object->cap->edit_post, $post_id ) ) {
$this->model->post->set_language( $post_id, $this->model->get_language( $_POST['post_lang_choice'] ) ); $this->model->post->set_language( $post_id, $this->model->get_language( sanitize_key( $_POST['post_lang_choice'] ) ) );
if ( isset( $_POST['post_tr_lang'] ) ) { if ( isset( $_POST['post_tr_lang'] ) ) {
$this->save_translations( $post_id, $_POST['post_tr_lang'] ); $this->save_translations( $post_id, array_map( 'absint', $_POST['post_tr_lang'] ) );
} }
} }
} }
...@@ -160,10 +160,10 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base { ...@@ -160,10 +160,10 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base {
* @since 2.3 * @since 2.3
*/ */
public function bulk_edit_posts() { public function bulk_edit_posts() {
if ( isset( $_GET['bulk_edit'], $_GET['inline_lang_choice'] ) && -1 !== $_GET['inline_lang_choice'] ) { if ( isset( $_GET['bulk_edit'], $_GET['inline_lang_choice'], $_REQUEST['post'] ) && -1 !== $_GET['inline_lang_choice'] ) { // phpcs:ignore WordPress.Security.NonceVerification
check_admin_referer( 'bulk-posts' ); check_admin_referer( 'bulk-posts' );
if ( $lang = $this->model->get_language( $_GET['inline_lang_choice'] ) ) { if ( $lang = $this->model->get_language( sanitize_key( $_GET['inline_lang_choice'] ) ) ) {
$post_ids = array_map( 'intval', (array) $_REQUEST['post'] ); $post_ids = array_map( 'intval', (array) $_REQUEST['post'] );
foreach ( $post_ids as $post_id ) { foreach ( $post_ids as $post_id ) {
$this->inline_save_language( $post_id, $lang ); $this->inline_save_language( $post_id, $lang );
...@@ -182,7 +182,7 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base { ...@@ -182,7 +182,7 @@ class PLL_Admin_Filters_Post extends PLL_Admin_Filters_Post_Base {
if ( isset( $_POST['post_ID'], $_POST['inline_lang_choice'] ) ) { if ( isset( $_POST['post_ID'], $_POST['inline_lang_choice'] ) ) {
$post_id = (int) $_POST['post_ID']; $post_id = (int) $_POST['post_ID'];
$lang = $this->model->get_language( $_POST['inline_lang_choice'] ); $lang = $this->model->get_language( sanitize_key( $_POST['inline_lang_choice'] ) );
if ( $post_id && $lang ) { if ( $post_id && $lang ) {
$this->inline_save_language( $post_id, $lang ); $this->inline_save_language( $post_id, $lang );
} }
......
...@@ -57,14 +57,11 @@ class PLL_Admin_Filters extends PLL_Filters { ...@@ -57,14 +57,11 @@ class PLL_Admin_Filters extends PLL_Filters {
$screen = get_current_screen(); $screen = get_current_screen();
// Test the Widgets screen and the Customizer to avoid displaying the option in page builders // Test the Widgets screen and the Customizer to avoid displaying the option in page builders
// Saving the widget reloads the form. And curiously the action is in $_REQUEST but neither in $_POST, not in $_GET. // Saving the widget reloads the form. And curiously the action is in $_REQUEST but neither in $_POST, nor in $_GET.
if ( ( isset( $screen ) && 'widgets' === $screen->base ) || ( isset( $_REQUEST['action'] ) && 'save-widget' === $_REQUEST['action'] ) || isset( $GLOBALS['wp_customize'] ) ) { if ( ( isset( $screen ) && 'widgets' === $screen->base ) || ( isset( $_REQUEST['action'] ) && 'save-widget' === $_REQUEST['action'] ) || isset( $GLOBALS['wp_customize'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$dropdown = new PLL_Walker_Dropdown(); $dropdown = new PLL_Walker_Dropdown();
printf(
'<p><label for="%1$s">%2$s %3$s</label></p>', $dropdown_html = $dropdown->walk(
esc_attr( $widget->id . '_lang_choice' ),
esc_html__( 'The widget is displayed for:', 'polylang' ),
$dropdown->walk(
array_merge( array_merge(
array( (object) array( 'slug' => 0, 'name' => __( 'All languages', 'polylang' ) ) ), array( (object) array( 'slug' => 0, 'name' => __( 'All languages', 'polylang' ) ) ),
$this->model->get_languages_list() $this->model->get_languages_list()
...@@ -74,7 +71,13 @@ class PLL_Admin_Filters extends PLL_Filters { ...@@ -74,7 +71,13 @@ class PLL_Admin_Filters extends PLL_Filters {
'class' => 'tags-input pll-lang-choice', 'class' => 'tags-input pll-lang-choice',
'selected' => empty( $instance['pll_lang'] ) ? '' : $instance['pll_lang'], 'selected' => empty( $instance['pll_lang'] ) ? '' : $instance['pll_lang'],
) )
) );
printf(
'<p><label for="%1$s">%2$s %3$s</label></p>',
esc_attr( $widget->id . '_lang_choice' ),
esc_html__( 'The widget is displayed for:', 'polylang' ),
$dropdown_html // phpcs:ignore WordPress.Security.EscapeOutput
); );
} }
} }
...@@ -92,8 +95,10 @@ class PLL_Admin_Filters extends PLL_Filters { ...@@ -92,8 +95,10 @@ class PLL_Admin_Filters extends PLL_Filters {
* @return array Widget options * @return array Widget options
*/ */
public function widget_update_callback( $instance, $new_instance, $old_instance, $widget ) { public function widget_update_callback( $instance, $new_instance, $old_instance, $widget ) {
if ( ! empty( $_POST[ $key = $widget->id . '_lang_choice' ] ) && in_array( $_POST[ $key ], $this->model->get_languages_list( array( 'fields' => 'slug' ) ) ) ) { $key = $widget->id . '_lang_choice';
$instance['pll_lang'] = $_POST[ $key ];
if ( ! empty( $_POST[ $key ] ) && $lang = $this->model->get_language( sanitize_key( $_POST[ $key ] ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$instance['pll_lang'] = $lang->slug;
} else { } else {
unset( $instance['pll_lang'] ); unset( $instance['pll_lang'] );
} }
...@@ -112,7 +117,7 @@ class PLL_Admin_Filters extends PLL_Filters { ...@@ -112,7 +117,7 @@ class PLL_Admin_Filters extends PLL_Filters {
// Biography translations // Biography translations
foreach ( $this->model->get_languages_list() as $lang ) { foreach ( $this->model->get_languages_list() as $lang ) {
$meta = $lang->slug == $this->options['default_lang'] ? 'description' : 'description_' . $lang->slug; $meta = $lang->slug == $this->options['default_lang'] ? 'description' : 'description_' . $lang->slug;
$description = empty( $_POST[ 'description_' . $lang->slug ] ) ? '' : trim( $_POST[ 'description_' . $lang->slug ] ); $description = empty( $_POST[ 'description_' . $lang->slug ] ) ? '' : trim( $_POST[ 'description_' . $lang->slug ] ); // phpcs:ignore WordPress.Security.NonceVerification, WordPress.Security.ValidatedSanitizedInput
/** This filter is documented in wp-includes/user.php */ /** This filter is documented in wp-includes/user.php */
$description = apply_filters( 'pre_user_description', $description ); // Applies WP default filter wp_filter_kses $description = apply_filters( 'pre_user_description', $description ); // Applies WP default filter wp_filter_kses
...@@ -183,11 +188,11 @@ class PLL_Admin_Filters extends PLL_Filters { ...@@ -183,11 +188,11 @@ class PLL_Admin_Filters extends PLL_Filters {
* @return string * @return string
*/ */
public function get_locale( $locale ) { public function get_locale( $locale ) {
if ( isset( $_POST['post_lang_choice'] ) && $lang = $this->model->get_language( $_POST['post_lang_choice'] ) ) { if ( isset( $_POST['post_lang_choice'] ) && $lang = $this->model->get_language( sanitize_key( $_POST['post_lang_choice'] ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$locale = $lang->locale; $locale = $lang->locale;
} elseif ( isset( $_POST['term_lang_choice'] ) && $lang = $this->model->get_language( $_POST['term_lang_choice'] ) ) { } elseif ( isset( $_POST['term_lang_choice'] ) && $lang = $this->model->get_language( sanitize_key( $_POST['term_lang_choice'] ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$locale = $lang->locale; $locale = $lang->locale;
} elseif ( isset( $_POST['inline_lang_choice'] ) && $lang = $this->model->get_language( $_POST['inline_lang_choice'] ) ) { } elseif ( isset( $_POST['inline_lang_choice'] ) && $lang = $this->model->get_language( sanitize_key( $_POST['inline_lang_choice'] ) ) ) { // phpcs:ignore WordPress.Security.NonceVerification
$locale = $lang->locale; $locale = $lang->locale;
} elseif ( ! empty( $this->curlang ) ) { } elseif ( ! empty( $this->curlang ) ) {
$locale = $this->curlang->locale; $locale = $this->curlang->locale;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* @since 2.3.9 * @since 2.3.9
*/ */
class PLL_Admin_Notices { class PLL_Admin_Notices {
static private $notices = array(); private static $notices = array();
/** /**
* Constructor * Constructor
...@@ -155,7 +155,8 @@ class PLL_Admin_Notices { ...@@ -155,7 +155,8 @@ class PLL_Admin_Notices {
printf( printf(
'<a class="notice-dismiss" href="%s"><span class="screen-reader-text">%s</span></a>', '<a class="notice-dismiss" href="%s"><span class="screen-reader-text">%s</span></a>',
esc_url( wp_nonce_url( add_query_arg( 'pll-hide-notice', $name ), $name, '_pll_notice_nonce' ) ), esc_url( wp_nonce_url( add_query_arg( 'pll-hide-notice', $name ), $name, '_pll_notice_nonce' ) ),
esc_html__( 'Dismiss this notice.' ) /* translators: accessibility text */
esc_html__( 'Dismiss this notice.', 'polylang' )
); );
} }
...@@ -173,7 +174,7 @@ class PLL_Admin_Notices { ...@@ -173,7 +174,7 @@ class PLL_Admin_Notices {
<?php <?php
printf( printf(
/* translators: %1$s is link start tag, %2$s is link end tag. */ /* translators: %1$s is link start tag, %2$s is link end tag. */
esc_html__( 'We have noticed that you are using Polylang with WooCommerce. We recommend you to use %1$sPolylang for WooCommerce%2$s to ensure the compatibility.', 'polylang' ), esc_html__( 'We have noticed that you are using Polylang with WooCommerce. To ensure compatibility, we recommend you use %1$sPolylang for WooCommerce%2$s.', 'polylang' ),
'<a href="https://polylang.pro/downloads/polylang-for-woocommerce/">', '<a href="https://polylang.pro/downloads/polylang-for-woocommerce/">',
'</a>' '</a>'
); );
...@@ -198,7 +199,7 @@ class PLL_Admin_Notices { ...@@ -198,7 +199,7 @@ class PLL_Admin_Notices {
<?php <?php
printf( printf(
/* translators: %1$s is link start tag, %2$s is link end tag. */ /* translators: %1$s is link start tag, %2$s is link end tag. */
esc_html__( 'We have noticed that you are using Polylang for some time. We hope that you love it! We would be thrilled if you could %1$sgive us a 5 stars rating%2$s.', 'polylang' ), esc_html__( 'We have noticed that you have been using Polylang for some time. We hope you love it, and we would really appreciate it if you would %1$sgive us a 5 stars rating%2$s.', 'polylang' ),
'<a href="https://wordpress.org/support/plugin/polylang/reviews/?rate=5#new-post">', '<a href="https://wordpress.org/support/plugin/polylang/reviews/?rate=5#new-post">',
'</a>' '</a>'
); );
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* @since 1.8 * @since 1.8
*/ */
class PLL_Admin_Static_Pages extends PLL_Static_Pages { class PLL_Admin_Static_Pages extends PLL_Static_Pages {
protected $links;
/** /**
* Constructor: setups filters and actions * Constructor: setups filters and actions
...@@ -17,6 +18,8 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages { ...@@ -17,6 +18,8 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages {
public function __construct( &$polylang ) { public function __construct( &$polylang ) {
parent::__construct( $polylang ); parent::__construct( $polylang );
$this->links = &$polylang->links;
// Removes the editor and the template select dropdown for pages for posts // Removes the editor and the template select dropdown for pages for posts
add_filter( 'use_block_editor_for_post', array( $this, 'use_block_editor_for_post' ), 10, 2 ); // Since WP 5.0 add_filter( 'use_block_editor_for_post', array( $this, 'use_block_editor_for_post' ), 10, 2 ); // Since WP 5.0
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 10, 2 ); add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 10, 2 );
...@@ -33,6 +36,8 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages { ...@@ -33,6 +36,8 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages {
// Prevents WP resetting the option // Prevents WP resetting the option
add_filter( 'pre_update_option_show_on_front', array( $this, 'update_show_on_front' ), 10, 2 ); add_filter( 'pre_update_option_show_on_front', array( $this, 'update_show_on_front' ), 10, 2 );
add_action( 'admin_notices', array( $this, 'notice_must_translate' ) );
} }
/** /**
...@@ -87,11 +92,11 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages { ...@@ -87,11 +92,11 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages {
*/ */
public function display_post_states( $post_states, $post ) { public function display_post_states( $post_states, $post ) {
if ( in_array( $post->ID, $this->model->get_languages_list( array( 'fields' => 'page_on_front' ) ) ) ) { if ( in_array( $post->ID, $this->model->get_languages_list( array( 'fields' => 'page_on_front' ) ) ) ) {
$post_states['page_on_front'] = __( 'Front Page' ); $post_states['page_on_front'] = __( 'Front Page', 'polylang' );
} }
if ( in_array( $post->ID, $this->model->get_languages_list( array( 'fields' => 'page_for_posts' ) ) ) ) { if ( in_array( $post->ID, $this->model->get_languages_list( array( 'fields' => 'page_for_posts' ) ) ) ) {
$post_states['page_for_posts'] = __( 'Posts Page' ); $post_states['page_for_posts'] = __( 'Posts Page', 'polylang' );
} }
return $post_states; return $post_states;
...@@ -184,4 +189,40 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages { ...@@ -184,4 +189,40 @@ class PLL_Admin_Static_Pages extends PLL_Static_Pages {
} }
return $value; return $value;
} }
/**
* Add a notice to translate the static front page if it is not translated in all languages
* This is especially useful after a new language is created.
* The notice is not dismissible and displayed on the Languages pages and the list of pages.
*
* @since 2.6
*/
public function notice_must_translate() {
$screen = get_current_screen();
if ( $this->page_on_front && ( 'toplevel_page_mlang' === $screen->id || 'edit-page' === $screen->id ) ) {
$untranslated = array();
foreach ( $this->model->get_languages_list() as $language ) {
if ( ! $this->model->post->get( $this->page_on_front, $language ) ) {
$untranslated[] = sprintf(
'<a href="%s">%s</a>',
esc_url( $this->links->get_new_post_translation_link( $this->page_on_front, $language ) ),
esc_html( $language->name )
);
}
}
if ( ! empty( $untranslated ) ) {
printf(
'<div class="error"><p>%s</p></div>',
sprintf(
/* translators: %s is a comma separated list of native language names */
esc_html__( 'You must translate your static front page in %s.', 'polylang' ),
implode( ', ', $untranslated ) // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
)
);
}
}
}
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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