This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(service): add $translate.getTranslationTable(langKey)
This adds the service method `$translate.getTranslationTable(langKey)`. It will return the *current* translation table of the given/current language. => It can return null if the langKey is invalid or the translations are still in progress. => It can return incomplete results if a partial loader is used. => It can return null if the no current language is selected (whenever). => The table cannot be modified used for changing the service’s internal data (it’s a copy). This commit based on work by Ovchar Stanislav <stanislav.ovchar@motorolasolutions.com> / Stas Ovchar <head.crab.meat@gmail.com> Solves #1578 Solves #1374
- Loading branch information
Showing
2 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters