Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4122801
hy.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
629 B
Referenced Files
None
Subscribers
None
hy.js
View Options
/**
* Armenian (Հայերեն) language functions
*/
(
function
(
$
)
{
'use strict'
;
$
.
i18n
.
languages
.
hy
=
$
.
extend
(
{},
$
.
i18n
.
languages
[
'default'
],
{
convertGrammar
:
function
(
word
,
form
)
{
if
(
form
===
'genitive'
)
{
// սեռական հոլով
if
(
word
.
slice
(
-
1
)
===
'ա'
)
{
word
=
word
.
slice
(
0
,
-
1
)
+
'այի'
;
}
else
if
(
word
.
slice
(
-
1
)
===
'ո'
)
{
word
=
word
.
slice
(
0
,
-
1
)
+
'ոյի'
;
}
else
if
(
word
.
slice
(
-
4
)
===
'գիրք'
)
{
word
=
word
.
slice
(
0
,
-
4
)
+
'գրքի'
;
}
else
{
word
=
word
+
'ի'
;
}
}
return
word
;
}
}
);
}(
jQuery
)
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 05:41 (17 h, 1 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ff/70/454f6603451c0abb0b1e397952bb
Default Alt Text
hy.js (629 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment