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

Allow translating from javascript files #15612

Open
wants to merge 69 commits into
base: main
Choose a base branch
from

Commits on Mar 17, 2024

  1. Configuration menu
    Copy the full SHA
    05f5601 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ece9fb5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d70e76e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9003fa5 View commit details
    Browse the repository at this point in the history
  5. add messages extracted from js

    cofiem committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    d2273a4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    291189b View commit details
    Browse the repository at this point in the history
  7. typo

    cofiem committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    64f4d9a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a10b3fb View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    ec3b0be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5920aeb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11db677 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f705788 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2024

  1. add translation to more js strings

    Provide two functions for gettext so IDe highlighting is useful.
    cofiem committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    4e95739 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    266c1e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ff40e4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7dc6ea4 View commit details
    Browse the repository at this point in the history
  5. update translations

    cofiem committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    c593101 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Configuration menu
    Copy the full SHA
    fa2721a View commit details
    Browse the repository at this point in the history
  2. fix route test

    cofiem committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    c1a7811 View commit details
    Browse the repository at this point in the history
  3. avoid redirect

    cofiem committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    25f2c28 View commit details
    Browse the repository at this point in the history
  4. fix lint error

    cofiem committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    1a6b4e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d73ee32 View commit details
    Browse the repository at this point in the history
  6. update translations

    cofiem committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    b44655f View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. don't mix translated and untranslated text

    Co-authored-by: Dustin Ingram <[email protected]>
    cofiem and di authored Mar 31, 2024
    Configuration menu
    Copy the full SHA
    9a43147 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3ccf58 View commit details
    Browse the repository at this point in the history
  3. remove unused import

    cofiem committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    18eb472 View commit details
    Browse the repository at this point in the history
  4. update translations

    cofiem committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    7303e14 View commit details
    Browse the repository at this point in the history
  5. update translations

    cofiem committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    42ed35d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    07341f3 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    0d94a86 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Configuration menu
    Copy the full SHA
    11d929c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Configuration menu
    Copy the full SHA
    8fb15dd View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. Configuration menu
    Copy the full SHA
    bacbd4d View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. check point

    cofiem committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    67b771f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6139ea6 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. check point

    cofiem committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    4e1667d View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. Configuration menu
    Copy the full SHA
    11f093a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a8b6f9 View commit details
    Browse the repository at this point in the history
  3. embed plural forms using webpack and determine translation string

    Removes gettext.js.
    cofiem committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    1bcda98 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. add tests for messages-access.js

    Fix timeago.js
    cofiem committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    ac16bc5 View commit details
    Browse the repository at this point in the history
  2. fix lint issues

    cofiem committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    6946b68 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Merge branch 'refs/heads/main' into feature/translation-js

    # Conflicts:
    #	package-lock.json
    #	requirements/dev.txt
    cofiem committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    3b08211 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    791c41c View commit details
    Browse the repository at this point in the history
  3. update translations

    cofiem committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    93b9447 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    6535a1c View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    448918a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Configuration menu
    Copy the full SHA
    cf57600 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    d18b04a View commit details
    Browse the repository at this point in the history
  2. build js translation data as part of static_pipeline webpack build

    This removes a step and allows translation updates (static_pipeline) to generate the js bundles.
    The messages.json files are not required when translation data is bundled like this.
    cofiem committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    88e027e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd7a88e View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    0f7196d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    010fdd2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43d6be1 View commit details
    Browse the repository at this point in the history
  4. address feedback: improve docs for placeholder js variables

    Using ngettextCustom makes it possible to test the functions and use the function signatured required by pybabel.
    Fix eslint issues.
    cofiem committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    d32b447 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7d1e8cb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    34ed5e6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0f13ec1 View commit details
    Browse the repository at this point in the history
  8. address feedback: use jest each for tests

    This makes it easier to see the test cases.
    Add comments to make it clearer what the data is used for.
    cofiem committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    b6fc1e6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6b094a2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    70f2c33 View commit details
    Browse the repository at this point in the history
  11. address feedback: improve plural forms pattern and check earlier

    Added comment to explain what the pattern is checking.
    cofiem committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    8e2e3f5 View commit details
    Browse the repository at this point in the history
  12. address feedback: make sure msgid and msgstr are really strings

    This is important as these values will be embedded into the messages-access.js file.
    cofiem committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    fd0dd80 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7d35f82 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    50261ef View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7cd21a5 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Revert change to make statuc_pipelines

    Co-authored-by: Dustin Ingram <[email protected]>
    cofiem and di authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6fa0444 View commit details
    Browse the repository at this point in the history
  2. encode known problematic characters

    Co-authored-by: Dustin Ingram <[email protected]>
    cofiem and di authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b6edde8 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    3c91638 View commit details
    Browse the repository at this point in the history
  2. fix lint space issue

    cofiem committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    ef820c2 View commit details
    Browse the repository at this point in the history