Skip to content

Commit

Permalink
Merge pull request #718 from akalongman/feature/add-georgian-locale
Browse files Browse the repository at this point in the history
Add Georgian (ka) locale
  • Loading branch information
tiesont committed Aug 20, 2019
2 parents a43385a + 4b67bc5 commit 9814bdd
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 4 deletions.
8 changes: 8 additions & 0 deletions bootbox.locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,12 @@
CONFIRM: '確認'
});
})();

(function () {
bootbox.addLocale('ka', {
OK: 'OK',
CANCEL: 'გაუქმება',
CONFIRM: 'დადასტურება'
});
})();
}));
2 changes: 1 addition & 1 deletion dist/bootbox.all.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/bootbox.locales.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/bootbox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions locales/ka.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// bootbox.js locale configuration
// locale : Georgian
// author : Avtandil Kikabidze aka LONGMAN (@akalongman)

(function (global, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['../bootbox'], factory);
} else if (typeof module === 'object' && module.exports) {
factory(require('../bootbox'));
} else {
factory(global.bootbox);
}
}(this, function (bootbox) {
'use strict';
bootbox.addLocale('ka', {
OK : 'OK',
CANCEL : 'გაუქმება',
CONFIRM : 'დადასტურება'
});
}));
14 changes: 14 additions & 0 deletions tests/locales.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9814bdd

Please sign in to comment.