mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Add a new getLanguage
method to the various IL10n
implementations
This commit is contained in:
parent
ab74b32054
commit
513412c92e
4 changed files with 19 additions and 0 deletions
|
@ -58,6 +58,10 @@ function formatL10nValue(text, args) {
|
|||
* @implements {IL10n}
|
||||
*/
|
||||
let NullL10n = {
|
||||
getLanguage() {
|
||||
return Promise.resolve('en-us');
|
||||
},
|
||||
|
||||
getDirection() {
|
||||
return Promise.resolve('ltr');
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue