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

Provide all translation related functions #542

Merged
merged 2 commits into from
Jan 5, 2023

Commits on Jan 3, 2023

  1. Provide translate and translatePlural functions

    * Provide both functions, code is mostly taken from server
      some minor cleanup
    * Added test cases
    * Added *not* exported `registry` module for loading
      translations (so this is not exposed to users)
    
    Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
    susnux committed Jan 3, 2023
    Configuration menu
    Copy the full SHA
    f4182fa View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Provide all translation related frontend methods

    * This provides all functions previously available within
      the `OC.L10N` namespace
    * Including translation regestry functions and translation bundle
      loading
    * Restructured the source files for better comprehensibility
    
    Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
    susnux committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    6d66daf View commit details
    Browse the repository at this point in the history