Skip to content

Depends on #108: Add custom Gettext backend#114

Open
arturz wants to merge 41 commits into107-remove-dependency-on-specific-gettext-versionfrom
108-base-on-gettext-026
Open

Depends on #108: Add custom Gettext backend#114
arturz wants to merge 41 commits into107-remove-dependency-on-specific-gettext-versionfrom
108-base-on-gettext-026

Conversation

@arturz
Copy link
Contributor

@arturz arturz commented Mar 28, 2025

No description provided.

vi0dine and others added 12 commits October 9, 2024 18:21
- Rewrite the functional component
- Add guards (nonnegative page number and total pages)
- Add "surrounding_pages_number" to set number of the pages to the right and left visible in the UI.
- Always show current page
When hit http://localhost:4000/kanta/  - proper redirect to the Dashboard
…rcentage

Change translation progress calculation to use floor
- Add Gettext.Backend implementation (Gettext 0.26.2) for Kanta.
- Kanta Cached DB
- Add Fallback Gettext backend for PO file checks
- Gettext.Recompiler util module to support one time recompilation after mix gettext.extract

Tests:
- Add migration(v4) for test repo
- Re-implemented DataCase helper (manual checkout)
- Add tests for the Backend and Adapter
- Remove Logger.debug(...)
- add removing trailing "." to safe_folder_name (for Windows)
@jk-lamb jk-lamb force-pushed the 108-base-on-gettext-026 branch from 3d7dcbd to 6e86ced Compare March 31, 2025 14:24
The changes add missing @moduledoc attributes to various modules,
providing clear documentation about their purpose.
mix ecto.drop && mix ecto.create && mix ecto.migrate
- Add breaking change notice to CHANGELOG.md explaining Gettext 0.26.0 migration requirements
- Fix apply_bindings return type from :not_found to {:error, :not_found} to match codebase conventions
- Rename KantaCachedDB to CachedDB module (remove redundant Kanta prefix)
- Update all references to use new module name
- Add breaking change notice to CHANGELOG.md explaining Gettext 0.26.0
migration requirements - Fix apply_bindings return type from :not_found
to {:error, :not_found} to match codebase conventions - Rename
KantaCachedDB to CachedDB module (remove redundant Kanta prefix) -
Update all references to use new module name
Relocates GettextRecompiler flag files from priv/kanta/ to environment-specific build directories using Mix.Project.build_path(). This prevents confusion about whether temporary build artifacts should be committed to version control, as _build/ is already in .gitignore.

The flag files now reside in:
- _build/{env}/kanta_recompile/.gettext_recompiled
- _build/{env}/kanta_recompile/.fallback_recompiled
…-dev/kanta into 108-base-on-gettext-026

# Conflicts:
#	lib/kanta/backend.ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants