Files
opensourcepos/app/Language/uk/Config.php
T
184918d914 fix(security): handle special characters in .env key values and improve insertion logic (#4656)
* fix(security): handle special characters in `.env` key values and improve insertion logic

- Escape backslashes and dollar signs in `applyEnvKeyReplacement` to prevent unintended value corruption.
- Ensure new keys are inserted after `encryption.key` for better organization and manageability.
- Add explicit cast to int to prevent wrong concatenation operator warning.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): handle null return in `applyEnvKeyReplacement` and ensure proper `.env` updates

- Update `applyEnvKeyReplacement` to return `null` on failure, improving error handling.
- Adjust calls to `atomicWriteFile` with updated content to prevent unintended behavior.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): improve error logging and exception messages in file locking

- Add detailed logging for file open and locking errors in `security_helper`.
- Remove unused `helper` and `checkThrottleEncryption` calls from `Events` for cleanup.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): improve atomic file write and handle encryption key placement

- Throw `RandomException` for better error reporting in `atomicWriteFile`.
- Simplify Windows-specific `rename()` fallback logic.
- Fix `encryption.key` assignment order to ensure consistency in `.env` updates.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): improve `.env` file handling and add unit tests for helper functions

- Suppress warnings in `file_get_contents` to prevent unnecessary error logs.
- Update `applyEnvKeyReplacement` to use `preg_replace_callback` for better safety.
- Add comprehensive unit tests for `security_helper` functions to ensure `.env` updates and key management work as expected.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): enhance `.env` update logic and add robust exception handling

- Add `RandomException` to improve error reporting in encryption key management.
- Introduce environment file locking for safer `.env` updates.
- Ensure `applyEnvKeyReplacement` properly handles and inserts old key comments.
- Replace direct file writes with `atomicWriteFile` for consistency.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): refactor `.env` file initialization and encryption key handling

- Introduce `initializeEnvFile` for reusable `.env` setup logic.
- Add `backupEnvFile` and `writeNewEncryptionKey` for robust key management with backups.
- Simplify and clean up redundant `.env` handling code paths.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): clarify `checkEncryption` docblock return value description

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(security): escape backslashes and dollar signs in `applyEnvKeyReplacement`

- Ensure `applyEnvKeyReplacement` properly escapes special characters when inserting or appending `.env` keys.
- Add new unit tests to validate correct handling of backslashes and dollar signs.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* fix(i18n): add localized error messages and improve error reporting in `security_helper`

- Add missing translations for error messages across multiple language files.
- Update `security_helper` to use localized exception messages with placeholders.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>

* Redesign encryption/throttle key provisioning as read-only runtime

- checkEncryption()/checkThrottleEncryption() are now read-only guards that
  throw when no valid key is provisioned, instead of writing .env at
  request time.
- Add rotateEncryptionKey() and provisionThrottleKey() for explicit,
  idempotent provisioning.
- Add php spark env:provision (app/Commands/EnvProvision.php) so Docker can
  provision keys once at container startup before any request.
- Add app/Libraries/CI3SecretConverter.php shared CI3->CI4 secret converter
  (AES-128-CBC decrypt + CI4 re-encrypt/verify/save) used by both the
  interactive migration and the docker startup path.
- Refactor convertToCI4 migration to use the shared converter.
- Persist .env in a named volume and run spark env:provision on boot; stop
  baking .env into the shipped image.
- Add guard/rotation/throttle + converter tests; clean up orphaned
  msg_pwd_required language keys across all locales.

* fix: save CI4 ciphertext in env:provision and bind-mount a .env file

Addresses CodeRabbit review on PR #4656:

- env:provision CI3 branch was persisting *plaintext* secrets (saveAll($plain))
  instead of the CI4 ciphertext, unlike the ConvertToCI4 migration. Now
  encrypts with encryptAll(), verifies the round trip, and saves the ciphertext.
- The ospos_env named volume mounted at /app/.env made .env a directory, so
  atomicWriteFile's rename() failed and spark env:provision could not start apache.
  Switch to a bind mount of a host file (./.env) which persists and stays a file.
- Add a regression test asserting the command persists ciphertext (not plaintext).

* chore: trim redundant docblocks in EnvProvision and provision throttle.key in CI

