Files
opensourcepos/app/Language/bs/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
25 KiB
PHP

<?php
return [
'address' => 'Adresa kompanije',
'address_required' => 'Adresa kompanije je obavezno polje.',
'all_set' => 'Sva su dopuštenja datoteka ispravno postavljena!',
'allow_duplicate_barcodes' => 'Dozvoli dvostruke barkodove',
'apostrophe' => 'apostrof',
'backup_button' => 'Rezervna kopija',
'backup_database' => 'Rezervna kopija baze podataka',
'barcode' => 'Barkod',
'barcode_company' => 'Kompanija',
'barcode_configuration' => 'Konfiguracija barkoda',
'barcode_content' => 'Sadržaj barkoda',
'barcode_first_row' => '1 red',
'barcode_font' => 'Font',
'barcode_formats' => 'Unesi format',
'barcode_generate_if_empty' => 'Generiši ako je prazno.',
'barcode_height' => 'Visina(px)',
'barcode_id' => 'Id / naziv artikla',
'barcode_info' => 'Informacije o konfiguraciji barkoda',
'barcode_layout' => 'Izgled barkoda',
'barcode_name' => 'Naziv',
'barcode_number' => 'Barkod',
'barcode_number_in_row' => 'Broj u redu',
'barcode_page_cellspacing' => 'Prikaži razmak ćelija na stranici.',
'barcode_page_width' => 'Širina stranice',
'barcode_price' => 'Cijena',
'barcode_second_row' => '2.red',
'barcode_third_row' => '3.red',
'barcode_tooltip' => 'Upozorenje: Ova funkcija može prouzrokovati uvoz ili kreiranje duplikata. Ne koristite ako ne želite duple barkodove.',
'barcode_type' => 'Tip barkoda',
'barcode_width' => 'Širina (px)',
'bottom' => 'Dno',
'cash_button' => '',
'cash_button_1' => '',
'cash_button_2' => '',
'cash_button_3' => '',
'cash_button_4' => '',
'cash_button_5' => '',
'cash_button_6' => '',
'cash_decimals' => 'Decimale gotovine',
'cash_decimals_tooltip' => 'Ako su Decimale gotovine i Valutne decimale iste, onda neće biti zaokruživanja gotovine.',
'cash_rounding' => 'Zaokruživanje gotovine',
'category_dropdown' => 'Prikaži kategoriju kao padajući meni',
'center' => 'Centar',
'change_apperance_tooltip' => '',
'comma' => 'zarez',
'company' => 'Kompanija',
'company_avatar' => '',
'company_change_image' => 'Promijeni logo',
'company_logo' => 'Logo kompanije',
'company_remove_image' => 'Ukloni logo',
'company_required' => 'Naziv kompanije je obavezno polje',
'company_select_image' => 'Izaberite sliku',
'company_website_url' => 'Veb lokacija kompanije nije važeća URL adresa (http://...).',
'country_codes' => 'Kod zemlje',
'country_codes_tooltip' => 'Lista kodova zemalja odvojena zarezima za traženje nominalnih adresa.',
'currency_code' => 'Kod valute',
'currency_decimals' => 'Velutne decimale',
'currency_symbol' => 'Simbol valute',
'current_employee_only' => '',
'customer_reward' => 'Nagrada',
'customer_reward_duplicate' => 'Nagrada mora biti jedinstvena.',
'customer_reward_enable' => 'Omogući nagrade kupcima',
'customer_reward_invalid_chars' => "Nagrada ne može sadržavati '_'",
'customer_reward_required' => 'Nagrada je obavezno polje',
'customer_sales_tax_support' => '',
'date_or_time_format' => 'Filter datuma i vremena',
'datetimeformat' => 'Format datuma i vremena',
'decimal_point' => 'Decimalna točka',
'default_barcode_font_size_number' => 'Veličina fonta za barkod mora biti broj.',
'default_barcode_font_size_required' => 'Veličina fonta barkoda je obavezno polje.',
'default_barcode_height_number' => 'Visina barkoda mora biti broj.',
'default_barcode_height_required' => 'Visina barkoda je obavezno polje.',
'default_barcode_num_in_row_number' => 'Broj barkoda u redu mora biti broj.',
'default_barcode_num_in_row_required' => 'Broj barkoda u redu je obavezno polje.',
'default_barcode_page_cellspacing_number' => 'Razmak između ćelija sa barkodom mora biti broj.',
'default_barcode_page_cellspacing_required' => 'Rastojanje ćelija na stranici sa barkodom je obavezno polje.',
'default_barcode_page_width_number' => 'Širina stranice sa bar kodom mora biti broj.',
'default_barcode_page_width_required' => 'Širina stranice sa barkodom je obavezno polje.',
'default_barcode_width_number' => 'Standardna širina barkoda mora biti broj.',
'default_barcode_width_required' => 'Širina barkoda je obavezno polje.',
'default_item_columns' => 'Vidljiva stavka kolone',
'default_origin_tax_code' => 'Šifra poreza',
'default_receivings_discount' => 'Popust za ulaze',
'default_receivings_discount_number' => 'Popust za ulaz mora biti broj.',
'default_receivings_discount_required' => 'Popust za ulaz je obavezno polje.',
'default_sales_discount' => 'Popust na prodaju',
'default_sales_discount_number' => 'Popust na prodaju mora biti broj.',
'default_sales_discount_required' => 'Popust na prodaju je obavezno polje.',
'default_tax_category' => 'Poreska kategorija',
'default_tax_code' => 'Poreska šifra',
'default_tax_jurisdiction' => 'Poreska uprava',
'default_tax_name_number' => 'Naziv poreza mora biti string.',
'default_tax_name_required' => 'Naziv poreza je obavezno polje.',
'default_tax_rate' => 'Stopa poreza %',
'default_tax_rate_1' => 'Stopa poreza 1 %',
'default_tax_rate_2' => 'Stopa poreza 2 %',
'default_tax_rate_3' => '',
'default_tax_rate_number' => 'Stopa poreza mora biti broj.',
'default_tax_rate_required' => 'Stopa poreza je obavezno polje.',
'derive_sale_quantity' => 'Dozvoli izvedenu količinu prodaje',
'derive_sale_quantity_tooltip' => 'Ako se izabere, za artikle naručene po produženom iznosu biće obezbjeđen novi tip artikla',
'dinner_table' => 'Sto',
'dinner_table_duplicate' => 'Sto mora biti jedinstven.',
'dinner_table_enable' => 'Omogući stolove za večeru',
'dinner_table_invalid_chars' => "Naziv stola ne može sadržavati '_'.",
'dinner_table_required' => 'Sto je obavezno polje.',
'dot' => 'tačka',
'email' => 'E-mail',
'email_configuration' => 'Konfiguracija e-mail',
'email_mailpath' => 'Putanja do Sendmaila',
'email_protocol' => 'Protokol',
'email_receipt_check_behaviour' => 'Polje za potvrdu e-mail',
'email_receipt_check_behaviour_always' => 'Uvijek potvrđeno',
'email_receipt_check_behaviour_last' => 'Zapamti poslednji izbor',
'email_receipt_check_behaviour_never' => 'Uvijek nepotvrđeno',
'email_smtp_crypto' => 'SMTP šifriranje',
'email_smtp_host' => 'SMTP Server',
'email_smtp_pass' => 'SMTP Lozinka',
'email_smtp_port' => 'SMTP Port',
'email_smtp_timeout' => 'SMTP pauza',
'email_smtp_user' => 'SMTP Korisničko ime',
'enable_avatar' => '',
'enable_avatar_tooltip' => '',
'enable_dropdown_tooltip' => '',
'enable_new_look' => '',
'enable_right_bar' => '',
'enable_right_bar_tooltip' => '',
'enforce_privacy' => 'Ostvarite privatnost',
'enforce_privacy_tooltip' => 'Zaštitite privatnost kupaca primjenjujući kodiranje podataka u slučaju brisanja njihovih podataka',
'fax' => 'Faks',
'file_perm' => 'Postoje problemi sa dozvolama za datoteke, popravite i ponovo učitajte ovu stranicu.',
'financial_year' => 'Početak fiskalne godine',
'financial_year_apr' => '1. April',
'financial_year_aug' => '1. Avgust',
'financial_year_dec' => '1. Decembar',
'financial_year_feb' => '1. Februar',
'financial_year_jan' => '1. Januar',
'financial_year_jul' => '1. Juli',
'financial_year_jun' => '1. Juni',
'financial_year_mar' => '1. Mart',
'financial_year_may' => '1. Maj',
'financial_year_nov' => '1. Novembar',
'financial_year_oct' => '1. Oktobar',
'financial_year_sep' => '1. Septembar',
'floating_labels' => 'Plutajuće etikete',
'gcaptcha_enable' => 'Stranica za prijavu reCAPTCHA',
'gcaptcha_secret_key' => 'reCAPTCHA tajni ključ',
'gcaptcha_secret_key_required' => 'reCAPTCHA tajni ključ je obavezno polje',
'gcaptcha_site_key' => 'reCAPTCHA ključ sajta',
'gcaptcha_site_key_required' => 'reCAPTCHA Ključ sajta je obavezno polje',
'gcaptcha_tooltip' => 'Zaštitite stranicu za prijavu pomoću Google reCAPTCHA, kliknite na ikonu za par API ključeva.',
'general' => 'Generalno',
'general_configuration' => 'Opšta konfiguracija',
'giftcard_number' => 'Broj poklon kartice',
'giftcard_random' => 'Generiši nasumice',
'giftcard_series' => 'Generiši u seriji',
'image_allowed_file_types' => 'Dozvoljeni tipovi datoteka',
'image_max_height_tooltip' => 'Maksimalna dozvoljena visina učitavanja slike u pikselima (px).',
'image_max_size_tooltip' => 'Maksimalna dozvoljena veličina datoteke za prijenos slike u kilobajtima (kb).',
'image_max_width_tooltip' => 'Maksimalna dozvoljena širina slike u pikselima (px).',
'image_restrictions' => 'Ograničenja za učitavanje slike',
'include_hsn' => 'Uključite podršku za HSN kodove',
'info' => 'Informacije',
'info_configuration' => 'Info o web trgovini',
'input_groups' => 'Grupe unosa',
'integrations' => 'Integracije',
'integrations_configuration' => 'Integracije trećih strana',
'invoice' => 'Faktura',
'invoice_configuration' => 'Podešavanja štamapnja',
'invoice_default_comments' => 'Komentar na fakturi',
'invoice_email_message' => 'Predložak e-mail za fakture',
'invoice_enable' => 'Omogući fakturisanje',
'invoice_printer' => 'Štampanje faktura',
'invoice_type' => 'Tip fakture',
'is_readable' => 'čitljiv je, ali dozvole su veće od 660.',
'is_writable' => 'može se napisati, ali dozvole su veće od 750.',
'item_markup' => '',
'jsprintsetup_required' => 'Upozorenje! Onemogućene opcije će raditi samo ako imate instaliran FireFox jsPrintSetup dodatak. Svakako snimiti?',
'language' => 'Jezik',
'last_used_invoice_number' => 'Zadnji korišćeni broj fakture',
'last_used_quote_number' => 'Zadnji korišćeni broj citata',
'last_used_work_order_number' => 'Zadnji korišćeni broj R/N',
'left' => 'Lijevo',
'license' => 'Licenca',
'license_configuration' => 'Izjava o licenci',
'line_sequence' => 'Redoslijed linija',
'lines_per_page' => 'Linija po stranici',
'lines_per_page_number' => 'Redovi po stranici moraju biti broj.',
'lines_per_page_required' => 'Broj linija po stranici je obavezno polje.',
'locale' => 'Lokalizacija',
'locale_configuration' => 'Konfiguracija',
'locale_info' => 'Info o lokalnoj konfiguraciji',
'location' => 'Skladište',
'location_configuration' => 'Lokacije skladišta',
'location_info' => 'Informacije o konfiguraciji lokacije',
'login_form' => 'Stil formulara za prijavu',
'logout' => 'Zar ne želite da napravite rezervnu kopiju prije odjave? Kliknite [OK] za sigurnosnu kopiju, [Cancel] da biste se odjavili.',
'mailchimp' => 'MeilChimp',
'mailchimp_api_key' => 'MailChimp API ključ',
'mailchimp_configuration' => 'MailChimp konfiguracija',
'mailchimp_key_successfully' => 'API ključ je važeći.',
'mailchimp_key_unsuccessfully' => 'API ključ je nevažeći.',
'mailchimp_lists' => 'MailChimp lista(e)',
'mailchimp_tooltip' => 'Kliknite na ikonu za API ključ.',
'message' => 'Poruke',
'message_configuration' => 'Konfigurisanje poruke',
'msg_msg' => 'Snimljena tekst poruka',
'msg_msg_placeholder' => 'Ako želite koristiti SMS šablon, snimite poruku ovdje. U suprotnom ostavite prazno polje.',
'msg_pwd' => 'SMS-API lozinke',
'msg_src' => 'SMS-API ID pošiljaoca',
'msg_src_required' => 'SMS-API Id pošiljaoca je obavezno polje',
'msg_uid' => 'SMS-API korisnika',
'msg_uid_required' => 'SMS-API korisnika je obavezno polje',
'multi_pack_enabled' => 'Više pakovanja po stavci',
'no_risk' => 'Nema rizika / ugroženosti.',
'none' => 'nijedan',
'notify_alignment' => 'Položaj iskačuće obavijesti',
'number_format' => 'Format broja',
'number_locale' => 'Lokalizacija',
'number_locale_invalid' => 'Unijeti jezik je nevažeći. Provjerite vezu u opisu alatke da biste pronašli važeći jezik.',
'number_locale_required' => 'Broj lokacije je obavezno polje.',
'number_locale_tooltip' => 'Pronađite odgovarajuću lokaciju na ovom linku.',
'os_timezone' => 'OSPOS vremenska zona:',
'ospos_info' => 'OSPOS instalacione informacije',
'payment_options_order' => 'Narudžba opcije plaćanja',
'payment_reference_code_length_limits' => 'Referentni kod plaćanja<br>Ograničenja duljine',
'payment_reference_code_length_max_label' => 'Maks',
'payment_reference_code_length_min_label' => 'Min',
'perm_risk' => 'Dozvole veće od 750 za pisanje i 660 za čitanje dovode ovaj program u rizik.',
'phone' => 'Telefon kompanije',
'phone_required' => 'Telefon kompanije je obavezno polje.',
'print_bottom_margin' => 'Donja margina',
'print_bottom_margin_number' => 'Donja margina mora biti broj.',
'print_bottom_margin_required' => 'Donja margina je obavezno polje.',
'print_delay_autoreturn' => 'Automatski povratak na odgodu prodaje',
'print_delay_autoreturn_number' => 'Odgoda automatskog povratka na prodaju je obavezno polje.',
'print_delay_autoreturn_required' => 'Odlaganje automatskog povratka na prodaju mora biti broj.',
'print_footer' => 'Štampanje podnožja',
'print_header' => 'Štampanje zaglavlja',
'print_left_margin' => 'Lijeva margina',
'print_left_margin_number' => 'Lijeva margina mora biti broj.',
'print_left_margin_required' => 'Lijeva margina je obavezno polje.',
'print_receipt_check_behaviour' => 'Polje za potvrdu štampanja računa',
'print_receipt_check_behaviour_always' => 'Uvijek potvrđeno',
'print_receipt_check_behaviour_last' => 'Zapamti poslednji izbor',
'print_receipt_check_behaviour_never' => 'Uvijek nepotvrđeno',
'print_right_margin' => 'Desna margina',
'print_right_margin_number' => 'Desna margina mora biti broj.',
'print_right_margin_required' => 'Desna margina je obavezno polje.',
'print_silently' => 'Prikaži dijalog za štampanje',
'print_top_margin' => 'Gornja margina',
'print_top_margin_number' => 'Gornja margina mora biti broj.',
'print_top_margin_required' => 'Gornja margina je obavezno polje.',
'quantity_decimals' => 'Decimale količine',
'quick_cash_enable' => '',
'quote_default_comments' => 'Difoltni komentari citata',
'receipt' => 'Račun',
'receipt_category' => '',
'receipt_configuration' => 'Podešavanja štamapnja',
'receipt_default' => 'Podrazumijevano',
'receipt_font_size' => 'Veličina fonta',
'receipt_font_size_number' => 'Veličina fonta mora biti broj.',
'receipt_font_size_required' => 'Veličina fonta je obavezno polje.',
'receipt_info' => 'Informacije o POS računu',
'receipt_printer' => 'POS štampač',
'receipt_short' => 'Kratko',
'receipt_show_company_name' => 'Prikaži kompaniju',
'receipt_show_description' => 'Prikaži opis',
'receipt_show_serialnumber' => 'Prikaži serijski broj',
'receipt_show_tax_ind' => 'Prikaži poreski indikator',
'receipt_show_taxes' => 'Prikaži porez',
'receipt_show_total_discount' => 'Prikaži ukupni popust',
'receipt_template' => 'Šablon računa',
'receiving_calculate_average_price' => 'Izrač. prosječnih cijena (ulaza)',
'recv_invoice_format' => 'Format računa fakture',
'register_mode_default' => 'Mod registracije',
'report_an_issue' => 'Prijavi problem',
'return_policy_required' => 'Politika povrata je obavezno polje.',
'reward' => 'Nagrada',
'reward_configuration' => 'Konfigurisanje poklona',
'right' => 'Desno',
'sales_invoice_format' => 'Format fakture',
'sales_quote_format' => 'Format navedene prodaje',
'mailpath_invalid' => 'Nevažeća sendmail putanja. Dozvoljena su samo slova, brojevi, crtice, donje crte, kose crte, obrnute kose crte, dvotačke, razmaci i tačke.',
'saved_successfully' => 'Konfiguracija je uspješno snimljena.',
'saved_unsuccessfully' => 'Konfiguracija nije uspješno snimljena.',
'security_issue' => 'Upozorenje o sigurnosnoj ranjivosti',
'server_notice' => 'Koristite informacije u nastavku za prijavljivanje problema.',
'service_charge' => '',
'show_due_enable' => '',
'show_office_group' => 'Prikaži ikonu kancelarije',
'statistics' => 'Pošalji statistiku',
'statistics_tooltip' => 'Pošaljite statistiku u svrhu razvoja i poboljšanja funkcija.',
'stock_location' => 'Lokacija skladišta',
'stock_location_duplicate' => 'Lokacija zaliha mora biti jedinstvena.',
'stock_location_invalid_chars' => "Lokacija skaldišta ne može sadržavati '_'.",
'stock_location_required' => 'Lokacija skladišta je obavezno polje.',
'suggestions_fifth_column' => '',
'suggestions_first_column' => 'Kolona 1',
'suggestions_fourth_column' => '',
'suggestions_layout' => 'Prijedlozi za pretraživanje',
'suggestions_second_column' => 'Kolona 2',
'suggestions_third_column' => 'Kolona 3',
'system_conf' => 'Podešavanja & Konf',
'system_info' => 'Sistem Info',
'table' => 'Sto',
'table_configuration' => 'Konfigurisanje stola',
'takings_printer' => 'Štampanje računa',
'tax' => 'Porez',
'tax_category' => 'Kategorija',
'tax_category_duplicate' => 'Unesena kategorija već postoji.',
'tax_category_invalid_chars' => 'Unesena kategorija je nevažeća.',
'tax_category_required' => 'Obavezna je kategorija.',
'tax_category_used' => 'Kategorija se ne može izbrisati jer se koristi.',
'tax_configuration' => 'Konfigurisanje poreza',
'tax_decimals' => 'Poreske decimale',
'tax_id' => 'ID poreza',
'tax_included' => 'Uključen porez',
'theme' => 'Tema',
'theme_preview' => 'Pregled teme:',
'thousands_separator' => 'Separator za hiljade',
'timezone' => 'Vremenska zona',
'timezone_error' => 'Vremenska zona OSPOS razlikuje se od vaše lokalne vremenske zone.',
'top' => 'Vrh',
'use_destination_based_tax' => 'Koristite porez na osnovu odredišta',
'user_timezone' => 'Lokalna vremenska zona:',
'website' => 'web stranica',
'wholesale_markup' => '',
'work_order_enable' => 'Podnošenje radnog naloga',
'work_order_format' => 'Format radnog naloga',
];