mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-22 02:34:59 -04:00
* 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>
335 lines
25 KiB
PHP
335 lines
25 KiB
PHP
<?php
|
|
|
|
return [
|
|
'address' => 'Firma adresse',
|
|
'address_required' => 'Firma adresse er et obligatorisk felt.',
|
|
'all_set' => 'All file permissions are set correctly!',
|
|
'allow_duplicate_barcodes' => 'Tillad duplikatstregkoder',
|
|
'apostrophe' => 'apostrof',
|
|
'backup_button' => 'Backup',
|
|
'backup_database' => 'Backup Database',
|
|
'barcode' => 'Stregkode',
|
|
'barcode_company' => 'Firmanavn',
|
|
'barcode_configuration' => 'Stregkode konfiguration',
|
|
'barcode_content' => 'Stregkode indhold',
|
|
'barcode_first_row' => 'Række 1',
|
|
'barcode_font' => 'Skrifttype',
|
|
'barcode_formats' => 'Inputformater',
|
|
'barcode_generate_if_empty' => 'Generer hvis tom.',
|
|
'barcode_height' => 'Højde (px)',
|
|
'barcode_id' => 'Genstands Id/navn',
|
|
'barcode_info' => 'Information om stregkode konfiguration',
|
|
'barcode_layout' => 'Stregkode layout',
|
|
'barcode_name' => 'Navn',
|
|
'barcode_number' => 'Stregkode',
|
|
'barcode_number_in_row' => 'Nummer i rækken',
|
|
'barcode_page_cellspacing' => 'Vis sidens celleafstand.',
|
|
'barcode_page_width' => 'Vis sidens bredde',
|
|
'barcode_price' => 'Pris',
|
|
'barcode_second_row' => 'Række 2',
|
|
'barcode_third_row' => 'Række 3',
|
|
'barcode_tooltip' => 'Advarsel: Denne funktion kan forårsage, at duplikerede genstande vil blive importeret eller oprettet. Anvend ikke hvis du ikke vil have duplikerede stregkoder.',
|
|
'barcode_type' => 'Stregkode type',
|
|
'barcode_width' => 'Bredde (px)',
|
|
'bottom' => 'Bund',
|
|
'cash_button' => '',
|
|
'cash_button_1' => '',
|
|
'cash_button_2' => '',
|
|
'cash_button_3' => '',
|
|
'cash_button_4' => '',
|
|
'cash_button_5' => '',
|
|
'cash_button_6' => '',
|
|
'cash_decimals' => 'Kontante decimaler',
|
|
'cash_decimals_tooltip' => 'Hvis kontante decimaler og valuta decimaler er de samme, kan kontanterne ikke rundes op.',
|
|
'cash_rounding' => 'Kontant afrunding',
|
|
'category_dropdown' => '',
|
|
'center' => 'Centrum',
|
|
'change_apperance_tooltip' => '',
|
|
'comma' => 'Komma',
|
|
'company' => 'Firma navn',
|
|
'company_avatar' => '',
|
|
'company_change_image' => 'Skift billede',
|
|
'company_logo' => 'Firma logo',
|
|
'company_remove_image' => 'Fjern billede',
|
|
'company_required' => 'Firma navn er et obligatorisk',
|
|
'company_select_image' => 'Vælg billede',
|
|
'company_website_url' => 'Firma hjemmeside er ikke en gyldig URL (http://...).',
|
|
'country_codes' => 'Landekoder',
|
|
'country_codes_tooltip' => 'Kommasepareret liste af landekoder til nominatim adresse søgning.',
|
|
'currency_code' => 'Valuta kode',
|
|
'currency_decimals' => 'Valuta decimaler',
|
|
'currency_symbol' => 'Valuta symbol',
|
|
'current_employee_only' => '',
|
|
'customer_reward' => 'Belønning',
|
|
'customer_reward_duplicate' => 'Belønning skal være unik.',
|
|
'customer_reward_enable' => 'Aktiver kunde belønninger',
|
|
'customer_reward_invalid_chars' => "Belønning må ikke indholde '_'",
|
|
'customer_reward_required' => 'Belønning er et obligatorisk felt',
|
|
'customer_sales_tax_support' => '',
|
|
'date_or_time_format' => 'Dato- og tidfilter',
|
|
'datetimeformat' => 'Dato og tid format',
|
|
'decimal_point' => 'Decimaltegn',
|
|
'default_barcode_font_size_number' => 'Standard stregkode skriftstørrelse skal være et tal',
|
|
'default_barcode_font_size_required' => 'Standard stregkode skriftstørrelse er et obligatorisk felt',
|
|
'default_barcode_height_number' => 'Standard stregkode højde skal være et tal',
|
|
'default_barcode_height_required' => 'Standard stegkode højde er et obligatorisk felt',
|
|
'default_barcode_num_in_row_number' => 'Standard stregkode tal i en række skal være et tal',
|
|
'default_barcode_num_in_row_required' => 'Standard stregkode tal i en række er et obligatorisk felt',
|
|
'default_barcode_page_cellspacing_number' => 'Standard stregkodeside-celleafstand skal være et tal',
|
|
'default_barcode_page_cellspacing_required' => 'Standard stegkodeside-celleafstand er et obligatorisk felt',
|
|
'default_barcode_page_width_number' => 'Standard stregkode side bredde skal være et tal',
|
|
'default_barcode_page_width_required' => 'Standard stregkode side bredde er et obligatorisk felt',
|
|
'default_barcode_width_number' => 'Standard stregkode bredde skal være et tal',
|
|
'default_barcode_width_required' => 'Standard stregkode bredde er et obligatorisk felt',
|
|
'default_item_columns' => 'Standard synlige genstands-kolonner',
|
|
'default_origin_tax_code' => 'Standard oprindelse af afgiftskode',
|
|
'default_receivings_discount' => 'Standard modtagelsesrabat',
|
|
'default_receivings_discount_number' => 'Standard modtagelsesrabat skal være et tal',
|
|
'default_receivings_discount_required' => 'Standard modtagelsesrabat er et obligatorisk felt',
|
|
'default_sales_discount' => 'Standard salgsrabat',
|
|
'default_sales_discount_number' => 'Standard salgsrabat skal være et tal',
|
|
'default_sales_discount_required' => 'Standard salgsrabat er et obligatorisk felt',
|
|
'default_tax_category' => 'Standard afgiftskategori',
|
|
'default_tax_code' => 'Standard afgiftskode',
|
|
'default_tax_jurisdiction' => 'Standard afgift jurisdiktion',
|
|
'default_tax_name_number' => 'Standard afgiftsnavn skal være en streng',
|
|
'default_tax_name_required' => 'Standard afgiftsnavn er et obligatorisk felt',
|
|
'default_tax_rate' => 'Standard afgiftsrate %',
|
|
'default_tax_rate_1' => 'Afgift 1 procent',
|
|
'default_tax_rate_2' => 'Afgift 2 procent',
|
|
'default_tax_rate_3' => '',
|
|
'default_tax_rate_number' => 'Standard afgiftsrate skal være et tal',
|
|
'default_tax_rate_required' => 'Standard afgiftsrate er et obligatorisk felt',
|
|
'derive_sale_quantity' => 'Tillad afledt salgsmængde',
|
|
'derive_sale_quantity_tooltip' => 'Hvis markeret, vil en ny varetype blive stillet til rådighed for varer bestilt med et udvidet beløb',
|
|
'dinner_table' => 'Tabel',
|
|
'dinner_table_duplicate' => 'Tabel skal være unik',
|
|
'dinner_table_enable' => 'Enable Dinner Tables',
|
|
'dinner_table_invalid_chars' => "Table Name can not contain '_'.",
|
|
'dinner_table_required' => 'Table is a required field.',
|
|
'dot' => 'punktum',
|
|
'email' => 'Email',
|
|
'email_configuration' => 'Email konfiguration',
|
|
'email_mailpath' => 'Stig til Sendmail',
|
|
'email_protocol' => 'Protokol',
|
|
'email_receipt_check_behaviour' => 'Email kvitteringsfelt',
|
|
'email_receipt_check_behaviour_always' => 'Altid markeret',
|
|
'email_receipt_check_behaviour_last' => 'Husk sidste valg',
|
|
'email_receipt_check_behaviour_never' => 'Aldrig markeret',
|
|
'email_smtp_crypto' => 'SMTP Kryptering',
|
|
'email_smtp_host' => 'SMTP Server',
|
|
'email_smtp_pass' => 'SMTP Kodeord',
|
|
'email_smtp_port' => 'SMTP Port',
|
|
'email_smtp_timeout' => 'SMTP Timeout (sekunder)',
|
|
'email_smtp_user' => 'SMTP Brugernavn',
|
|
'enable_avatar' => '',
|
|
'enable_avatar_tooltip' => '',
|
|
'enable_dropdown_tooltip' => '',
|
|
'enable_new_look' => '',
|
|
'enable_right_bar' => '',
|
|
'enable_right_bar_tooltip' => '',
|
|
'enforce_privacy' => 'Håndhæv privathed',
|
|
'enforce_privacy_tooltip' => 'Beskyt kunders privatliv, der håndhæver datascrambling i tilfælde af, at deres data bliver slettet',
|
|
'fax' => 'Fax',
|
|
'file_perm' => 'There are problems with file permissions please fix and reload this page.',
|
|
'financial_year' => 'Fiscal Year Start',
|
|
'financial_year_apr' => '1st of April',
|
|
'financial_year_aug' => '1st of August',
|
|
'financial_year_dec' => '1st of December',
|
|
'financial_year_feb' => '1st of February',
|
|
'financial_year_jan' => '1st of January',
|
|
'financial_year_jul' => '1st of July',
|
|
'financial_year_jun' => '1st of June',
|
|
'financial_year_mar' => '1st of March',
|
|
'financial_year_may' => '1st of May',
|
|
'financial_year_nov' => '1st of November',
|
|
'financial_year_oct' => '1st of October',
|
|
'financial_year_sep' => '1st of September',
|
|
'floating_labels' => '',
|
|
'gcaptcha_enable' => 'Login Page reCAPTCHA',
|
|
'gcaptcha_secret_key' => 'reCAPTCHA Secret Key',
|
|
'gcaptcha_secret_key_required' => 'reCAPTCHA Secret Key is a required field',
|
|
'gcaptcha_site_key' => 'reCAPTCHA Site Key',
|
|
'gcaptcha_site_key_required' => 'reCAPTCHA Site Key is a required field',
|
|
'gcaptcha_tooltip' => 'Protect the Login page with Google reCAPTCHA, click the icon for an API key pair.',
|
|
'general' => 'General',
|
|
'general_configuration' => 'General Configuration',
|
|
'giftcard_number' => 'Gift Card Number',
|
|
'giftcard_random' => 'Generate Random',
|
|
'giftcard_series' => 'Generate in Series',
|
|
'image_allowed_file_types' => '',
|
|
'image_max_height_tooltip' => '',
|
|
'image_max_size_tooltip' => '',
|
|
'image_max_width_tooltip' => '',
|
|
'image_restrictions' => '',
|
|
'include_hsn' => 'Include Support for HSN Codes',
|
|
'info' => 'Information',
|
|
'info_configuration' => 'Store Information',
|
|
'input_groups' => '',
|
|
'integrations' => 'Integrations',
|
|
'integrations_configuration' => 'Third Party Integrations',
|
|
'invoice' => 'Invoice',
|
|
'invoice_configuration' => 'Invoice Print Settings',
|
|
'invoice_default_comments' => 'Default Invoice Comments',
|
|
'invoice_email_message' => 'Invoice Email Template',
|
|
'invoice_enable' => 'Enable Invoicing',
|
|
'invoice_printer' => 'Invoice Printer',
|
|
'invoice_type' => 'Invoice Type',
|
|
'is_readable' => '',
|
|
'is_writable' => 'is writable, but the permissions are higher than 750.',
|
|
'item_markup' => '',
|
|
'jsprintsetup_required' => 'Warning: This functionality will only work if you have the FireFox jsPrintSetup addon installed. Save anyway?',
|
|
'language' => 'Language',
|
|
'last_used_invoice_number' => 'Last used Invoice Number',
|
|
'last_used_quote_number' => 'Last used Quote Number',
|
|
'last_used_work_order_number' => 'Last used W/O Number',
|
|
'left' => 'Left',
|
|
'license' => 'License',
|
|
'license_configuration' => 'License Statement',
|
|
'line_sequence' => 'Line Sequence',
|
|
'lines_per_page' => 'Lines per Page',
|
|
'lines_per_page_number' => 'Lines per Page must be a number.',
|
|
'lines_per_page_required' => 'Lines per Page is a required field.',
|
|
'locale' => 'Localization',
|
|
'locale_configuration' => 'Localization Configuration',
|
|
'locale_info' => 'Localization Configuration Information',
|
|
'location' => 'Stock',
|
|
'location_configuration' => 'Stock Locations',
|
|
'location_info' => 'Location Configuration Information',
|
|
'login_form' => '',
|
|
'logout' => 'Do you want to make a backup before logging out? Click [OK] to backup or [Cancel] to logout.',
|
|
'mailchimp' => 'Mailchimp',
|
|
'mailchimp_api_key' => 'Mailchimp API Key',
|
|
'mailchimp_configuration' => 'Mailchimp Configuration',
|
|
'mailchimp_key_successfully' => 'API Key is valid.',
|
|
'mailchimp_key_unsuccessfully' => 'API Key is invalid.',
|
|
'mailchimp_lists' => 'Mailchimp List(s)',
|
|
'mailchimp_tooltip' => 'Click the icon for an API Key.',
|
|
'message' => 'Message',
|
|
'message_configuration' => 'Message Configuration',
|
|
'msg_msg' => 'Saved Text Message',
|
|
'msg_msg_placeholder' => 'If you wish to use a SMS template save your message here, otherwise leave the box blank.',
|
|
'msg_pwd' => 'SMS-API Password',
|
|
'msg_src' => 'SMS-API Sender ID',
|
|
'msg_src_required' => 'SMS-API Sender ID is a required field',
|
|
'msg_uid' => 'SMS-API Username',
|
|
'msg_uid_required' => 'SMS-API Username is a required field',
|
|
'multi_pack_enabled' => 'Multiple Packages per Item',
|
|
'no_risk' => 'No security/vulnerability risks.',
|
|
'none' => 'none',
|
|
'notify_alignment' => 'Notification Popup Position',
|
|
'number_format' => 'Number Format',
|
|
'number_locale' => 'Localization',
|
|
'number_locale_invalid' => 'The entered locale is invalid. Check the link in the tooltip to find a valid locale.',
|
|
'number_locale_required' => 'Number Locale is a required field.',
|
|
'number_locale_tooltip' => 'Find a suitable locale through this link.',
|
|
'os_timezone' => '',
|
|
'ospos_info' => 'OSPOS Installation Info',
|
|
'payment_options_order' => 'Payment Options Order',
|
|
'payment_reference_code_length_limits' => 'Betalingsreferencekode<br>Længdegrænser',
|
|
'payment_reference_code_length_max_label' => 'Maks',
|
|
'payment_reference_code_length_min_label' => 'Min',
|
|
'perm_risk' => 'Permissions higher than 750 leaves this software at risk.',
|
|
'phone' => 'Company Phone',
|
|
'phone_required' => 'Company Phone is a required field.',
|
|
'print_bottom_margin' => 'Margin Bottom',
|
|
'print_bottom_margin_number' => 'Margin Bottom must be a number.',
|
|
'print_bottom_margin_required' => 'Margin Bottom is a required field.',
|
|
'print_delay_autoreturn' => 'Autoreturn to Sale delay',
|
|
'print_delay_autoreturn_number' => 'Autoreturn to Sale delay is a required field.',
|
|
'print_delay_autoreturn_required' => 'Autoreturn to Sale delay must be a number.',
|
|
'print_footer' => 'Print Browser Footer',
|
|
'print_header' => 'Print Browser Header',
|
|
'print_left_margin' => 'Margin Left',
|
|
'print_left_margin_number' => 'Margin Left must be a number.',
|
|
'print_left_margin_required' => 'Margin Left is a required field.',
|
|
'print_receipt_check_behaviour' => 'Print Receipt checkbox',
|
|
'print_receipt_check_behaviour_always' => 'Always checked',
|
|
'print_receipt_check_behaviour_last' => 'Remember last selection',
|
|
'print_receipt_check_behaviour_never' => 'Always unchecked',
|
|
'print_right_margin' => 'Margin Right',
|
|
'print_right_margin_number' => 'Margin Right must be a number.',
|
|
'print_right_margin_required' => 'Margin Right is a required field.',
|
|
'print_silently' => 'Show Print Dialog',
|
|
'print_top_margin' => 'Margin Top',
|
|
'print_top_margin_number' => 'Margin Top must be a number.',
|
|
'print_top_margin_required' => 'Margin Top is a required field.',
|
|
'quantity_decimals' => 'Quantity Decimals',
|
|
'quick_cash_enable' => '',
|
|
'quote_default_comments' => 'Default Quote Comments',
|
|
'receipt' => 'Receipt',
|
|
'receipt_category' => '',
|
|
'receipt_configuration' => 'Receipt Print Settings',
|
|
'receipt_default' => 'Default',
|
|
'receipt_font_size' => 'Font Size',
|
|
'receipt_font_size_number' => 'Font Size must be a number.',
|
|
'receipt_font_size_required' => 'Font Size is a required field.',
|
|
'receipt_info' => 'Receipt Configuration Information',
|
|
'receipt_printer' => 'Ticket Printer',
|
|
'receipt_short' => 'Short',
|
|
'receipt_show_company_name' => 'Show Company Name',
|
|
'receipt_show_description' => 'Show Description',
|
|
'receipt_show_serialnumber' => 'Show Serial Number',
|
|
'receipt_show_tax_ind' => 'Show Tax Indicator',
|
|
'receipt_show_taxes' => 'Show Taxes',
|
|
'receipt_show_total_discount' => 'Show Total Discount',
|
|
'receipt_template' => 'Receipt Template',
|
|
'receiving_calculate_average_price' => 'Calc avg. Price (Receiving)',
|
|
'recv_invoice_format' => 'Receivings Invoice Format',
|
|
'register_mode_default' => 'Default Register Mode',
|
|
'report_an_issue' => '',
|
|
'return_policy_required' => 'Return policy is a required field.',
|
|
'reward' => 'Reward',
|
|
'reward_configuration' => 'Reward Configuration',
|
|
'right' => 'Right',
|
|
'sales_invoice_format' => 'Sales Invoice Format',
|
|
'sales_quote_format' => 'Sales Quote Format',
|
|
'mailpath_invalid' => 'Ugyldig sendmail-sti. Kun bogstaver, tal, bindestreger, understregninger, skråstreger, omvendte skråstreger, kolon, mellemrum og punktummer er tilladt.',
|
|
'saved_successfully' => 'Configuration save successful.',
|
|
'saved_unsuccessfully' => 'Configuration save failed.',
|
|
'security_issue' => 'Security Vulnerability Warning',
|
|
'server_notice' => 'Please use the below info for issue reporting.',
|
|
'service_charge' => '',
|
|
'show_due_enable' => '',
|
|
'show_office_group' => 'Show office icon',
|
|
'statistics' => 'Send Statistics',
|
|
'statistics_tooltip' => 'Send statistics for development and feature improvement purposes.',
|
|
'stock_location' => 'Stock location',
|
|
'stock_location_duplicate' => 'Stock Location must be unique.',
|
|
'stock_location_invalid_chars' => "Stock Location can not contain '_'.",
|
|
'stock_location_required' => 'Stock location is a required field.',
|
|
'suggestions_fifth_column' => '',
|
|
'suggestions_first_column' => 'Column 1',
|
|
'suggestions_fourth_column' => '',
|
|
'suggestions_layout' => 'Search Suggestions Layout',
|
|
'suggestions_second_column' => 'Column 2',
|
|
'suggestions_third_column' => 'Column 3',
|
|
'system_conf' => 'Setup & Conf',
|
|
'system_info' => 'System Info',
|
|
'table' => 'Table',
|
|
'table_configuration' => 'Table Configuration',
|
|
'takings_printer' => 'Receipt Printer',
|
|
'tax' => 'Tax',
|
|
'tax_category' => 'Tax Category',
|
|
'tax_category_duplicate' => 'The entered tax category already exists.',
|
|
'tax_category_invalid_chars' => 'The entered tax category is invalid.',
|
|
'tax_category_required' => 'The tax category is required.',
|
|
'tax_category_used' => 'Tax category cannot be deleted because it is being used.',
|
|
'tax_configuration' => 'Tax Configuration',
|
|
'tax_decimals' => 'Tax Decimals',
|
|
'tax_id' => 'Tax Id',
|
|
'tax_included' => 'Tax Included',
|
|
'theme' => 'Theme',
|
|
'theme_preview' => '',
|
|
'thousands_separator' => 'Thousands Separator',
|
|
'timezone' => 'Timezone',
|
|
'timezone_error' => '',
|
|
'top' => 'Top',
|
|
'use_destination_based_tax' => 'Use Destination Based Tax',
|
|
'user_timezone' => '',
|
|
'website' => 'Website',
|
|
'wholesale_markup' => '',
|
|
'work_order_enable' => 'Work Order Support',
|
|
'work_order_format' => 'Work Order Format',
|
|
];
|