Follow up on @objecttothis review comments:
- app/Commands/EnvProvision.php: remove the boilerplate docblocks the
  property names already convey (group/name/usage/description, run()),
  the two inline step comments, the anyNonEmpty() param docblock, and the
  legacySecretsPresent() docblock. Keeps the class-level docblock since it
  is the only place that states the read-only runtime design + the
  never-persist-plaintext invariant.
- .github/workflows/phpunit.yml: provision a per-run throttle.key the same
  way the encryption key is already provisioned. The PR makes
  checkThrottleEncryption() a read-only guard that throws when
  env('throttle.key') is unset; CI only started exporting ENCRYPTION_KEY,
  so every test that goes through the Throttle filter (7 ThrottleTest
  cases + 4 LoginTest cases) failed with
  "No throttle key is provisioned. Run `php spark env:provision`".
  Writing `throttle.key=<KEY>` into .env matches what
  `php spark env:provision` does on a real container start.

* fix(ci): write throttle.key into .env instead of exporting an OS env var

The previous attempt exported throttle.key via GITHUB_ENV, but CodeIgniter's
env() helper resolves in the order $_ENV[$key] ?? $_SERVER[$key] ?? getenv($key),
and DotEnv populates $_ENV['throttle.key'] from the .env file first. Because the
.env (copied from .env.example) ships with the empty placeholder throttle.key='',
that $_ENV entry exists as '' and short-circuits the ?? chain before getenv()
is reached — so the OS env var was never consulted and every Throttle/Login test
still threw 'No throttle key is provisioned'.

Write the per-run key into the .env file itself (sed-replacing the empty
placeholder), which is exactly what `php spark env:provision` does in
production and is the single source env() actually reads from.

Verify the replacement happened (grep -Eq '^throttle\.key=.') so a future change
to the placeholder format fails the run loudly instead of silently breaking
the 11 throttle-dependent tests.

* fix(security): restore CI3->CI4 auto-provisioning gated by .env writability

checkEncryption()/checkThrottleEncryption() again provision the keys
inline when .env is writable (empty key -> generate; short key -> decrypt,
rotate, re-encrypt, verify, persist legacy CI3 secrets). When .env is not
writable they assume the key was provisioned externally (e.g. docker
env:provision) and throw. Update helper tests to match and correct the
EnvProvision docblock that claimed the runtime was strictly read-only.

* test(security): make short-key conversion branch injectable and test it

checkEncryption() now accepts an optional CI3SecretConverter so the
CI3->CI4 conversion branch can be exercised in unit tests without a
database. Adds testCheckEncryptionConvertsCi3ShortKeyWhenEnvWritable
which seeds CI3-era ciphertexts via a fake Appconfig model and asserts
the key is rotated and the payload verifies back to the original
plaintext.

* fix(security): abort on backup/read/saveAll failure to avoid data loss

Three related data-integrity fixes:

- backupEnvFile() now returns true/false based on whether the backup
  actually exists and is readable. rotateEncryptionKey() aborts before
  destroying the key when the backup could not be written to disk.

- rotateEncryptionKey() and provisionThrottleKey() throw
  RuntimeException(Error.unable_to_read_env_file) when the .env read
  fails, instead of silently replacing the whole file with an empty
  string. This prevents a permission error from wiping all keys.

- checkEncryption() and EnvProvision::run() now both roll back to the
  backup with abortEncryptionConversion() when the post-rotation
  saveAll() throws, matching the migration path (which already did this).
  A failing fake Appconfig is used to exercise this in the new
  testCheckEncryptionRollsBackWhenSaveAllFails test.

* fix(ci): skip comment job in deploy-pr.yml when prepare was not run

The comment job had if: always(), so it ran even when the prepare job
was skipped (e.g. review was not approved). With PR_NUMBER empty the gh
api call posted to issues//comments, received a 404, and the entire run
showed up as failure. Guard the job with
needs.prepare.result == 'success' so it only runs when PR_NUMBER is valid.

* address coderabbit open items: placeholder guards, message neutrality, ar-EG alignment

- backupEnvFile(): fail when mkdir() or either chmod() fails, so the
  pre-rotation backup is actually persisted before the key is replaced
- email/message config views: only show the 'already set' placeholder when
  the secret is actually present (prevented false positives on fresh installs)
