Commit Graph
8 Commits
Author SHA1 Message Date
objecttothis bf8cb932d6 Merge remote-tracking branch 'OpensourcePOS/master' into feat-job-queue-phase-1
# Conflicts:
#	app/Language/bg/Module.php
#	app/Language/de-CH/Module.php
#	app/Language/en-GB/Module.php
#	app/Language/fr/Module.php
#	app/Language/hr/Jobs.php
#	app/Language/hr/Module.php
#	app/Language/hu/Module.php
#	app/Language/lo/Module.php
#	app/Language/nl-BE/Module.php
#	app/Language/ta/Module.php
#	app/Language/th/Module.php
#	app/Language/tl/Module.php
#	app/Language/tr/Module.php
#	app/Language/zh-Hans/Module.php
#	composer.lock
2026-11-06 15:28:04 +04:00
BudsieBuds 9a304c0183 refactor(i18n): standardize language catalogs, enforce dynamic fallback, and add test coverage
- Replace untranslated English strings with empty fallback ('') across all non-English catalogs and sort keys alphabetically (closes #4783, closes #4660)
- Restore missing Sales.no_sales_to_display in English while preserving existing translations (closes #4794, references #4637, #4795)
- Register Georgian (ka) and Swahili (sw-KE, sw-TZ) locales, normalize Croatian to hr per BCP 47, and fix datepicker long month keys (partially addresses #4476, references #3891)
- Hardcode invariant brand constants (OSPOS, website, copyrights) in login/footer views, remove from catalogs, and standardize Latin OSPOS branding
- Fix English catalog typos and maintain consistent British English variants in en-GB
- Add LanguageFilesTest with 4,418 automated tests for syntax, key parity, sorting, and bidirectional locale registrations
- Update AGENTS.md with localization guidelines and development best practices
2026-11-04 15:23:50 +01:00
objecttothis 96c13a372f Merge remote-tracking branch 'OpensourcePOS/master' into feat-job-queue-phase-1
# Conflicts:
#	app/Database/Migrations/20240630000001_fix_keys_for_db_upgrade.php
#	app/Language/ar-EG/Module.php
#	app/Language/ar-LB/Module.php
#	app/Language/az/Module.php
#	app/Language/bg/Module.php
#	app/Language/bs/Module.php
#	app/Language/ckb/Module.php
#	app/Language/cs/Module.php
#	app/Language/da/Module.php
#	app/Language/de-CH/Module.php
#	app/Language/de-DE/Module.php
#	app/Language/el/Module.php
#	app/Language/en-GB/Module.php
#	app/Language/en/Module.php
#	app/Language/es-ES/Module.php
#	app/Language/es-MX/Module.php
#	app/Language/fa/Module.php
#	app/Language/fr/Module.php
#	app/Language/he/Module.php
#	app/Language/hr-HR/Module.php
#	app/Language/hu/Module.php
#	app/Language/hy/Module.php
#	app/Language/id/Module.php
#	app/Language/it/Module.php
#	app/Language/km/Module.php
#	app/Language/lo/Module.php
#	app/Language/ml/Module.php
#	app/Language/nb/Module.php
#	app/Language/nl-BE/Module.php
#	app/Language/nl-NL/Module.php
#	app/Language/pl/Module.php
#	app/Language/pt-BR/Module.php
#	app/Language/ro/Module.php
#	app/Language/ru/Module.php
#	app/Language/sv/Module.php
#	app/Language/sw-KE/Module.php
#	app/Language/sw-TZ/Module.php
#	app/Language/ta/Module.php
#	app/Language/th/Module.php
#	app/Language/tl/Module.php
#	app/Language/tr/Module.php
#	app/Language/uk/Module.php
#	app/Language/ur/Module.php
#	app/Language/vi/Module.php
#	app/Language/zh-Hans/Module.php
#	app/Language/zh-Hant/Module.php
#	composer.lock
#	gulpfile.js
#	public/css/ospos.css
2026-10-26 17:58:21 +04:00
objecttothis b7a3fee22a style(lang): add Georgian, normalize quote style across all locales, add parse tests (#4762)
- Normalize all language files to single quotes with aligned => operators;
  no translation text or logic changes
- Add Georgian (ka) scaffolding across ~18 modules with placeholder
  translations, matching project style conventions
- Add LanguageFilesTest to validate every PHP file under app/Language
  parses without syntax errors; new files auto-discovered via glob
2026-10-19 15:21:04 +04:00
objecttothis b4db867ca1 feat(lang): add job queue translations across all locales
Add localized strings for new Job Queue feature.

- Add 'jobs'/'jobs_desc' entries to each locale's Module.php for
  module listing/description.
- Add new per-locale Jobs.php language files covering mode
  selection (auto/web/manual), throttle settings, web mode max
  time, job selection/processing actions, and save
  success/failure messages.
- Covers all supported locales (ar-EG, ar-LB, az, bg, bs, ckb, cs,
  da, de-CH, de-DE, el, en, en-GB, es-ES, es-MX, fa, fr, and more)
  to keep the feature fully localized app-wide.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-09-17 15:13:02 +04:00
BudsieBuds e83c23cf0c Improve code style and PSR-12 compliance (#4204)
* Improve code style and PSR-12 compliance
- refactored code formatting to adhere to PSR-12 guidelines
- standardized coding conventions across the codebase
- added missing framework files and reverted markup changes
- reformatted arrays for enhanced readability
- updated language files for consistent styling and clarity
- minor miscellaneous improvements
2025-05-02 19:37:06 +02:00
objecttothis e90b5b87da Replace tabs with spaces (#4196)
Signed-off-by: objecttothis <objecttothis@gmail.com>
2025-03-28 21:24:21 +04:00
BudsieBuds c39b733c90 Language fallback improvement
- Changes for following best practice for CI4 localization
- Norwegian and Urdu languages now working again
- Sort languages by alphabet in config
2024-06-15 17:19:15 +02:00