Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation rake task generated differences in .po files #331

Open
otegami opened this issue Feb 17, 2024 · 0 comments
Open

Translation rake task generated differences in .po files #331

otegami opened this issue Feb 17, 2024 · 0 comments

Comments

@otegami
Copy link
Contributor

otegami commented Feb 17, 2024

When I execute the following rake task for generating translation files, there are many differences in .pofiles

Expected

There are no some differences about generated translation files with .po when I execute translation rake task.

Actual

There are some differences about generated translation files with .po.

How to reproduce

$ bundle exec rake
differences
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   _po/ja/community/index.po
        modified:   _po/ja/development/build.po
        modified:   _po/ja/development/index.po
        modified:   _po/ja/development/release.po
        modified:   _po/ja/development/test.po
        modified:   _po/ja/faq/index.po
        modified:   _po/ja/how-to/auto-complete.po
        modified:   _po/ja/how-to/index.po
        modified:   _po/ja/how-to/jsonb.po
        modified:   _po/ja/how-to/laravel.po
        modified:   _po/ja/how-to/postgrest.po
        modified:   _po/ja/how-to/spring-hibernate.po
        modified:   _po/ja/how-to/sudachi-dictionary.po
        modified:   _po/ja/how-to/synonym-expansion.po
        modified:   _po/ja/how-to/travis-ci.po
        modified:   _po/ja/how-to/tuning.po
        modified:   _po/ja/index.po
        modified:   _po/ja/install/almalinux.po
        modified:   _po/ja/install/amazon-linux.po
        modified:   _po/ja/install/centos.po
        modified:   _po/ja/install/debian.po
        modified:   _po/ja/install/freebsd.po
        modified:   _po/ja/install/index.po
        modified:   _po/ja/install/macos.po
        modified:   _po/ja/install/os-x.po
        modified:   _po/ja/install/source.po
        modified:   _po/ja/install/ubuntu.po
        modified:   _po/ja/install/windows.po
        modified:   _po/ja/news/index.po
        modified:   _po/ja/overview/index.po
        modified:   _po/ja/reference/crash-safe.po
        modified:   _po/ja/reference/create-index-using-pgroonga.po
        modified:   _po/ja/reference/functions/pgroonga-command-escape-value.po
        modified:   _po/ja/reference/functions/pgroonga-command.po
        modified:   _po/ja/reference/functions/pgroonga-database-remove.po
        modified:   _po/ja/reference/functions/pgroonga-escape.po
        modified:   _po/ja/reference/functions/pgroonga-flush.po
        modified:   _po/ja/reference/functions/pgroonga-highlight-html.po
        modified:   _po/ja/reference/functions/pgroonga-index-column-name.po
        modified:   _po/ja/reference/functions/pgroonga-is-writable.po
        modified:   _po/ja/reference/functions/pgroonga-match-positions-byte.po
        modified:   _po/ja/reference/functions/pgroonga-match-positions-character.po
        modified:   _po/ja/reference/functions/pgroonga-normalize.po
        modified:   _po/ja/reference/functions/pgroonga-query-escape.po
        modified:   _po/ja/reference/functions/pgroonga-query-expand.po
        modified:   _po/ja/reference/functions/pgroonga-query-extract-keywords.po
        modified:   _po/ja/reference/functions/pgroonga-result-to-jsonb-objects.po
        modified:   _po/ja/reference/functions/pgroonga-result-to-recordset.po
        modified:   _po/ja/reference/functions/pgroonga-score.po
        modified:   _po/ja/reference/functions/pgroonga-set-writable.po
        modified:   _po/ja/reference/functions/pgroonga-snippet-html.po
        modified:   _po/ja/reference/functions/pgroonga-table-name.po
        modified:   _po/ja/reference/functions/pgroonga-tokenize.po
        modified:   _po/ja/reference/functions/pgroonga-vacuum.po
        modified:   _po/ja/reference/functions/pgroonga-wal-apply.po
        modified:   _po/ja/reference/functions/pgroonga-wal-set-applied-position.po
        modified:   _po/ja/reference/functions/pgroonga-wal-status.po
        modified:   _po/ja/reference/functions/pgroonga-wal-truncate.po
        modified:   _po/ja/reference/grant-usage-on-schema-pgroonga.po
        modified:   _po/ja/reference/groonga-functions/pgroonga-tuple-is-alive.po
        modified:   _po/ja/reference/index.po
        modified:   _po/ja/reference/jsonb.po
        modified:   _po/ja/reference/logical-replication.po
        modified:   _po/ja/reference/modules/pgroonga-check.po
        modified:   _po/ja/reference/modules/pgroonga-crash-safer.po
        modified:   _po/ja/reference/modules/pgroonga-database.po
        modified:   _po/ja/reference/modules/pgroonga-standby-maintainer.po
        modified:   _po/ja/reference/modules/pgroonga-wal-applier.po
        modified:   _po/ja/reference/operators/contain-array.po
        modified:   _po/ja/reference/operators/contain-jsonb.po
        modified:   _po/ja/reference/operators/contain-term-v2.po
        modified:   _po/ja/reference/operators/contain-term.po
        modified:   _po/ja/reference/operators/equal-query-v2.po
        modified:   _po/ja/reference/operators/exact-match-search.po
        modified:   _po/ja/reference/operators/like.po
        modified:   _po/ja/reference/operators/match-contain-v2.po
        modified:   _po/ja/reference/operators/match-in-v2.po
        modified:   _po/ja/reference/operators/match-jsonb-v2.po
        modified:   _po/ja/reference/operators/match-v2.po
        modified:   _po/ja/reference/operators/match.po
        modified:   _po/ja/reference/operators/not-prefix-search-in-v2.po
        modified:   _po/ja/reference/operators/prefix-rk-search-contain-v2.po
        modified:   _po/ja/reference/operators/prefix-rk-search-in-v2.po
        modified:   _po/ja/reference/operators/prefix-rk-search-v2.po
        modified:   _po/ja/reference/operators/prefix-search-contain-v2.po
        modified:   _po/ja/reference/operators/prefix-search-in-v2.po
        modified:   _po/ja/reference/operators/prefix-search-v2.po
        modified:   _po/ja/reference/operators/query-contain-v2.po
        modified:   _po/ja/reference/operators/query-in-v2.po
        modified:   _po/ja/reference/operators/query-jsonb-v2.po
        modified:   _po/ja/reference/operators/query-v2.po
        modified:   _po/ja/reference/operators/query.po
        modified:   _po/ja/reference/operators/regular-expression-in-v2.po
        modified:   _po/ja/reference/operators/regular-expression-v2.po
        modified:   _po/ja/reference/operators/regular-expression.po
        modified:   _po/ja/reference/operators/script-jsonb-v2.po
        modified:   _po/ja/reference/operators/script-jsonb.po
        modified:   _po/ja/reference/operators/script-v2.po
        modified:   _po/ja/reference/operators/similar-search-v2.po
        modified:   _po/ja/reference/parameters/enable-crash-safe.po
        modified:   _po/ja/reference/parameters/enable-trace-log.po
        modified:   _po/ja/reference/parameters/enable-wal.po
        modified:   _po/ja/reference/parameters/force-match-escalation.po
        modified:   _po/ja/reference/parameters/libgroonga-version.po
        modified:   _po/ja/reference/parameters/lock-timeout.po
        modified:   _po/ja/reference/parameters/log-level.po
        modified:   _po/ja/reference/parameters/log-path.po
        modified:   _po/ja/reference/parameters/log-type.po
        modified:   _po/ja/reference/parameters/match-escalation-threshold.po
        modified:   _po/ja/reference/parameters/max-wal-size.po
        modified:   _po/ja/reference/parameters/pgroonga-crash-safer-flush-naptime.po
        modified:   _po/ja/reference/parameters/pgroonga-crash-safer-log-level.po
        modified:   _po/ja/reference/parameters/pgroonga-crash-safer-log-path.po
        modified:   _po/ja/reference/parameters/pgroonga-standby-maintainer-max-parallel-wal-appliers-per-db.po
        modified:   _po/ja/reference/parameters/pgroonga-standby-maintainer-naptime.po
        modified:   _po/ja/reference/parameters/pgroonga-wal-applier-naptime.po
        modified:   _po/ja/reference/parameters/query-log-path.po
        modified:   _po/ja/reference/pgroonga-versus-gist-and-gin.po
        modified:   _po/ja/reference/pgroonga-versus-pg-bigm.po
        modified:   _po/ja/reference/pgroonga-versus-textsearch-and-pg-trgm.po
        modified:   _po/ja/reference/replication.po
        modified:   _po/ja/reference/streaming-replication.po
        modified:   _po/ja/tutorial/index.po
        modified:   _po/ja/uninstall/index.po
        modified:   _po/ja/upgrade/index.po
        modified:   _po/ja/users/index.po
        modified:   _po/ja/v1/how-to/auto-complete.po
        modified:   _po/ja/v1/how-to/index.po
        modified:   _po/ja/v1/how-to/travis-ci.po
        modified:   _po/ja/v1/reference/create-index-using-pgroonga.po
        modified:   _po/ja/v1/reference/functions/pgroonga-command-escape-value.po
        modified:   _po/ja/v1/reference/functions/pgroonga-command.po
        modified:   _po/ja/v1/reference/functions/pgroonga-escape.po
        modified:   _po/ja/v1/reference/functions/pgroonga-flush.po
        modified:   _po/ja/v1/reference/functions/pgroonga-highlight-html.po
        modified:   _po/ja/v1/reference/functions/pgroonga-match-positions-byte.po
        modified:   _po/ja/v1/reference/functions/pgroonga-match-positions-character.po
        modified:   _po/ja/v1/reference/functions/pgroonga-query-escape.po
        modified:   _po/ja/v1/reference/functions/pgroonga-query-expand.po
        modified:   _po/ja/v1/reference/functions/pgroonga-query-extract-keywords.po
        modified:   _po/ja/v1/reference/functions/pgroonga-score.po
        modified:   _po/ja/v1/reference/functions/pgroonga-snippet-html.po
        modified:   _po/ja/v1/reference/functions/pgroonga-table-name.po
        modified:   _po/ja/v1/reference/grant-usage-on-schema-pgroonga.po
        modified:   _po/ja/v1/reference/groonga-functions/pgroonga-tuple-is-alive.po
        modified:   _po/ja/v1/reference/index.po
        modified:   _po/ja/v1/reference/jsonb.po
        modified:   _po/ja/v1/reference/modules/pgroonga-check.po
        modified:   _po/ja/v1/reference/operators/contain-jsonb.po
        modified:   _po/ja/v1/reference/operators/contain-term-v2.po
        modified:   _po/ja/v1/reference/operators/contain-term.po
        modified:   _po/ja/v1/reference/operators/like.po
        modified:   _po/ja/v1/reference/operators/match-contain-v2.po
        modified:   _po/ja/v1/reference/operators/match-in-v2.po
        modified:   _po/ja/v1/reference/operators/match-jsonb-v2.po
        modified:   _po/ja/v1/reference/operators/match-v2.po
        modified:   _po/ja/v1/reference/operators/match.po
        modified:   _po/ja/v1/reference/operators/prefix-rk-search-contain-v2.po
        modified:   _po/ja/v1/reference/operators/prefix-rk-search-in-v2.po
        modified:   _po/ja/v1/reference/operators/prefix-rk-search-v2.po
        modified:   _po/ja/v1/reference/operators/prefix-search-contain-v2.po
        modified:   _po/ja/v1/reference/operators/prefix-search-in-v2.po
        modified:   _po/ja/v1/reference/operators/prefix-search-v2.po
        modified:   _po/ja/v1/reference/operators/query-contain-v2.po
        modified:   _po/ja/v1/reference/operators/query-in-v2.po
        modified:   _po/ja/v1/reference/operators/query-jsonb-v2.po
        modified:   _po/ja/v1/reference/operators/query-v2.po
        modified:   _po/ja/v1/reference/operators/query.po
        modified:   _po/ja/v1/reference/operators/regular-expression-v2.po
        modified:   _po/ja/v1/reference/operators/regular-expression.po
        modified:   _po/ja/v1/reference/operators/script-jsonb-v2.po
        modified:   _po/ja/v1/reference/operators/script-jsonb.po
        modified:   _po/ja/v1/reference/operators/script-v2.po
        modified:   _po/ja/v1/reference/operators/similar-search-v2.po
        modified:   _po/ja/v1/reference/parameters/enable-wal.po
        modified:   _po/ja/v1/reference/parameters/lock-timeout.po
        modified:   _po/ja/v1/reference/parameters/log-level.po
        modified:   _po/ja/v1/reference/parameters/log-path.po
        modified:   _po/ja/v1/reference/parameters/log-type.po
        modified:   _po/ja/v1/reference/parameters/match-escalation-threshold.po
        modified:   _po/ja/v1/reference/parameters/query-log-path.po
        modified:   _po/ja/v1/reference/pgroonga-versus-gist-and-gin.po
        modified:   _po/ja/v1/reference/pgroonga-versus-pg-bigm.po
        modified:   _po/ja/v1/reference/pgroonga-versus-textsearch-and-pg-trgm.po
        modified:   _po/ja/v1/reference/replication.po
        modified:   _po/ja/v1/tutorial/index.po

no changes added to commit (use "git add" and/or "git commit -a")

Next Action (Just my idea)

  • Fix files each section
    • Because the differences will be huge, if we fix all of them at the same time,
  • Add development steps to the README
    • Because we want to prevent developer from generating the diffs about translation files.
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

No branches or pull requests

1 participant