- Error.unable_to_create_env_file / .unable_to_read_env_file (en + en-GB):
  use key-neutral wording since both keys are provisioned with the same keys
- ar-EG/Error.php: align all => arrows on the longest key

Item 7 (filesystem test isolation) is a larger refactor — the tests are
serial on CI and tearDown() restores state per test. Left for follow-up.

* test(security): isolate helper FS tests via Config\SecurityEnv

Introduce Config\SecurityEnv holding envPath/backupPath/lockPath so the
security helper reads its target paths from shared configuration instead of
hardcoded ROOTPATH/WRITEPATH literals. security_helperTest.php now redirects
all three to a unique per-run sandbox under sys_get_temp_dir() and tears it
down in tearDown(), so the suite no longer reads/writes the repository's real
.env and is safe to run in parallel.

No helper signature changes; production callers unaffected.

Addresses CodeRabbit item 7 (issue #4700).

Co-Authored-By: opencode <bot@opencode.ai>

* fix(security): run key-conversion as one locked transaction

Address CodeRabbit Major findings from the 4th re-review of the env
helper and its callers:

1. Hold .env.lock for the entire CI3 -> CI4 conversion transaction
   (backup -> rotate -> re-encrypt -> verify -> persist -> cleanup) so a
   concurrent worker cannot interleave a key write between the rotation
   and the ciphertext save. Split rotateEncryptionKey into a lock-free
   core (rotateEncryptionKeyUnlock) plus the existing lock wrapper and a
   new rotateEncryptionKeyTransaction that owns the lock across the full
   unit and performs both the in-lock rollback (abortEncryptionConversion)
   and the in-lock backup removal on success.

2. Treat the legacy value '0' as non-empty data so key rotation still
   persists the re-encrypted ciphertext when '0' is the only stored
   secret (array_filter would have dropped it and skipped saveAll).

3. Wrap the post-rotation re-encrypt/verify/saveAll sequence in a
   catch (Throwable) across all three call-sites so CI4
   EncryptionException, ReflectionException from batch_save, a failed
   round-trip verify, and any other failure all roll the .env key back
   to the pre-rotation state.

4. In Docker Compose, use long-syntax bind with create_host_path: false
   and document in INSTALL.md that the host .env must be a regular file
   (a missing one is no longer auto-created as a directory, and the
   mount now rejects a missing source on Compose implementations that
   support the flag).

Files touched: app/Helpers/security_helper.php, app/Commands/EnvProvision.php,
app/Database/Migrations/20220127000000_convertToCI4.php, docker-compose.yml,
INSTALL.md. All 4 existing helper tests still pass via CI.

* fix(security): make abortEncryptionConversion fail loudly on restore failure

The rollback path restored the .env backup with a suppressed
file_put_contents() and an unchecked file_get_contents(). If the restore
failed after the key had already been rotated, .env was left holding the new
CI4 key while the DB still held CI3-era ciphertext, so the data became
undecryptable after the next restart.

Now the backup read is checked for false and the restore goes through the
existing atomicWriteFile() helper; either failure throws so the error is
surfaced instead of silently corrupting the config. Adds a regression test
that forces an unreadable backup and asserts the throw plus that .env is
left untouched.

* fix(security): guard abortEncryptionConversion backup read before touching it

Validate the backup is a regular readable file (is_file/is_readable) before
reading it, so a missing/malformed backup fails loudly instead of emitting a
file_get_contents() warning. The unreadable-backup regression test now
exercises this guard rather than relying on a promoted warning.

---------

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
Co-authored-by: jekkos <jeroen.peelaerts@gmail.com>
Co-authored-by: jekkos <jekkos@users.noreply.github.com>
Co-authored-by: opencode <bot@opencode.ai>
2026-09-21 17:35:45 +02:00

335 lines
34 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
return [
'address' => 'Адреса організації',
'address_required' => "Адреса організації - обов'язкове поле.",
'all_set' => 'Усі дозволи на файли встановлені правильно!',
'allow_duplicate_barcodes' => 'Дозволити дублювати штрих-коди',
'apostrophe' => 'Апостроф',
'backup_button' => 'Резервна копія',
'backup_database' => 'База даних резервного копіювання',
'barcode' => 'Штрих-код',
'barcode_company' => 'Назва організації',
'barcode_configuration' => 'Конфігурація штрих-коду',
'barcode_content' => 'Вміст штрих-коду',
'barcode_first_row' => 'Рядок 1',
'barcode_font' => 'Шрифт',
'barcode_formats' => 'Формат введення',
'barcode_generate_if_empty' => 'Створити, якщо порожньо.',
'barcode_height' => 'Висота (px)',
'barcode_id' => "Ідентифікатор елементу/Ім'я",
'barcode_info' => 'Інформація про конфігурацію штрих-коду',
'barcode_layout' => 'Макет штрих-коду',
'barcode_name' => "Ім'я",
'barcode_number' => 'Штрих-код',
'barcode_number_in_row' => 'Номер у рядку',
'barcode_page_cellspacing' => 'Відображення інтервалу клітинок на сторінці.',
'barcode_page_width' => 'Показати ширину сторінки',
'barcode_price' => 'Ціна',
'barcode_second_row' => 'Рядок 2',
'barcode_third_row' => 'Рядок 3',
'barcode_tooltip' => 'Увага! Ця функція може спричинити дублюваня елементів, імпортування або створення . Не використовуйте, якщо не хочете дублювати штрих-коди',
'barcode_type' => 'Тип штрих-коду',
'barcode_width' => 'Ширина',
'bottom' => 'Кінець',
'cash_button' => '',
'cash_button_1' => '',
'cash_button_2' => '',
'cash_button_3' => '',
'cash_button_4' => '',
'cash_button_5' => '',
'cash_button_6' => '',
'cash_decimals' => 'Десяткові суми готівки',
'cash_decimals_tooltip' => 'Якщо грошові знаки та десяткові знаки валюти однакові, то округлення готівки не відбудеться',
'cash_rounding' => 'Округлення готівки',
'category_dropdown' => 'Показати категорію як випадаюче меню',
'center' => 'Центр',
'change_apperance_tooltip' => '',
'comma' => 'Кома',
'company' => 'Назва організації',
'company_avatar' => '',
'company_change_image' => 'Змінити зображення',
'company_logo' => 'Логотип компанії',
'company_remove_image' => 'Видалити зображення',
'company_required' => "Назва організації - обов'язкове поле",
'company_select_image' => 'Вибрати зображення',
'company_website_url' => 'Веб-сайт організації не є дійсною URL-адресою (http: // ...)',
'country_codes' => 'Коди країн',
'country_codes_tooltip' => 'Список кодів, відокремлених комами, для пошуку номінальної адреси',
'currency_code' => 'Валютний код',
'currency_decimals' => 'Десяткові суми валюти',
'currency_symbol' => 'Символ валюти',
'current_employee_only' => '',
'customer_reward' => 'Нагорода клієнта',
'customer_reward_duplicate' => 'Нагорода з такою назвою уже існує',
'customer_reward_enable' => 'Увімкнути нагороди клієнта',
'customer_reward_invalid_chars' => "Винагорода не може містити '_'",
'customer_reward_required' => "Нагорода - обов'язкове поле.",
'customer_sales_tax_support' => 'Податкова підтримка з продажу',
'date_or_time_format' => 'Формат дати та часу',
'datetimeformat' => 'Формат дати та часу',
'decimal_point' => 'Десяткова мітка',
'default_barcode_font_size_number' => 'Розмір шрифту штрих-коду за замовчуванням повинен бути числом',
'default_barcode_font_size_required' => "Розмір шрифту штрих-коду за замовчуванням - обов'язкове поле",
'default_barcode_height_number' => 'Висота штрих-коду за замовчуванням повинна бути числом',
'default_barcode_height_required' => "Стандартна висота штрих-коду - обов'язкове поле",
'default_barcode_num_in_row_number' => 'Номер штрих-коду за умовчанням у рядку повинен бути числом',
'default_barcode_num_in_row_required' => "Носер штрих-коду за замовчуванням у рядку - це обов'язкове поле",
'default_barcode_page_cellspacing_number' => 'Інтервал клітинок штрих-коду за замовчуванням повинен бути числом',
'default_barcode_page_cellspacing_required' => "Інтервал клітинок штрих-коду за замовчуванням - це обов'язкове поле",
'default_barcode_page_width_number' => 'Ширина сторінки штрих-коду за замовчуванням повинна бути числом',
'default_barcode_page_width_required' => "Ширина сторінки штрих-коду за замовчуванням - це обов'язкове поле",
'default_barcode_width_number' => 'Ширина штрих-коду за замовчуванням повинна бути числом',
'default_barcode_width_required' => "Ширина штрих-коду за замовчуванням - це обов'язкове поле",
'default_item_columns' => 'Стовпці видимих елементів за замовчуванням',
'default_origin_tax_code' => 'Податковий код за замовчуванням',
'default_receivings_discount' => 'Знижка на надходження за замовчуванням',
'default_receivings_discount_number' => 'Знижка надходжень за замовчуванням повинна бути числом',
'default_receivings_discount_required' => "Знижка надходжень за замовчуванням - це обов'язкове поле",
'default_sales_discount' => 'Знижка на продаж за замовчуванням',
'default_sales_discount_number' => 'Знижка на продаж за замовчуванням повинна бути номером',
'default_sales_discount_required' => "Знижка з продаж за замовчуванням - обов'язкове поле для заповнення",
'default_tax_category' => 'Податкова категорія за замовчуванням',
'default_tax_code' => 'Податковий кодекс за замовчуванням',
'default_tax_jurisdiction' => 'Податкова юрисдикція за замовчуванням',
'default_tax_name_number' => 'Назва Податку за Замовчуванням повинно бути рядком',
'default_tax_name_required' => "Назва податку за замовчуванням - це обов'язкове поле",
'default_tax_rate' => 'Ставка податку за замовчуванням %',
'default_tax_rate_1' => 'Ставка податку 1',
'default_tax_rate_2' => 'Ставка податку 2',
'default_tax_rate_3' => '',
'default_tax_rate_number' => 'Ставка податку за замовчуванням повинна бути числом',
'default_tax_rate_required' => "Ставка податку за замовчуванням - це обов'язкове поле",
'derive_sale_quantity' => 'Дозволити похідну кількість продажів',
'derive_sale_quantity_tooltip' => 'Якщо прапорець встановлений, то відносно товарів, замовлених на основі розширеної суми, буде передбачено новий тип товару',
'dinner_table' => 'Обідня перерва',
'dinner_table_duplicate' => 'Така назва уже існує',
'dinner_table_enable' => 'Увімкнути обідні перерви',
'dinner_table_invalid_chars' => "Назва не може містити '_'",
'dinner_table_required' => 'Це поле мусить бути заповнене',
'dot' => 'Крапка',
'email' => 'Електронна пошта',
'email_configuration' => 'Конфігурація Електронної Пошти',
'email_mailpath' => 'Доступ до електронної пошта',
'email_protocol' => 'Протокол',
'email_receipt_check_behaviour' => 'Селектор «Отримати по пошті»',
'email_receipt_check_behaviour_always' => 'Завжди активний',
'email_receipt_check_behaviour_last' => "Запам'ятати останній вибір",
'email_receipt_check_behaviour_never' => 'Завжди деактивовано',
'email_smtp_crypto' => 'Шифрування SMTP',
'email_smtp_host' => 'SMTP Сервер',
'email_smtp_pass' => 'SMTP Пароль',
'email_smtp_port' => 'Порт SMTP',
'email_smtp_timeout' => 'Час очікування SMTP',
'email_smtp_user' => "Ім'я користувача SMTP",
'enable_avatar' => '',
'enable_avatar_tooltip' => '',
'enable_dropdown_tooltip' => '',
'enable_new_look' => '',
'enable_right_bar' => '',
'enable_right_bar_tooltip' => '',
'enforce_privacy' => 'Забезпечення конфіденційності',
'enforce_privacy_tooltip' => 'Захист конфіденційності даних клієнта в разі видалення даних',
'fax' => 'Факс',
'file_perm' => 'Виникають проблеми з дозволами файлів, виправте та перезавантажте сторінку.',
'financial_year' => 'Початок фінансового року',
'financial_year_apr' => '1 - е Квітня',
'financial_year_aug' => '1 - е Серпня',
'financial_year_dec' => '1 - е Грудня',
'financial_year_feb' => '1 - е Лютого',
'financial_year_jan' => '1 - е Січня',
'financial_year_jul' => '1 - е Липня',
'financial_year_jun' => '1 - е Червня',
'financial_year_mar' => '1 - е Березня',
'financial_year_may' => '1 - е Травня',
'financial_year_nov' => '1 - е Листопада',
'financial_year_oct' => '1 - е Жовтня',
'financial_year_sep' => '1 - е Вересня',
'floating_labels' => '',
'gcaptcha_enable' => 'Сторінка входу reCAPTCHA',
'gcaptcha_secret_key' => 'reCAPTCHA секретний ключ',
'gcaptcha_secret_key_required' => "reCAPTCHA секретний ключ - це обов'язкове поле",
'gcaptcha_site_key' => 'ключ сайту reCAPTCHA',
'gcaptcha_site_key_required' => "Ключ сайту reCAPTCHA - це обов'язкове поле",
'gcaptcha_tooltip' => 'Захистіть сторінку входу за допомогою Google reCAPTCHA, натисніть на піктограму для пари ключів API',
'general' => 'Загальне',
'general_configuration' => 'Загальна Конфігурація',
'giftcard_number' => 'Номер Подарункової Карти',
'giftcard_random' => 'Генерувати випадкові',
'giftcard_series' => 'Генерувати в серії',
'image_allowed_file_types' => 'Дозволені типи файлів',
'image_max_height_tooltip' => 'Максимально дозволена висота завантажуваних зображень у пікселях (px).',
'image_max_size_tooltip' => 'Максимально дозволений розмір файлу для завантаження зображень у кілобайтах.',
'image_max_width_tooltip' => 'Максимально дозволена ширина завантажуваних зображень у пікселях (px).',
'image_restrictions' => 'Обмеження на завантаження зображень',
'include_hsn' => 'Включіть підтримку кодів HSN',
'info' => 'Інформація',
'info_configuration' => 'Інформація про Магазин',
'input_groups' => '',
'integrations' => 'Інтеграції',
'integrations_configuration' => 'Інтеграція сторонніх організацій',
'invoice' => 'Рахунок-фактура',
'invoice_configuration' => 'Налаштування друку рахунків-фактур',
'invoice_default_comments' => 'Коментарі до рахунків за замовчуванням',
'invoice_email_message' => 'Шаблони рахунків-фактур на електронну пошту',
'invoice_enable' => 'Увімкнути виставлення рахунків',
'invoice_printer' => 'Друк разунку-фактура',
'invoice_type' => 'Тип рахунку-фактури',
'is_readable' => 'Читається, але дозволи встановлені неправильно. Будь ласка, встановіть доступ до файлу 640 або 660 та оновіть сторінку.',
'is_writable' => 'Можна записати, але дозволи встановлені неправильно. Будь ласка, встановіть доступ до файлу 750 та оновіть сторінку.',
'item_markup' => '',
'jsprintsetup_required' => 'Увага! Ця функція працюватиме лише у тому випадку, якщо у вас встановлений додаток FireFox jsPrintSetup. Зберегти все одно?',
'language' => 'Мова',
'last_used_invoice_number' => 'Останній використаний номер рахунку-фактури',
'last_used_quote_number' => 'Останній використаний номер котирування',
'last_used_work_order_number' => 'Останній використаний номер без виводу',
'left' => 'Залишок',
'license' => 'Ліцензія',
'license_configuration' => 'Відомості про ліцензію',
'line_sequence' => 'Послідовність рядків',
'lines_per_page' => 'Рядків на сторінці',
'lines_per_page_number' => 'Рядки на сторінці повинні бути числом',
'lines_per_page_required' => "Рядки на сторінці - обов'язкове поле",
'locale' => 'Визначення місцезнаходження',
'locale_configuration' => 'Місце знаходження Конфігурації',
'locale_info' => 'Інформація про Місцезнаходження Конфігурації',
'location' => 'Склад',
'location_configuration' => 'Розташування складу',
'location_info' => 'Інформація про розташування конфігурації',
'login_form' => '',
'logout' => 'Ви хочете зробити резервну копію перед виходом із системи? Натисніть [OK] для резервного копіювання або [Скасувати], щоб вийти?',
'mailchimp' => 'MailСhimp',
'mailchimp_api_key' => 'Ключ API від Mailchimp',
'mailchimp_configuration' => 'Конфігурація Mailchimp',
'mailchimp_key_successfully' => 'Ключ API недійсний',
'mailchimp_key_unsuccessfully' => 'Ключ API невірний',
'mailchimp_lists' => 'Список(и) Mailchimp',
'mailchimp_tooltip' => 'Натисніть на піктограму для ключа API',
'message' => 'Повідомлення',
'message_configuration' => 'Конфігурація повідомлень',
'msg_msg' => 'Збережене текстове повідомлення',
'msg_msg_placeholder' => 'Якщо ви хочете використовувати шаблон SMS, збережіть своє повідомлення тут або залиште поле порожнім',
'msg_pwd' => 'Пароль SMS-API',
'msg_src' => 'Ідентифікатор відправника SMS-API',
'msg_src_required' => "Ідентифікатор відправника SMS-API - обов'язкове поле",
'msg_uid' => "Ім'я користувача SMS-API",
'msg_uid_required' => "Ім'я користувача SMS-API - обов'язкове поле",
'multi_pack_enabled' => 'Декілька упаковок товару',
'no_risk' => 'Немає ризиків безпеки/вразливості.',
'none' => 'Жоден',
'notify_alignment' => 'Спливаюче повідомлення',
'number_format' => 'Формат номера',
'number_locale' => 'Місцезнаходження',
'number_locale_invalid' => 'Введене місцезнаходження є недійсним. Перевірте посилання в підказці, щоб знайти правильне місцезнаходження',
'number_locale_required' => "Номер місцезнаходження - обов'язкове поле",
'number_locale_tooltip' => 'Знайдіть відповідне місцезнаходження за цим посиланням',
'os_timezone' => 'Часова зона OSPOS:',
'ospos_info' => 'Інформація про встановлення OSPOS',
'payment_options_order' => 'Варіанти оплати замовлення',
'payment_reference_code_length_limits' => 'Код посилання на платіж<br>Обмеження довжини',
'payment_reference_code_length_max_label' => 'Макс',
'payment_reference_code_length_min_label' => 'Мін',
'perm_risk' => 'Неправильні дозволи роблять OSPOS вразливим.',
'phone' => 'Телефон організації',
'phone_required' => "Телефон організації - обов'язкове полею",
'print_bottom_margin' => 'Верхнє поле',
'print_bottom_margin_number' => 'Верхнє поле за замовчуванням повинно бути числом',
'print_bottom_margin_required' => "Верхнє поле за замовчуванням - обов'язкове поле",
'print_delay_autoreturn' => 'Затримка автоматичного повернення до продажу',
'print_delay_autoreturn_number' => "Затримка автоматичного повернення до продажу - обов'язкове поле",
'print_delay_autoreturn_required' => 'Затримка автоматичного повернення до продажу повинна бути числом',
'print_footer' => 'Друк веб-переглядача',
'print_header' => 'Друк заголовка браузера',
'print_left_margin' => 'Ліве поле',
'print_left_margin_number' => 'Ліве поле замовчуванням повинен бути числом',
'print_left_margin_required' => "Ліве поле за замовчуванням - обов'язкове поле",
'print_receipt_check_behaviour' => 'Друк квитанції, яка позначена прапорцем',
'print_receipt_check_behaviour_always' => 'Завжди перевіряється',
'print_receipt_check_behaviour_last' => 'Запам’ятати останній вибір',
'print_receipt_check_behaviour_never' => "Ніколи не запам'товувати",
'print_right_margin' => 'Праве поле',
'print_right_margin_number' => 'Праве поле замовчуванням за замовчуванням повинно бути числом',
'print_right_margin_required' => "Праве поле за замовчуванням - обов'язкове поле",
'print_silently' => 'Показати діалогове вікно друку',
'print_top_margin' => 'Верхнє поле',
'print_top_margin_number' => 'Верхнє поле за замовчуванням повинно бути числом',
'print_top_margin_required' => "Верхнє поле за замовчуванням - обов'язкове поле для заповнення",
'quantity_decimals' => 'Кількість десятків',
'quick_cash_enable' => '',
'quote_default_comments' => 'Кількість десятків за замовчуванням',
'receipt' => 'Квитанція',
'receipt_category' => '',
'receipt_configuration' => 'Налаштування друку квитанції',
'receipt_default' => 'За замовчуванням',
'receipt_font_size' => 'Розмір шрифту',
'receipt_font_size_number' => 'Розмір шрифту повинен бути числом',
'receipt_font_size_required' => "Розмір шрифту - обов'язкове поле",
'receipt_info' => 'Отримання інформації про конфігурацію',
'receipt_printer' => 'Принтер для квитків',
'receipt_short' => 'Короткий зміст',
'receipt_show_company_name' => 'Показати назву організації',
'receipt_show_description' => 'Показати опис',
'receipt_show_serialnumber' => 'Показати серійний номер',
'receipt_show_tax_ind' => 'Показати показник податку',
'receipt_show_taxes' => 'Показати податковий показник',
'receipt_show_total_discount' => 'Показати загальну знижку',
'receipt_template' => 'Шаблон квитанції',
'receiving_calculate_average_price' => 'Сер. Ціна (отримання)',
'recv_invoice_format' => 'Формат отримання рахунків-фактур',
'register_mode_default' => 'Режим реєстрації за замовчуванням',
'report_an_issue' => 'Повідомити про проблему',
'return_policy_required' => "Політика повернення - обов'язкове поле",
'reward' => 'Нагорода',
'reward_configuration' => 'Налаштування Нагороди',
'right' => 'Право',
'sales_invoice_format' => 'Формат рахунків-фактур продажів',
'sales_quote_format' => 'Формат котирування продажів',
'mailpath_invalid' => 'Невірний шлях sendmail. Дозволені лише літери, цифри, дефіси, підкреслення, коси риски, зворотні коси риски, двокрапки, пробіли та крапки.',
'saved_successfully' => 'Конфігурація успішно збережена',
'saved_unsuccessfully' => 'Помилка збереження конфігурації',
'security_issue' => 'Попередження про вразливість системи безпеки',
'server_notice' => 'Будь ласка, використовуйте інформацію подану нижче для звіту про проблеми',
'service_charge' => '',
'show_due_enable' => '',
'show_office_group' => 'Показати значок офісу',
'statistics' => 'Надіслати статистику',
'statistics_tooltip' => 'Надсилайте статистику для розробки та вдосконалення функцій',
'stock_location' => 'Місцезнаходження складу',
'stock_location_duplicate' => 'Склад з таким місцезнаходженням вже існує. Будь ласка, використайте інше',
'stock_location_invalid_chars' => 'Місцезнаходження не може містити спецсимволів',
'stock_location_required' => "Місцезнаходження - обов'язкове поле",
'suggestions_fifth_column' => '',
'suggestions_first_column' => 'Колонка 1',
'suggestions_fourth_column' => '',
'suggestions_layout' => 'Формат пошукових пропозицій',
'suggestions_second_column' => 'Колонка 2',
'suggestions_third_column' => 'Колонка 3',
'system_conf' => 'Налаштування',
'system_info' => 'Інформація про систему',
'table' => 'Таблиця',
'table_configuration' => 'Налаштування таблиці',
'takings_printer' => 'Підключення принтера',
'tax' => 'Податок',
'tax_category' => 'Категорія податку',
'tax_category_duplicate' => 'Введена податкова категорія вже існує',
'tax_category_invalid_chars' => 'Введена категорія податку недійсна',
'tax_category_required' => "Податкова категорія - обов'язкове поле",
'tax_category_used' => 'Податкову категорію не можливо видалити, оскільки вона використовується',
'tax_configuration' => 'Налаштування податку.',
'tax_decimals' => 'Податкові десятки',
'tax_id' => 'Податковий номер',
'tax_included' => 'Податок включений',
'theme' => 'Тема',
'theme_preview' => '',
'thousands_separator' => 'Роздільник тисячних розрядів',
'timezone' => 'Часовой пояс',
'timezone_error' => 'Часовий пояс OSPOS відрізняється від вашого місцевого часового поясу.',
'top' => 'Головний',
'use_destination_based_tax' => 'Використовуйте податок на основі призначення',
'user_timezone' => 'Місцевий часовий пояс:',
'website' => 'Веб-сайт',
'wholesale_markup' => '',
'work_order_enable' => 'Підтримка робочого замовлення',
'work_order_format' => 'Формат робочого замовлення',
];