summaryrefslogtreecommitdiff
path: root/resources/lib/jquery.i18n/src/languages/bs.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/lib/jquery.i18n/src/languages/bs.js')
-rw-r--r--resources/lib/jquery.i18n/src/languages/bs.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/resources/lib/jquery.i18n/src/languages/bs.js b/resources/lib/jquery.i18n/src/languages/bs.js
new file mode 100644
index 00000000..5370069e
--- /dev/null
+++ b/resources/lib/jquery.i18n/src/languages/bs.js
@@ -0,0 +1,22 @@
+/**
+ * Bosnian (bosanski) language functions
+ */
+( function ( $ ) {
+ 'use strict';
+
+ $.i18n.languages.bs = $.extend( {}, $.i18n.languages['default'], {
+ convertGrammar: function ( word, form ) {
+ switch ( form ) {
+ case 'instrumental': // instrumental
+ word = 's ' + word;
+ break;
+ case 'lokativ': // locative
+ word = 'o ' + word;
+ break;
+ }
+
+ return word;
+ }
+ } );
+
+}( jQuery ) );