Files
opensourcepos/app/Language/fa/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
30 KiB
PHP

<?php
return [
'address' => 'آدرس شرکت',
'address_required' => 'آدرس شرکت یک زمینه ضروری است.',
'all_set' => 'همه مجوزهای پرونده درست تنظیم شده اند!',
'allow_duplicate_barcodes' => 'مجاز بارکد های تکراری',
'apostrophe' => 'ارتداد',
'backup_button' => 'پشتیبان گیری',
'backup_database' => 'بانک اطلاعات پشتیبان',
'barcode' => 'بارکد',
'barcode_company' => 'نام شرکت',
'barcode_configuration' => 'پیکربندی بارکد',
'barcode_content' => 'محتوای بارکد',
'barcode_first_row' => 'ردیف 1',
'barcode_font' => 'قلم',
'barcode_formats' => 'قالبهای ورودی',
'barcode_generate_if_empty' => 'اگر خالی باشد تولید کنید.',
'barcode_height' => 'قد به پیکسل',
'barcode_id' => 'شناسه مورد / نام',
'barcode_info' => 'اطلاعات پیکربندی بارکد',
'barcode_layout' => 'چیدمان بارکد',
'barcode_name' => 'نام',
'barcode_number' => 'بارکد',
'barcode_number_in_row' => 'تعداد در ردیف',
'barcode_page_cellspacing' => 'نمایش جای خالی صفحه.',
'barcode_page_width' => 'نمایش عرض صفحه',
'barcode_price' => 'قیمت',
'barcode_second_row' => 'ردیف 2',
'barcode_third_row' => 'ردیف 3',
'barcode_tooltip' => 'اخطار: این ویژگی می تواند باعث وارد شدن یا ایجاد موارد تکراری شود. اگر نمی خواهید بارکد های تکراری داشته باشید ، از آنها استفاده نکنید.',
'barcode_type' => '',
'barcode_width' => 'عرض به پیکسل',
'bottom' => 'پایین',
'cash_button' => '',
'cash_button_1' => '',
'cash_button_2' => '',
'cash_button_3' => '',
'cash_button_4' => '',
'cash_button_5' => '',
'cash_button_6' => '',
'cash_decimals' => 'اعشار نقدی',
'cash_decimals_tooltip' => 'اگر کسرهای نقدی و دهدهی های ارزی یکسان باشد ، هیچ دور وجه نقدی صورت نمی گیرد.',
'cash_rounding' => 'گرد پول نقد',
'category_dropdown' => 'نمایش دسته بندی به عنوان یک بازده',
'center' => 'مرکز',
'change_apperance_tooltip' => '',
'comma' => 'کام',
'company' => 'نام شرکت',
'company_avatar' => '',
'company_change_image' => 'تغییر تصویر',
'company_logo' => 'آرم شرکت',
'company_remove_image' => 'حذف تصویر',
'company_required' => 'نام شرکت یک زمینه ضروری است',
'company_select_image' => 'تصویر را انتخاب کنید',
'company_website_url' => 'وب سایت شرکت معتبر نیست',
'country_codes' => 'کد کشور',
'country_codes_tooltip' => 'کاما لیست کدهای کشور را برای جستجوی آدرس جدا کرد.',
'currency_code' => 'کد ارز',
'currency_decimals' => 'اعشار ارزی',
'currency_symbol' => 'نماد ارز',
'current_employee_only' => '',
'customer_reward' => 'جایزه',
'customer_reward_duplicate' => 'پاداش باید بی نظیر باشد.',
'customer_reward_enable' => 'فعال کردن پاداش مشتری',
'customer_reward_invalid_chars' => 'پاداش نمی تواند حاوی ـ باشد',
'customer_reward_required' => 'پاداش یک زمینه ضروری است',
'customer_sales_tax_support' => '',
'date_or_time_format' => 'فیلتر تاریخ و زمان',
'datetimeformat' => 'قالب و تاریخ',
'decimal_point' => 'نقطه اعشار',
'default_barcode_font_size_number' => 'اندازه قلم بارکد پیش فرض باید یک عدد باشد.',
'default_barcode_font_size_required' => 'اندازه قلم پیش فرض بارکد یک فیلد مورد نیاز است.',
'default_barcode_height_number' => 'ارتفاع پیش فرض بارکد باید یک عدد باشد.',
'default_barcode_height_required' => 'پیش فرض بارکد ارتفاع یک فیلد مورد نیاز است.',
'default_barcode_num_in_row_number' => 'شماره بارکد پیش فرض در ردیف باید یک عدد باشد.',
'default_barcode_num_in_row_required' => 'پیش فرض بارکد شماره در ردیف یک زمینه مورد نیاز است.',
'default_barcode_page_cellspacing_number' => 'صفحه پیش فرض بارکد باید یک شماره باشد.',
'default_barcode_page_cellspacing_required' => 'به طور پیش فرض بارکد صفحه یک زمینه مورد نیاز است.',
'default_barcode_page_width_number' => 'عرض صفحه بارکد پیش فرض باید یک عدد باشد.',
'default_barcode_page_width_required' => 'صفحه پیش فرض بارکد یک فیلد ضروری است.',
'default_barcode_width_number' => 'عرض پیش فرض بارکد باید یک عدد باشد.',
'default_barcode_width_required' => 'پیش فرض عرض بارکد یک فیلد مورد نیاز است.',
'default_item_columns' => 'ستون های مورد قابل مشاهده پیش فرض',
'default_origin_tax_code' => 'کد مالیات پیش فرض مبداء',
'default_receivings_discount' => 'تخفیف دريافت دريافت',
'default_receivings_discount_number' => 'تخفیف دريافت پیش فرض باید یک عدد باشد.',
'default_receivings_discount_required' => 'تخفیف دريافت پیش فرض یک قسمت مورد نیاز است.',
'default_sales_discount' => 'تخفیف فروش پیش فرض',
'default_sales_discount_number' => 'تخفیف فروش پیش فرض باید یک عدد باشد.',
'default_sales_discount_required' => 'تخفیف فروش پیش فرض یک قسمت مورد نیاز است.',
'default_tax_category' => 'طبقه بندی پیش فرض مالیات',
'default_tax_code' => 'کد پیش فرض مالیات',
'default_tax_jurisdiction' => 'پیش فرض صلاحیت مالیاتی',
'default_tax_name_number' => 'نام مالیات پیش فرض باید یک رشته باشد.',
'default_tax_name_required' => 'نام مالیات پیش فرض یک قسمت مورد نیاز است.',
'default_tax_rate' => 'پیش فرض نرخ مالیات٪',
'default_tax_rate_1' => 'نرخ مالیات 1',
'default_tax_rate_2' => 'نرخ مالیات 2',
'default_tax_rate_3' => '',
'default_tax_rate_number' => 'نرخ مالیات پیش فرض باید یک عدد باشد.',
'default_tax_rate_required' => 'پیش فرض مالیات نرخ مورد نیاز است.',
'derive_sale_quantity' => 'مجاز به مقدار فروش مشتق شده',
'derive_sale_quantity_tooltip' => 'اگر بررسی شود ، نوع جدیدی برای موارد سفارش داده شده با مقدار طولانی ارائه می شود',
'dinner_table' => 'جدول',
'dinner_table_duplicate' => 'جدول باید بی نظیر باشد.',
'dinner_table_enable' => 'فعال کردن جداول شام',
'dinner_table_invalid_chars' => 'نام جدول نمی تواند حاوی ـ باشد.',
'dinner_table_required' => 'جدول فیلد مورد نیاز است.',
'dot' => 'نقطه',
'email' => 'پست الکترونیک',
'email_configuration' => 'پیکربندی ایمیل',
'email_mailpath' => ' مسیر ارسال به برنامه (سندمیل)',
'email_protocol' => 'پروتکل',
'email_receipt_check_behaviour' => 'کادر بررسی دریافت ایمیل',
'email_receipt_check_behaviour_always' => 'همیشه بررسی شد',
'email_receipt_check_behaviour_last' => 'انتخاب گذشته را بخاطر بسپار',
'email_receipt_check_behaviour_never' => 'همیشه انتخاب نشده',
'email_smtp_crypto' => 'SMTP رمزگذاری',
'email_smtp_host' => 'SMTP سرور',
'email_smtp_pass' => 'SMTP گذرواژه',
'email_smtp_port' => 'SMTP پورت',
'email_smtp_timeout' => 'SMT Timeout (s)',
'email_smtp_user' => 'SMTP نام کاربری',
'enable_avatar' => '',
'enable_avatar_tooltip' => '',
'enable_dropdown_tooltip' => '',
'enable_new_look' => '',
'enable_right_bar' => '',
'enable_right_bar_tooltip' => '',
'enforce_privacy' => 'اجرای حریم خصوصی',
'enforce_privacy_tooltip' => 'در صورت از بین بردن داده های آنها در صورت حذف داده ها ، از حفظ حریم خصوصی مشتریان محافظت کنید',
'fax' => 'نمابر',
'file_perm' => 'در مجوزهای پرونده مشکلی وجود دارد ، لطفا این صفحه را تعمیر و بارگذاری مجدد کنید.',
'financial_year' => 'شروع سال مالی',
'financial_year_apr' => 'اول آوریل',
'financial_year_aug' => 'اول اوت',
'financial_year_dec' => 'اول دسامبر',
'financial_year_feb' => 'اول فوریه',
'financial_year_jan' => 'اول ژانویه',
'financial_year_jul' => 'اول ژوئیه',
'financial_year_jun' => 'اول ژوئن',
'financial_year_mar' => 'اول مارس',
'financial_year_may' => 'اول ماه مه',
'financial_year_nov' => 'اول نوامبر',
'financial_year_oct' => 'اول اکتبر',
'financial_year_sep' => 'اول سپتامبر',
'floating_labels' => '',
'gcaptcha_enable' => 'صفحه ورود کپچا',
'gcaptcha_secret_key' => 'کلید مخفی کپچا',
'gcaptcha_secret_key_required' => 'کلید مخفی کپچا یک زمینه مورد نیاز است',
'gcaptcha_site_key' => 'کلید سایت کپچا',
'gcaptcha_site_key_required' => 'کلید سایت کپچا یک زمینه مورد نیاز است',
'gcaptcha_tooltip' => 'از صفحه ورود با کپچا محافظت کنید ، روی یک نماد برای یک جفت کلید ای‌پی‌آی کلیک کنید.',
'general' => 'عمومی',
'general_configuration' => 'پیکربندی عمومی',
'giftcard_number' => 'شماره کارت هدیه',
'giftcard_random' => 'تولید تصادفی',
'giftcard_series' => 'تولید در سریال',
'image_allowed_file_types' => 'انواع پرونده مجاز',
'image_max_height_tooltip' => 'حداکثر ارتفاع مجاز بارگذاری تصویر در پیکسل ها (px).',
'image_max_size_tooltip' => 'حداکثر اندازه مجاز بارگذاری تصویر در کیلوبایت (کیلوبایت).',
'image_max_width_tooltip' => 'حداکثر عرض مجاز بارگذاری تصویر در پیکسل ها (px).',
'image_restrictions' => 'محدودیتهای آپلود تصویر',
'include_hsn' => 'شامل پشتیبانی از کدهای اچ‌اس‌ان',
'info' => 'اطلاعات',
'info_configuration' => 'اطلاعات فروشگاه',
'input_groups' => '',
'integrations' => 'ادغام',
'integrations_configuration' => 'ادغام های شخص ثالث',
'invoice' => 'صورتحساب',
'invoice_configuration' => 'تنظیمات چاپ فاکتور',
'invoice_default_comments' => 'نظرات پیش فرض فاکتور',
'invoice_email_message' => 'الگوی ایمیل فاکتور',
'invoice_enable' => 'فعال کردن صورتحساب',
'invoice_printer' => 'چاپگر فاکتور',
'invoice_type' => 'نوع فاکتور',
'is_readable' => 'قابل خواندن است ، اما مجوزها از 660 بالاتر است.',
'is_writable' => 'قابل چاپ است ، اما مجوزها بالاتر از 750 است.',
'item_markup' => '',
'jsprintsetup_required' => 'هشدار: این عملکرد تنها در صورتی کار خواهد کرد که افزونه فایرفاکس ج پرینت را نصب کنید. به هر حال ذخیره می شود؟',
'language' => 'زبان',
'last_used_invoice_number' => 'آخرین فاکتور استفاده شده شماره',
'last_used_quote_number' => 'آخرین شماره نقل قول استفاده شده',
'last_used_work_order_number' => 'آخرین شماره سفارش کار استفاده شده',
'left' => 'ترک کرد',
'license' => 'مجوز',
'license_configuration' => 'بیانیه مجوز',
'line_sequence' => 'دنباله خط',
'lines_per_page' => 'خطوط در هر صفحه',
'lines_per_page_number' => 'خطوط در هر صفحه باید عددی باشند.',
'lines_per_page_required' => 'خطوط در هر صفحه یک زمینه ضروری است',
'locale' => 'بومی سازی',
'locale_configuration' => 'پیکربندی محلی سازی',
'locale_info' => 'اطلاعات پیکربندی محلی سازی',
'location' => 'موجودی',
'location_configuration' => 'محل سهام',
'location_info' => 'اطلاعات پیکربندی موقعیت مکانی',
'login_form' => '',
'logout' => 'آیا می خواهید قبل از ورود ، نسخه پشتیبان تهیه کنید؟ برای پشتیبان گیری یا [لغو] برای ورود به سیستم ، روی [اوکی] کلیک کنید',
'mailchimp' => 'Mailchimp',
'mailchimp_api_key' => 'کلید ای‌پی‌آی میل‌چیمپ',
'mailchimp_configuration' => 'پیکربندی میل‌چیمپ',
'mailchimp_key_successfully' => 'کلید ای‌پی‌آی معتبر است.',
'mailchimp_key_unsuccessfully' => 'کلید ای‌پی‌آی نامعتبر است.',
'mailchimp_lists' => 'لیست (های) میل‌چیمپ',
'mailchimp_tooltip' => 'بر روی نماد یک کلید ای‌پی‌آی کلیک کنید.',
'message' => 'پیام',
'message_configuration' => 'پیکربندی پیام',
'msg_msg' => 'پیام متنی ذخیره شده',
'msg_msg_placeholder' => 'اگر می خواهید از یک پیام کوتاه استفاده کنید ، پیام خود را در اینجا ذخیره کنید ، در غیر این صورت جعبه را خالی بگذارید.',
'msg_pwd' => 'گذرواژه SMS-API',
'msg_src' => 'شناسه فرستنده ای‌پی‌آی اس‌ام‌اس ',
'msg_src_required' => 'شناسه فرستنده ای‌پی‌آی اس‌ام‌اس یک زمینه ضروری است',
'msg_uid' => 'نام کاربری ای‌پی‌آی اس‌ام‌اس ',
'msg_uid_required' => 'نام کاربری ای‌پی‌آی اس‌ام‌اس یک زمینه ضروری است',
'multi_pack_enabled' => 'بسته های چندگانه برای هر مورد',
'no_risk' => 'خطرات امنیتی و آسیب پذیری وجود ندارد.',
'none' => 'هیچ یک',
'notify_alignment' => 'موقعیت یاب اعلان',
'number_format' => 'قالب شماره',
'number_locale' => 'بومی سازی',
'number_locale_invalid' => 'محل ورود نامعتبر است. برای یافتن محلی معتبر ، پیوند را در راهنمای ابزار بررسی کنید.',
'number_locale_required' => 'شماره محلی یک زمینه مورد نیاز است.',
'number_locale_tooltip' => 'از طریق این لینک محلی مناسب پیدا کنید.',
'os_timezone' => 'منطقه زمانی اوسپوس:',
'ospos_info' => 'اطلاعات نصب اوسپوس',
'payment_options_order' => 'سفارش گزینه های پرداخت',
'payment_reference_code_length_limits' => 'کد مرجع پرداخت<br>محدودیت‌های طول',
'payment_reference_code_length_max_label' => 'حداکثر',
'payment_reference_code_length_min_label' => 'حداقل',
'perm_risk' => 'مجوزهای بالاتر از 750 برای نوشتن و 660 برای خواندن ، این نرم افزار را در معرض خطر قرار می دهد.',
'phone' => 'تلفن شرکت',
'phone_required' => 'تلفن شرکت یک زمینه ضروری است.',
'print_bottom_margin' => 'حاشیه پایین',
'print_bottom_margin_number' => 'حاشیه پایین باید یک عدد باشد.',
'print_bottom_margin_required' => 'کلید مارجین یک زمینه مورد نیاز است.',
'print_delay_autoreturn' => 'تأخیر در فروش تاخیر در فروش',
'print_delay_autoreturn_number' => 'تأخیر در فروش تاخیر یک زمینه ضروری است.',
'print_delay_autoreturn_required' => 'تأخیر در فروش تاخیر در فروش باید یک عدد باشد.',
'print_footer' => 'چاپ پاورقی مرورگر',
'print_header' => 'چاپ هدر مرورگر',
'print_left_margin' => 'حاشیه چپ',
'print_left_margin_number' => 'مارجین چپ باید یک عدد باشد.',
'print_left_margin_required' => 'Margin Left یک زمینه مورد نیاز است.',
'print_receipt_check_behaviour' => 'کادر تأیید چاپ',
'print_receipt_check_behaviour_always' => 'همیشه بررسی شد',
'print_receipt_check_behaviour_last' => 'انتخاب گذشته را بخاطر بسپار',
'print_receipt_check_behaviour_never' => 'همیشه انتخاب نشده',
'print_right_margin' => 'حق حاشیه',
'print_right_margin_number' => 'حاشیه سمت راست باید یک عدد باشد.',
'print_right_margin_required' => 'مارجین راست یک زمینه ضروری است',
'print_silently' => 'نمایش گفتگوی چاپ',
'print_top_margin' => 'حاشیه بالا',
'print_top_margin_number' => 'حاشیه بالا باید یک عدد باشد.',
'print_top_margin_required' => 'مارجین بالا یک زمینه مورد نیاز است.',
'quantity_decimals' => 'تعداد اعشار',
'quick_cash_enable' => '',
'quote_default_comments' => 'نقل قول های پیش فرض',
'receipt' => 'اعلام وصول',
'receipt_category' => '',
'receipt_configuration' => 'تنظیمات چاپ دریافت',
'receipt_default' => 'پیش فرض',
'receipt_font_size' => 'اندازه فونت',
'receipt_font_size_number' => 'اندازه قلم باید یک عدد باشد.',
'receipt_font_size_required' => 'اندازه قلم یک فیلد مورد نیاز است.',
'receipt_info' => 'اطلاعات پیکربندی دریافت',
'receipt_printer' => 'چاپگر بلیط',
'receipt_short' => 'کوتاه',
'receipt_show_company_name' => 'نمایش نام شرکت',
'receipt_show_description' => 'نمایش توضیحات',
'receipt_show_serialnumber' => 'نمایش شماره سریال',
'receipt_show_tax_ind' => 'نمایش شاخص مالیات',
'receipt_show_taxes' => 'نمایش مالیات',
'receipt_show_total_discount' => 'نمایش تخفیف در کل',
'receipt_template' => 'الگوی رسید',
'receiving_calculate_average_price' => 'کالای میانگین. قیمت (دريافت)',
'recv_invoice_format' => 'قالب فاکتور دریافتی',
'register_mode_default' => 'حالت پیش فرض ثبت نام',
'report_an_issue' => 'گزارش یک مسئله',
'return_policy_required' => 'خط مشی برگشت یک زمینه مورد نیاز است.',
'reward' => 'جایزه',
'reward_configuration' => 'پیکربندی پاداش',
'right' => 'درست',
'sales_invoice_format' => 'قالب فاکتور فروش',
'sales_quote_format' => 'قالب فروش قیمت',
'mailpath_invalid' => 'مسیر sendmail نامعتبر است. فقط حروف، اعداد، خط‌تیره، زیرخط، اسلش، بک‌اسلش، دونقطه، فاصله و نقطه مجاز هستند.',
'saved_successfully' => 'پیکربندی ذخیره موفقیت آمیز است.',
'saved_unsuccessfully' => 'ذخیره پیکربندی انجام نشد.',
'security_issue' => 'هشدار آسیب پذیری امنیتی',
'server_notice' => 'لطفاً برای گزارش مسئله از اطلاعات زیر استفاده کنید.',
'service_charge' => '',
'show_due_enable' => '',
'show_office_group' => 'نمایش نماد دفتر',
'statistics' => 'ارسال آمار',
'statistics_tooltip' => 'ارسال آمار برای اهداف توسعه و بهبود ویژگی ها.',
'stock_location' => 'موقعیت مکانی سهام',
'stock_location_duplicate' => 'موقعیت مکانی سهام باید بی نظیر باشد.',
'stock_location_invalid_chars' => 'محل نگهداری سهام نمی تواند حاوی ـ باشد.',
'stock_location_required' => 'مکان سهام یک قسمت مورد نیاز است.',
'suggestions_fifth_column' => '',
'suggestions_first_column' => 'ستون 1',
'suggestions_fourth_column' => '',
'suggestions_layout' => 'طرح بندی پیشنهادات جستجو',
'suggestions_second_column' => 'ستون 2',
'suggestions_third_column' => 'ستون 3',
'system_conf' => 'تنظیم و تنظیم',
'system_info' => 'اطلاعات سیستم',
'table' => 'جدول',
'table_configuration' => 'پیکربندی جدول',
'takings_printer' => 'چاپگر رسید',
'tax' => 'مالیات',
'tax_category' => 'طبقه بندی مالیات',
'tax_category_duplicate' => 'دسته مالیاتی وارد شده در حال حاضر وجود دارد.',
'tax_category_invalid_chars' => 'دسته مالیاتی وارد شده نامعتبر است.',
'tax_category_required' => 'طبقه بندی مالیات لازم است.',
'tax_category_used' => 'طبقه بندی مالیات نمی تواند حذف شود زیرا در حال استفاده است.',
'tax_configuration' => 'پیکربندی مالیات',
'tax_decimals' => 'اعشار مالیاتی',
'tax_id' => 'شناسه مالیاتی',
'tax_included' => 'با احتساب مالیات',
'theme' => 'موضوع',
'theme_preview' => '',
'thousands_separator' => 'هزاران نفر',
'timezone' => 'منطقه زمانی',
'timezone_error' => 'منطقه زمانی اوسپوس با منطقه زمانی محلی شما متفاوت است.',
'top' => 'بالا',
'use_destination_based_tax' => 'استفاده از مالیات بر مبنای مقصد',
'user_timezone' => 'منطقه زمانی محلی:',
'website' => 'سایت اینترنتی',
'wholesale_markup' => '',
'work_order_enable' => 'پشتیبانی سفارش کار',
'work_order_format' => 'قالب سفارش کار',
];