forked from deblan/side_menu
indentation
This commit is contained in:
parent
f8dd123851
commit
707dbf6810
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
function generateJsContent($translations) {
|
||||
function generateJsContent($translations)
|
||||
{
|
||||
$json = json_encode($translations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
|
||||
|
||||
return <<< EOF
|
||||
|
@ -8,7 +9,8 @@ OC.L10N.register("side_menu", {$json}, "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 :
|
|||
EOF;
|
||||
}
|
||||
|
||||
function generateJsonContent($translations) {
|
||||
function generateJsonContent($translations)
|
||||
{
|
||||
$datas = [
|
||||
'translations' => $translations,
|
||||
'pluralForm' => 'nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;',
|
||||
|
|
Loading…
Reference in a new issue