Merge pull request #17115 from calixteman/mv_to_fluent

[api-minor] Move to Fluent for the localization (bug 1858715)
This commit is contained in:
calixteman 2023-10-19 13:40:50 +02:00 committed by GitHub
commit 5d8be99782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
155 changed files with 1311 additions and 28684 deletions

View file

@ -179,14 +179,14 @@ class IDownloadManager {
*/
class IL10n {
/**
* @returns {Promise<string>} - Resolves to the current locale.
* @returns {string} - The current locale.
*/
async getLanguage() {}
getLanguage() {}
/**
* @returns {Promise<string>} - Resolves to 'rtl' or 'ltr'.
* @returns {string} - 'rtl' or 'ltr'.
*/
async getDirection() {}
getDirection() {}
/**
* Translates text identified by the key and adds/formats data using the args