mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-30 14:45:03 -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
26 KiB
PHP
335 lines
26 KiB
PHP
<?php
|
|
|
|
return [
|
|
'address' => 'Företagsadress',
|
|
'address_required' => 'Företagsadress är ett obligatoriskt fält.',
|
|
'all_set' => 'Alla filbehörigheter är korrekt inställda!',
|
|
'allow_duplicate_barcodes' => 'Tillåt duplicera streckkoder',
|
|
'apostrophe' => 'apostrof',
|
|
'backup_button' => 'Backup',
|
|
'backup_database' => 'Säkerhetskopiera databas',
|
|
'barcode' => 'Streckkod',
|
|
'barcode_company' => 'Företagsnamn',
|
|
'barcode_configuration' => 'Streckkodskonfiguration',
|
|
'barcode_content' => 'Streckkod innehåll',
|
|
'barcode_first_row' => 'Rad 1',
|
|
'barcode_font' => 'Font',
|
|
'barcode_formats' => 'Inmatningsformat',
|
|
'barcode_generate_if_empty' => 'Skapa om tom.',
|
|
'barcode_height' => 'Höjd (px)',
|
|
'barcode_id' => 'Artikel-id / namn',
|
|
'barcode_info' => 'Streckkodskonfigurationsinformation',
|
|
'barcode_layout' => 'Streckkodslayout',
|
|
'barcode_name' => 'Namn',
|
|
'barcode_number' => 'Streckkod',
|
|
'barcode_number_in_row' => 'Antal i rad',
|
|
'barcode_page_cellspacing' => 'Visa kolumnbredd.',
|
|
'barcode_page_width' => 'Visa sidbredd',
|
|
'barcode_price' => 'Pris',
|
|
'barcode_second_row' => 'Rad 2',
|
|
'barcode_third_row' => 'Rad 3',
|
|
'barcode_tooltip' => 'Varning: Den här funktionen kan orsaka att duplicerade objekt importeras eller skapas. Använd inte om du inte vill ha dubbla streckkoder.',
|
|
'barcode_type' => 'Streckkodstyp',
|
|
'barcode_width' => 'Bredd (px)',
|
|
'bottom' => 'Botten',
|
|
'cash_button' => '',
|
|
'cash_button_1' => '',
|
|
'cash_button_2' => '',
|
|
'cash_button_3' => '',
|
|
'cash_button_4' => '',
|
|
'cash_button_5' => '',
|
|
'cash_button_6' => '',
|
|
'cash_decimals' => 'Kontant decimaler',
|
|
'cash_decimals_tooltip' => 'Om kontanterna och valutadecimalen är desamma kommer ingen öresutjämning att äga rum.',
|
|
'cash_rounding' => 'Öresavjämning',
|
|
'category_dropdown' => 'Visa kategori som en rullgardinsmeny',
|
|
'center' => 'Mitten',
|
|
'change_apperance_tooltip' => '',
|
|
'comma' => 'komma',
|
|
'company' => 'Företasnamn',
|
|
'company_avatar' => '',
|
|
'company_change_image' => 'Ändra bild',
|
|
'company_logo' => 'Företagslogo',
|
|
'company_remove_image' => 'Radera bild',
|
|
'company_required' => 'Företagsnamn är ett obligatoriskt fält',
|
|
'company_select_image' => 'Välj Bild',
|
|
'company_website_url' => 'Företagets webbplats är inte en giltig URL (http: // ...).',
|
|
'country_codes' => 'Landskod',
|
|
'country_codes_tooltip' => 'Kommaseparerad lista över landskoder för nominatimadressuppslag.',
|
|
'currency_code' => 'Valutakod',
|
|
'currency_decimals' => 'Valuta Decimaler',
|
|
'currency_symbol' => 'Valutasymbol',
|
|
'current_employee_only' => '',
|
|
'customer_reward' => 'Bonus',
|
|
'customer_reward_duplicate' => 'Bonus måste vara unik.',
|
|
'customer_reward_enable' => 'Aktivera kundbonus',
|
|
'customer_reward_invalid_chars' => "Bonus kan inte innehålla '_'",
|
|
'customer_reward_required' => 'Bonus är ett obligatoriskt fält',
|
|
'customer_sales_tax_support' => 'Kundomsättningskatt Support',
|
|
'date_or_time_format' => 'Datum och tidsfilter',
|
|
'datetimeformat' => 'Datum och tid Format',
|
|
'decimal_point' => 'Decimalpunkt',
|
|
'default_barcode_font_size_number' => 'Standard streckkods teckensnittstorlek måste vara ett nummer.',
|
|
'default_barcode_font_size_required' => 'Standard streckkodstorlekstorlek är ett obligatoriskt fält.',
|
|
'default_barcode_height_number' => 'Standard streckkodshöjd måste vara ett nummer.',
|
|
'default_barcode_height_required' => 'Standard streckkodshöjd är ett obligatoriskt fält.',
|
|
'default_barcode_num_in_row_number' => 'Standard streckkodsnummer i rad måste vara ett nummer.',
|
|
'default_barcode_num_in_row_required' => 'Standard streckkodsnummer i rad måste vara ett nummer.',
|
|
'default_barcode_page_cellspacing_number' => 'Standard Streckkodssida Cellspacing måste vara ett nummer.',
|
|
'default_barcode_page_cellspacing_required' => 'Standard Streckkodssida Cellspacing är ett obligatoriskt fält.',
|
|
'default_barcode_page_width_number' => 'Standard streckkodssidans bredd måste vara ett nummer.',
|
|
'default_barcode_page_width_required' => 'Standard streckkodssidans bredd är ett obligatoriskt fält.',
|
|
'default_barcode_width_number' => 'Standard streckkodsbredd måste vara ett nummer.',
|
|
'default_barcode_width_required' => 'Standard streckkodsbredd är ett obligatoriskt fält.',
|
|
'default_item_columns' => 'Standard synliga artikel kolumner',
|
|
'default_origin_tax_code' => 'Standard Urkomstskattkod',
|
|
'default_receivings_discount' => 'Standardmottagningsrabatt',
|
|
'default_receivings_discount_number' => 'Standardmottagningsrabatten måste vara ett nummer.',
|
|
'default_receivings_discount_required' => 'Standardmottagningsrabatt är ett obligatoriskt fält.',
|
|
'default_sales_discount' => 'Standard Försäljningsrabatt %',
|
|
'default_sales_discount_number' => 'Standardförsäljningsrabatt måste vara ett nummer.',
|
|
'default_sales_discount_required' => 'Standardförsäljningsrabatt är ett obligatoriskt fält.',
|
|
'default_tax_category' => 'Standardskattskategori',
|
|
'default_tax_code' => 'Standard skattetabell',
|
|
'default_tax_jurisdiction' => 'Standardskattejurisdiktion',
|
|
'default_tax_name_number' => 'Standardskattnamn måste vara en sträng.',
|
|
'default_tax_name_required' => 'Standardskattnamn är ett obligatoriskt fält.',
|
|
'default_tax_rate' => 'Standardskattesats%',
|
|
'default_tax_rate_1' => 'Skattesats 1',
|
|
'default_tax_rate_2' => 'Skattesats 2',
|
|
'default_tax_rate_3' => '',
|
|
'default_tax_rate_number' => 'Standardskattesats måste vara ett nummer.',
|
|
'default_tax_rate_required' => 'Standardskattesats är ett obligatoriskt fält.',
|
|
'derive_sale_quantity' => 'Tillåt avledad försäljningskvantitet',
|
|
'derive_sale_quantity_tooltip' => 'Om den är markerad kommer en ny objekttyp att tillhandahållas för poster som beställts med förlängd mängd',
|
|
'dinner_table' => 'Bord',
|
|
'dinner_table_duplicate' => 'Bordsnummer måste vara unik.',
|
|
'dinner_table_enable' => 'Aktivera bord',
|
|
'dinner_table_invalid_chars' => "Bordsnamn får inte innehålla '_'.",
|
|
'dinner_table_required' => 'Bord är ett obligatoriskt fält.',
|
|
'dot' => 'punkt',
|
|
'email' => 'E-post',
|
|
'email_configuration' => 'E-mail Konfiguration',
|
|
'email_mailpath' => 'Sökväg till Sendmail',
|
|
'email_protocol' => 'Protokol',
|
|
'email_receipt_check_behaviour' => 'Kryssruta för e-postkvitto',
|
|
'email_receipt_check_behaviour_always' => 'Alltid förikryssad',
|
|
'email_receipt_check_behaviour_last' => 'Kom ihåg det senaste valet',
|
|
'email_receipt_check_behaviour_never' => 'Alltid urkryssad',
|
|
'email_smtp_crypto' => 'SMTP kryptering',
|
|
'email_smtp_host' => 'SMTP Server',
|
|
'email_smtp_pass' => 'SMTP Lösenord',
|
|
'email_smtp_port' => 'SMTP Port',
|
|
'email_smtp_timeout' => 'SMTP Timeout',
|
|
'email_smtp_user' => 'SMTP Användarnamn',
|
|
'enable_avatar' => '',
|
|
'enable_avatar_tooltip' => '',
|
|
'enable_dropdown_tooltip' => '',
|
|
'enable_new_look' => '',
|
|
'enable_right_bar' => '',
|
|
'enable_right_bar_tooltip' => '',
|
|
'enforce_privacy' => 'Upprätthålla integritet',
|
|
'enforce_privacy_tooltip' => 'Skydda kundernas integritet genom att kryptera data om deras data raderas',
|
|
'fax' => 'Fax',
|
|
'file_perm' => 'There are problems with file permissions please fix and reload this page.',
|
|
'financial_year' => 'Räkenskapsårets början',
|
|
'financial_year_apr' => '1 april',
|
|
'financial_year_aug' => '1 augusti',
|
|
'financial_year_dec' => '1 december',
|
|
'financial_year_feb' => '1 februari',
|
|
'financial_year_jan' => '1 januari',
|
|
'financial_year_jul' => '1 juli',
|
|
'financial_year_jun' => '1 juni',
|
|
'financial_year_mar' => '1 mars',
|
|
'financial_year_may' => '1 maj',
|
|
'financial_year_nov' => '1 november',
|
|
'financial_year_oct' => '1 oktober',
|
|
'financial_year_sep' => '1 september',
|
|
'floating_labels' => 'Flytande etiketter',
|
|
'gcaptcha_enable' => 'Inloggningssida reCAPTCHA',
|
|
'gcaptcha_secret_key' => 'Hemlig nyckel för reCAPTCHA',
|
|
'gcaptcha_secret_key_required' => 'reCAPTCHA Secret Key är ett obligatoriskt fält',
|
|
'gcaptcha_site_key' => 'Sid-nyckel för reCAPTCHA',
|
|
'gcaptcha_site_key_required' => 'reCAPTCHA Site Key är ett obligatoriskt fält',
|
|
'gcaptcha_tooltip' => 'Skydda inloggningssidan med Google reCAPTCHA, klicka på ikonen för ett API-nyckelpar.',
|
|
'general' => 'Allmämt',
|
|
'general_configuration' => 'Allmänna inställningar',
|
|
'giftcard_number' => 'Presentkortsnummer',
|
|
'giftcard_random' => 'Slumpa fram',
|
|
'giftcard_series' => 'Generera i serie',
|
|
'image_allowed_file_types' => 'Tillåtna filtyper',
|
|
'image_max_height_tooltip' => 'Högsta tillåtna höjd för bilduppladdningar i pixlar (px).',
|
|
'image_max_size_tooltip' => 'Högsta tillåtna filstorlek för bilduppladdningar i kilobyte (kb).',
|
|
'image_max_width_tooltip' => 'Högsta tillåtna bredd för bilduppladdningar i pixlar (px).',
|
|
'image_restrictions' => 'Begränsningar för bildöverföring',
|
|
'include_hsn' => 'Inkludera stöd för HSN-koder',
|
|
'info' => 'Information',
|
|
'info_configuration' => 'Butiksinformation',
|
|
'input_groups' => 'Inmatningsgrupper',
|
|
'integrations' => 'Integrationer',
|
|
'integrations_configuration' => 'Tredjepartsintegrationer',
|
|
'invoice' => 'Faktura',
|
|
'invoice_configuration' => 'Faktura utskriftsinställningar',
|
|
'invoice_default_comments' => 'Standardfaktura kommentarer',
|
|
'invoice_email_message' => 'Faktura e-postmall',
|
|
'invoice_enable' => 'Aktivera Fakturering',
|
|
'invoice_printer' => 'Faktura skrivare',
|
|
'invoice_type' => 'Fakturatyp',
|
|
'is_readable' => 'är läsbar, men behörigheterna är felaktigt inställda. Ställ in den på 640 eller 660 och uppdatera.',
|
|
'is_writable' => 'är skrivbar, men behörigheterna är felaktigt inställda. Ställ in den på 750 och uppdatera.',
|
|
'item_markup' => '',
|
|
'jsprintsetup_required' => 'Varning: Den här funktionaliteten fungerar bara om du har installerat FireFox jsPrintSetup addon. Spara ändå?',
|
|
'language' => 'Språk',
|
|
'last_used_invoice_number' => 'Senast använt Fakturanummer',
|
|
'last_used_quote_number' => 'Senast använt Qouta nummer',
|
|
'last_used_work_order_number' => 'Senast använt arbetsordernummer',
|
|
'left' => 'Vänster',
|
|
'license' => 'Licens',
|
|
'license_configuration' => 'Licensvilkor',
|
|
'line_sequence' => 'Linjesekvens',
|
|
'lines_per_page' => 'Linjer per sida',
|
|
'lines_per_page_number' => 'Linjer per sida måste vara ett nummer.',
|
|
'lines_per_page_required' => 'Linjer per sida är ett obligatoriskt fält.',
|
|
'locale' => 'Lokalisering',
|
|
'locale_configuration' => 'Lokaliseringskonfiguration',
|
|
'locale_info' => 'Lokaliseringskonfigurationsinformation',
|
|
'location' => 'Lager',
|
|
'location_configuration' => 'Lagerplatser',
|
|
'location_info' => 'Platskonfigurationsinformation',
|
|
'login_form' => 'Formulär-stil för inloggning',
|
|
'logout' => 'Vill du göra en säkerhetskopiering innan du loggar ut? Klicka på [OK] för att säkerhetskopiera eller [Avbryt] för att logga ut.',
|
|
'mailchimp' => 'MailChimp',
|
|
'mailchimp_api_key' => 'API-nyckel för MailChimp',
|
|
'mailchimp_configuration' => 'Mailchimp konfiguration',
|
|
'mailchimp_key_successfully' => 'API-nyckeln är giltig.',
|
|
'mailchimp_key_unsuccessfully' => 'API-nyckeln är ogiltig.',
|
|
'mailchimp_lists' => 'MailChimp Listor',
|
|
'mailchimp_tooltip' => 'Klicka på ikonen för en API-nyckel.',
|
|
'message' => 'Medelande',
|
|
'message_configuration' => 'Meddelandekonfiguration',
|
|
'msg_msg' => 'Sparade SMS',
|
|
'msg_msg_placeholder' => 'Om du vill använda en SMS-mall, spara ditt meddelande här, annars lämna rutan tomt.',
|
|
'msg_pwd' => 'SMS-API-lösenord',
|
|
'msg_src' => 'SMS-API Sender-ID',
|
|
'msg_src_required' => 'SMS-API Sender-ID är ett obligatoriskt fält',
|
|
'msg_uid' => 'SMS-API Användarnamn',
|
|
'msg_uid_required' => 'SMS-API Användarnamn är ett obligatoriskt fält',
|
|
'multi_pack_enabled' => 'Flera paket per artikel',
|
|
'no_risk' => 'Ingen säkerhet/sårbarhetsrisker.',
|
|
'none' => 'inga',
|
|
'notify_alignment' => 'Meddelande Popup Position',
|
|
'number_format' => 'Nummerformat',
|
|
'number_locale' => 'Lokalisering',
|
|
'number_locale_invalid' => 'Den angivna lokaliseringen är ogiltig. Kontrollera länken i verktygstipset för att hitta en giltig plats.',
|
|
'number_locale_required' => 'Nummerlandskap är ett obligatoriskt fält.',
|
|
'number_locale_tooltip' => 'Hitta en lämplig ort genom denna länk.',
|
|
'os_timezone' => 'OSPOS-tidszon:',
|
|
'ospos_info' => 'OSPOS installationsinfo',
|
|
'payment_options_order' => 'Betalningsalternativ ordnning',
|
|
'payment_reference_code_length_limits' => 'Betalningsreferenskod<br>Längdgränser',
|
|
'payment_reference_code_length_max_label' => 'Max',
|
|
'payment_reference_code_length_min_label' => 'Min',
|
|
'perm_risk' => 'Felaktiga behörigheter gör att denna programvara är i fara.',
|
|
'phone' => 'Företagets telefon',
|
|
'phone_required' => 'Företagets telefon är ett obligatoriskt fält.',
|
|
'print_bottom_margin' => 'Marginal botten',
|
|
'print_bottom_margin_number' => 'Marginalbotten måste vara ett nummer.',
|
|
'print_bottom_margin_required' => 'Marginalbotten är ett obligatoriskt fält.',
|
|
'print_delay_autoreturn' => 'Autoreturn to Sale-försening',
|
|
'print_delay_autoreturn_number' => 'Fördröjning av autoreturn to Sale är ett obligatoriskt fält.',
|
|
'print_delay_autoreturn_required' => 'Fördröjning av autoreturn to Sale måste vara ett nummer.',
|
|
'print_footer' => 'Skriv ut sidfot',
|
|
'print_header' => 'Skriv ut sidhuvudet',
|
|
'print_left_margin' => 'Marginal vänster',
|
|
'print_left_margin_number' => 'Marginal vänster måste vara ett nummer.',
|
|
'print_left_margin_required' => 'Marginal vänster är ett obligatoriskt fält.',
|
|
'print_receipt_check_behaviour' => 'Kryssrutan Skriv ut kvitto',
|
|
'print_receipt_check_behaviour_always' => 'Kontrolleras alltid',
|
|
'print_receipt_check_behaviour_last' => 'Kom ihåg det senaste valet',
|
|
'print_receipt_check_behaviour_never' => 'Alltid urkryssad',
|
|
'print_right_margin' => 'Marginal höger',
|
|
'print_right_margin_number' => 'Marginal höger måste vara ett tal.',
|
|
'print_right_margin_required' => 'Marginal höger är ett obligatoriskt fält.',
|
|
'print_silently' => 'Visa utskriftsdialog',
|
|
'print_top_margin' => 'Marginal top',
|
|
'print_top_margin_number' => 'Marginal Top måste vara ett nummer.',
|
|
'print_top_margin_required' => 'Margin Top är ett obligatoriskt fält.',
|
|
'quantity_decimals' => 'Antal decimaler',
|
|
'quick_cash_enable' => '',
|
|
'quote_default_comments' => 'Standardoffert kommentar',
|
|
'receipt' => 'Kvitto',
|
|
'receipt_category' => '',
|
|
'receipt_configuration' => 'Kvittosutskriftsinställningar',
|
|
'receipt_default' => 'Standard',
|
|
'receipt_font_size' => 'Textstorlek',
|
|
'receipt_font_size_number' => 'Teckensnittstorlek måste vara ett nummer.',
|
|
'receipt_font_size_required' => 'Teckensnittstorlek är ett obligatoriskt fält.',
|
|
'receipt_info' => 'Kvittokonfigurationsinformation',
|
|
'receipt_printer' => 'Kvittoskrivare',
|
|
'receipt_short' => 'Kort',
|
|
'receipt_show_company_name' => 'Visa företagsnamn',
|
|
'receipt_show_description' => 'Visa beskrivning',
|
|
'receipt_show_serialnumber' => 'Visa serienummer',
|
|
'receipt_show_tax_ind' => 'Visa skatteindikator',
|
|
'receipt_show_taxes' => 'Visa skatter',
|
|
'receipt_show_total_discount' => 'Visa total rabatt',
|
|
'receipt_template' => 'Kvitto mall',
|
|
'receiving_calculate_average_price' => 'Beräkna avg. Pris (Inleverans)',
|
|
'recv_invoice_format' => 'Mottagningsfakturaformat',
|
|
'register_mode_default' => 'Standardregisterläge',
|
|
'report_an_issue' => 'Rapportera ett problem',
|
|
'return_policy_required' => 'Returpolicy är ett obligatoriskt fält.',
|
|
'reward' => 'Bonus',
|
|
'reward_configuration' => 'Bonuskonfiguration',
|
|
'right' => 'Höger',
|
|
'sales_invoice_format' => 'Försäljningsfakturaformat',
|
|
'sales_quote_format' => 'Försäljningsquotaformat',
|
|
'mailpath_invalid' => 'Ogiltig sendmail-sökväg. Endast bokstäver, siffror, bindestreck, understreck, snedstreck, omvända snedstreck, kolon, mellanslag och punkter tillåts.',
|
|
'saved_successfully' => 'Konfigurationen sparades.',
|
|
'saved_unsuccessfully' => 'Konfigurationsbesparingen misslyckades.',
|
|
'security_issue' => 'Varning för säkerhetsrisker',
|
|
'server_notice' => 'Vänligen använd nedanstående info för fel-rapportering.',
|
|
'service_charge' => '',
|
|
'show_due_enable' => '',
|
|
'show_office_group' => 'Visa kontorsikon',
|
|
'statistics' => 'Skicka statistik',
|
|
'statistics_tooltip' => 'Skicka statistik för utveckling och funktionsförbättringsändamål.',
|
|
'stock_location' => 'Lagerplats',
|
|
'stock_location_duplicate' => 'Lagerplats måste vara unik.',
|
|
'stock_location_invalid_chars' => "Lagerplatsen kan inte innehålla '_'.",
|
|
'stock_location_required' => 'Lagerplats är ett obligatoriskt fält.',
|
|
'suggestions_fifth_column' => '',
|
|
'suggestions_first_column' => 'Kolumn 1',
|
|
'suggestions_fourth_column' => '',
|
|
'suggestions_layout' => 'Sök förslag till layout',
|
|
'suggestions_second_column' => 'Kolumn 2',
|
|
'suggestions_third_column' => 'Kolumn 3',
|
|
'system_conf' => 'Ställ in & Konf',
|
|
'system_info' => 'System Info',
|
|
'table' => 'Bord',
|
|
'table_configuration' => 'Bordsinställningar',
|
|
'takings_printer' => 'Kvittoskrivare',
|
|
'tax' => 'Skatt',
|
|
'tax_category' => 'Skattekategori',
|
|
'tax_category_duplicate' => 'Den angivna skattekategori existerar redan.',
|
|
'tax_category_invalid_chars' => 'Den angivna skattekategori är ogiltig.',
|
|
'tax_category_required' => 'Skattekategori krävs.',
|
|
'tax_category_used' => 'Skattekategori kan inte raderas eftersom den används.',
|
|
'tax_configuration' => 'Skattkonfiguration',
|
|
'tax_decimals' => 'Skatt decimaler',
|
|
'tax_id' => 'Skatteid',
|
|
'tax_included' => 'Skatt ingår',
|
|
'theme' => 'Tema',
|
|
'theme_preview' => 'Förhandsgranska tema:',
|
|
'thousands_separator' => 'Tusentals separator',
|
|
'timezone' => 'Tidszon',
|
|
'timezone_error' => 'OSPOS-tidszon skiljer sig från din lokala tidszon.',
|
|
'top' => 'Top',
|
|
'use_destination_based_tax' => 'Använd destinationsbaserad skatt',
|
|
'user_timezone' => 'Lokal tidszon:',
|
|
'website' => 'Hemsida',
|
|
'wholesale_markup' => '',
|
|
'work_order_enable' => 'Arbetsorderstöd',
|
|
'work_order_format' => 'Arbetsorderformat',
|
|
];
|