more language patches, thanks Vladyslav
This commit is contained in:
@@ -6,4 +6,11 @@
|
||||
'изменена': ['изменены','изменено'],
|
||||
'строка': ['строки','строк'],
|
||||
'удалена': ['удалены','удалено'],
|
||||
'день': ['дня', 'дней'],
|
||||
'месяц': ['месяца','месяцев'],
|
||||
'неделю': ['недели','недель'],
|
||||
'год': ['года','лет'],
|
||||
'час': ['часа','часов'],
|
||||
'минуту': ['минуты','минут'],
|
||||
'секунду': ['секунды','секунд'],
|
||||
}
|
||||
|
||||
@@ -10,4 +10,8 @@
|
||||
'секунду': ['секунди','секунд'],
|
||||
'схибнення': ['схибнення','схибнень'],
|
||||
'хвилину': ['хвилини','хвилин'],
|
||||
'день': ['дні', 'днів'],
|
||||
'місяць': ['місяці','місяців'],
|
||||
'тиждень': ['тижні','тижнів'],
|
||||
'рік': ['роки','років'],
|
||||
}
|
||||
|
||||
@@ -3,11 +3,25 @@
|
||||
'!langcode!': 'ru',
|
||||
'!langname!': 'Русский',
|
||||
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"Изменить" - необязательное выражение вида "field1=\'новое значение\'". Результаты операции JOIN нельзя изменить или удалить.',
|
||||
'%d days ago': '%d %%{день} тому',
|
||||
'%d hours ago': '%d %%{час} тому',
|
||||
'%d minutes ago': '%d %%{минуту} тому',
|
||||
'%d months ago': '%d %%{месяц} тому',
|
||||
'%d seconds ago': '%d %%{секунду} тому',
|
||||
'%d weeks ago': '%d %%{неделю} тому',
|
||||
'%d years ago': '%d %%{год} тому',
|
||||
'%s %%{row} deleted': '%%{!удалена[0]} %s %%{строка[0]}',
|
||||
'%s %%{row} updated': '%%{!изменена[0]} %s %%{строка[0]}',
|
||||
'%s selected': '%%{!выбрана[0]} %s %%{запись[0]}',
|
||||
'%Y-%m-%d': '%Y-%m-%d',
|
||||
'%Y-%m-%d %H:%M:%S': '%Y-%m-%d %H:%M:%S',
|
||||
'1 day ago': '1 день тому',
|
||||
'1 hour ago': '1 час тому',
|
||||
'1 minute ago': '1 минуту тому',
|
||||
'1 month ago': '1 месяц тому',
|
||||
'1 second ago': '1 секунду тому',
|
||||
'1 week ago': '1 неделю тому',
|
||||
'1 year ago': '1 год тому',
|
||||
'About': 'About',
|
||||
'Access Control': 'Access Control',
|
||||
'Administrative Interface': 'Administrative Interface',
|
||||
@@ -31,8 +45,8 @@
|
||||
'Current session': 'Текущая сессия',
|
||||
'customize me!': 'настройте внешний вид!',
|
||||
'data uploaded': 'данные загружены',
|
||||
'Database': 'Database',
|
||||
'database': 'база данных',
|
||||
'Database': 'Database',
|
||||
'database %s select': 'выбор базы данных %s',
|
||||
'db': 'БД',
|
||||
'DB Model': 'DB Model',
|
||||
@@ -93,6 +107,7 @@
|
||||
'new record inserted': 'новая запись добавлена',
|
||||
'next 100 rows': 'следующие 100 строк',
|
||||
'No databases in this application': 'В приложении нет баз данных',
|
||||
'now': 'сейчас',
|
||||
'Object or table name': 'Object or table name',
|
||||
'Old password': 'Старый пароль',
|
||||
'Online examples': 'примеры он-лайн',
|
||||
|
||||
@@ -3,11 +3,25 @@
|
||||
'!langcode!': 'uk',
|
||||
'!langname!': 'Українська',
|
||||
'"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"Оновити" це додатковий вираз, такий, як "field1=\'нове_значення\'". Ви не можете змінювати або вилучати дані об\'єднаних таблиць.',
|
||||
'%d days ago': '%d %%{день} тому',
|
||||
'%d hours ago': '%d %%{годину} тому',
|
||||
'%d minutes ago': '%d %%{хвилину} тому',
|
||||
'%d months ago': '%d %%{місяць} тому',
|
||||
'%d secods ago': '%d %%{секунду} тому',
|
||||
'%d weeks ago': '%d %%{тиждень} тому',
|
||||
'%d years ago': '%d %%{рік} тому',
|
||||
'%s %%{row} deleted': 'Вилучено %s %%{рядок}',
|
||||
'%s %%{row} updated': 'Змінено %s %%{рядок}',
|
||||
'%s selected': 'Вибрано %s %%{запис}',
|
||||
'%Y-%m-%d': '%Y/%m/%d',
|
||||
'%Y-%m-%d %H:%M:%S': '%Y/%m/%d %H:%M:%S',
|
||||
'1 day ago': '1 день тому',
|
||||
'1 hour ago': '1 годину тому',
|
||||
'1 minute ago': '1 хвилину тому',
|
||||
'1 month ago': '1 місяць тому',
|
||||
'1 second ago': '1 секунду тому',
|
||||
'1 week ago': '1 тиждень тому',
|
||||
'1 year ago': '1 рік тому',
|
||||
'@markmin\x01(**%.0d MB**)': '(**``%.0d``:red МБ**)',
|
||||
'@markmin\x01**%(items)s** %%{item(items)}, **%(bytes)s** %%{byte(bytes)}': '**%(items)s** %%{елемент(items)}, **%(bytes)s** %%{байт(bytes)}',
|
||||
'@markmin\x01``**not available**``:red (requires the Python [[guppy http://pypi.python.org/pypi/guppy/ popup]] library)': '**нема в наявності** (потребує Пітонівської бібліотеки [[guppy {посилання відкриється у новому вікні} http://pypi.python.org/pypi/guppy/ popup]])',
|
||||
@@ -115,6 +129,7 @@
|
||||
'new record inserted': 'новий рядок додано',
|
||||
'next 100 rows': 'наступні 100 рядків',
|
||||
'No databases in this application': 'Даний додаток не використовує базу даних',
|
||||
'now': 'зараз',
|
||||
'Object or table name': "Об'єкт або назва таблиці",
|
||||
'Old password': 'Старий пароль',
|
||||
'Online examples': 'Зразковий демо-сайт',
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{{pass}}
|
||||
{{pass}}
|
||||
<h3>
|
||||
{{=A("%s.%s" % (db,table),_href=URL('select',args=[db],vars=dict(query=qry)))}}
|
||||
{{=A("%s.%s" % (db,table),_href=URL('select',args=[db],vars=dict(query=qry)))}}
|
||||
</h3>
|
||||
[ {{=A(str(T('insert new'))+' '+table,_href=URL('insert',args=[db,table]))}} ]
|
||||
<br /><br />
|
||||
@@ -50,7 +50,7 @@
|
||||
{{=T('Use (...)&(...) for AND, (...)|(...) for OR, and ~(...) for NOT to build more complex queries.')}}<br/>
|
||||
{{=T('"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN')}}</p>
|
||||
<br/><br/>
|
||||
<h4>{{=nrows}} {{=T("selected")}}</h4>
|
||||
<h4>{{=T("%s selected", nrows)}}</h4>
|
||||
{{if start>0:}}[ {{=A(T('previous 100 rows'),_href=URL('select',args=request.args[0],vars=dict(start=start-100)))}} ]{{pass}}
|
||||
{{if stop<nrows:}}[ {{=A(T('next 100 rows'),_href=URL('select',args=request.args[0],vars=dict(start=start+100)))}} ]{{pass}}
|
||||
{{if rows:}}
|
||||
@@ -105,40 +105,34 @@
|
||||
|
||||
|
||||
{{elif request.function == 'ccache':}}
|
||||
<h2>Cache</h2>
|
||||
<h2>{{T("Cache")}}</h2>
|
||||
<div class="list">
|
||||
|
||||
<div class="list-header">
|
||||
<h3>Statistics</h3>
|
||||
<h3>{{T("Statistics")}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
<h4>Overview</h4>
|
||||
<p>Number of entries: <strong>{{=total['entries']}}</strong>
|
||||
{{if total['entries'] > 0:}}
|
||||
</p>
|
||||
<h4>{{=T("Overview")}}</h4>
|
||||
<p>{{=T.M("Number of entries: **%s**", total['entries'])}}</p>
|
||||
{{if total['entries'] > 0:}}
|
||||
<p>{{=T.M("Hit Ratio: **%(ratio)s%%** (**%(hits)s** %%{hit(hits)} and **%(misses)s** %%{miss(misses})",
|
||||
dict(ratio=total['ratio'], hits=total['hits'], misses=total['misses']))}}
|
||||
</p>
|
||||
<p>
|
||||
Hit Ratio:
|
||||
<strong>{{=total['ratio']}}%</strong>
|
||||
(<strong>{{=total['hits']}}</strong> hits
|
||||
and <strong>{{=total['misses']}}</strong> misses)
|
||||
</p>
|
||||
<p>
|
||||
Size of cache:
|
||||
{{=T("Size of cache:")}}
|
||||
{{if object_stats:}}
|
||||
<strong>{{=total['objects']}}</strong> items,
|
||||
<strong>{{=total['bytes']}}</strong> bytes
|
||||
{{if total['bytes'] > 524287:}}
|
||||
(<strong>{{="%.0d" % (total['bytes'] / 1048576)}} MB</strong>)
|
||||
{{pass}}
|
||||
{{else:}} <strong>not available</strong> (requires the Python <a href="http://pypi.python.org/pypi/guppy/" target="_blank">guppy</a> library)
|
||||
{{=T.M("**%(items)s** %%{item(items)}, **%(bytes)s** %%{byte(bytes)}", dict(items=total['objects'], bytes=total['bytes']))}}
|
||||
{{if total['bytes'] > 524287:}}
|
||||
{{=T.M("(**%.0d MB**)", total['bytes'] / 1048576)}}
|
||||
{{pass}}
|
||||
{{else:}}
|
||||
{{=T.M("**not available** (requires the Python [[guppy http://pypi.python.org/pypi/guppy/ popup]] library)")}}
|
||||
{{pass}}
|
||||
</p>
|
||||
<p>
|
||||
Cache contains items up to
|
||||
<strong>{{="%02d" % total['oldest'][0]}}</strong> hours
|
||||
<strong>{{="%02d" % total['oldest'][1]}}</strong> minutes
|
||||
<strong>{{="%02d" % total['oldest'][2]}}</strong> seconds old.
|
||||
{{=T.M("Cache contains items up to **%(hours)02d** %%{hour(hours)} **%(min)02d** %%{minute(min)} **%(sec)02d** %%{second(sec)} old.",
|
||||
dict(hours=total['oldest'][0], min=total['oldest'][1], sec=total['oldest'][2]))}}
|
||||
</p>
|
||||
{{=BUTTON(T('Cache Keys'), _onclick='jQuery("#all_keys").toggle();')}}
|
||||
<div class="hidden" id="all_keys">
|
||||
@@ -147,31 +141,26 @@
|
||||
<br />
|
||||
{{pass}}
|
||||
|
||||
<h4>RAM</h4>
|
||||
<p>Number of entries: <strong>{{=ram['entries']}}</strong>
|
||||
{{if ram['entries'] > 0:}}</p>
|
||||
<p>
|
||||
Hit Ratio:
|
||||
<strong>{{=ram['ratio']}}%</strong>
|
||||
(<strong>{{=ram['hits']}}</strong> hits
|
||||
and <strong>{{=ram['misses']}}</strong> misses)
|
||||
<h4>{{=T("RAM")}}</h4>
|
||||
<p>{{=T.M("Number of entries: **%s**", ram['entries'])}}</p>
|
||||
{{if ram['entries'] > 0:}}
|
||||
<p>{{=T.M("Hit Ratio: **%(ratio)s%%** (**%(hits)s** %{hit(hits)} and **%(misses)s** %%{miss(misses)})",
|
||||
dict( ratio=ram['ratio'], hits=ram['hits'], misses=ram['misses']))}}
|
||||
</p>
|
||||
<p>
|
||||
Size of cache:
|
||||
{{=T("Size of cache:")}}
|
||||
{{if object_stats:}}
|
||||
<strong>{{=ram['objects']}}</strong> items,
|
||||
<strong>{{=ram['bytes']}}</strong> bytes
|
||||
{{if ram['bytes'] > 524287:}}
|
||||
(<strong>{{=ram['bytes'] / 1048576}} MB</strong>)
|
||||
{{pass}}
|
||||
{{else:}} <strong>not available</strong> (requires the Python <a href="http://pypi.python.org/pypi/guppy/" target="_blank">guppy</a> library)
|
||||
{{=T.M("**%(items)s** items, **%(bytes)s** %%{byte(bytes)}", dict(items=ram['objects'], bytes=ram['bytes']))}}
|
||||
{{if ram['bytes'] > 524287:}}
|
||||
{{=T.M("(**%.0d MB**)", ram['bytes'] / 10485576)}}
|
||||
{{pass}}
|
||||
{{else:}}
|
||||
{{=T.M("``**not available**``:red (requires the Python [[guppy http://pypi.python.org/pypi/guppy/ popup]] library)")}}
|
||||
{{pass}}
|
||||
</p>
|
||||
<p>
|
||||
RAM contains items up to
|
||||
<strong>{{="%02d" % ram['oldest'][0]}}</strong> hours
|
||||
<strong>{{="%02d" % ram['oldest'][1]}}</strong> minutes
|
||||
<strong>{{="%02d" % ram['oldest'][2]}}</strong> seconds old.
|
||||
{{=T.M("RAM contains items up to **%(hours)02d** %%{hour(hours)} **%(min)02d** %%{minute(min)} **%(sec)02d** %%{second(sec)} old.",
|
||||
dict(hours=ram['oldest'][0], min=ram['oldest'][1], sec=ram['oldest'][2]))}}
|
||||
</p>
|
||||
{{=BUTTON(T('RAM Cache Keys'), _onclick='jQuery("#ram_keys").toggle();')}}
|
||||
<div class="hidden" id="ram_keys">
|
||||
@@ -180,43 +169,38 @@
|
||||
<br />
|
||||
{{pass}}
|
||||
|
||||
<h4>DISK</h4>
|
||||
<p>Number of entries: <strong>{{=disk['entries']}}</strong>
|
||||
{{if disk['entries'] > 0:}}
|
||||
</p>
|
||||
<p>
|
||||
Hit Ratio:
|
||||
<strong>{{=disk['ratio']}}%</strong>
|
||||
(<strong>{{=disk['hits']}}</strong> hits
|
||||
and <strong>{{=disk['misses']}}</strong> misses)
|
||||
</p>
|
||||
<p>
|
||||
Size of cache:
|
||||
<h4>{{=T("DISK")}}</h4>
|
||||
<p>{{=T.M("Number of entries: **%s**", disk['entries'])}}</p>
|
||||
{{if disk['entries'] > 0:}}
|
||||
<p>
|
||||
{{=T.M("Hit Ratio: **%(ratio)s%%** (**%(hits)s** %%{hit(hits)} and **%(misses)s** %%{miss(misses)})",
|
||||
dict(ratio=disk['ratio'], hits=disk['hits'], misses=disk['misses']))}}
|
||||
</p>
|
||||
<p>
|
||||
{{=T("Size of cache:")}}
|
||||
{{if object_stats:}}
|
||||
<strong>{{=disk['objects']}}</strong> items,
|
||||
<strong>{{=disk['bytes']}}</strong> bytes
|
||||
{{if disk['bytes'] > 524287:}}
|
||||
(<strong>{{=disk['bytes'] / 1048576}} MB</strong>)
|
||||
{{=T.M("**%(items)s** %%{item(items)}, **%(bytes)s** %%{byte(bytes)}", dict( items=disk['objects'], bytes=disk['bytes']))}}
|
||||
{{if disk['bytes'] > 524287:}}
|
||||
{{=T.M("(**%.0d MB**)", disk['bytes'] / 1048576)}}
|
||||
{{pass}}
|
||||
{{else:}}
|
||||
{{=T.M("``**not available**``:red (requires the Python [[guppy http://pypi.python.org/pypi/guppy/ popup]] library)")}}
|
||||
{{pass}}
|
||||
{{else:}} <strong>not available</strong> (requires the Python <a href="http://pypi.python.org/pypi/guppy/" target="_blank">guppy</a> library)
|
||||
{{pass}}
|
||||
</p>
|
||||
<p>
|
||||
DISK contains items up to
|
||||
<strong>{{="%02d" % disk['oldest'][0]}}</strong> hours
|
||||
<strong>{{="%02d" % disk['oldest'][1]}}</strong> minutes
|
||||
<strong>{{="%02d" % disk['oldest'][2]}}</strong> seconds old.
|
||||
</p>
|
||||
{{=BUTTON(T('Disk Cache Keys'), _onclick='jQuery("#disk_keys").toggle();')}}
|
||||
<div class="hidden" id="disk_keys">
|
||||
</p>
|
||||
<p>
|
||||
{{=T.M("DISK contains items up to **%(hours)02d** %%{hour(hours)} **%(min)02d** %%{minute(min)} **%(sec)02d** %%{second(sec)} old.",
|
||||
dict(hours=disk['oldest'][0], min=disk['oldest'][1], sec=disk['oldest'][2]))}}
|
||||
</p>
|
||||
{{=BUTTON(T('Disk Cache Keys'), _onclick='jQuery("#disk_keys").toggle();')}}
|
||||
<div class="hidden" id="disk_keys">
|
||||
{{=disk['keys']}}
|
||||
</div>
|
||||
<br />
|
||||
</div>
|
||||
<br />
|
||||
{{pass}}
|
||||
</div>
|
||||
|
||||
<div class="list-header">
|
||||
<h3>Manage Cache</h3>
|
||||
<h3>{{=T("Manage Cache")}}</h3>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
||||
Reference in New Issue
Block a user