summaryrefslogtreecommitdiffstats
path: root/l10n/ka_GE.php
blob: 8d710b0ad7bce438c0e603cfe73bf0a63ddf3ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
$TRANSLATIONS = array(
"Can not add feed: Exists already" => "ფიდის დამატება შეუძლებელია: უკვე არსებობს",
"Can not add folder: Exists already" => "ფოლდერის დამატება შეუძლებელია: უკვე არსებობს",
"Refresh" => "განახლება",
"by" => "მიერ",
"from" => "დან",
"Download" => "ჩამოტვირთვა",
"Description" => "გვერდის დახასიათება",
"Subscribe" => "გამოწერა",
"Web address" => "Web მისამართი",
"Folder" => "საქაღალდე",
"New folder" => "ახალი ფოლდერი",
"Folder name" => "ფოლდერის სახელი",
"Create" => "შექმნა",
"Rename" => "გადარქმევა",
"Delete feed" => "ფიდების წაშლა",
"Collapse" => "აკეცვა",
"Rename folder" => "ფოლდერის სახელის გადარქმევა",
"Delete folder" => "ფოლდერის წაშლა",
"Starred" => "ვარსკვლავმინიჭებული",
"Unread articles" => "წაუკითხავი არტიკლები",
"All articles" => "ყველა არტიკლი",
"Settings" => "პარამეტრები",
"Keyboard shortcuts" => "ქიბორდის shortcut–ები",
"Import" => "იმპორტი",
"Export" => "ექსპორტი",
"Error when importing: file does not contain valid OPML" => "შეცდომა იმპორტირების დროს: ფაილი არ უნდა შეიცავდეს მართებულ OPML–ს",
"Error when importing: file does not contain valid JSON" => "შეცდომა იმპორტირებისას: ფაილი არ უნდა შეიცავდეს მართებულ  JSON–ს"
);
$PLURAL_FORMS = "nplurals=1; plural=0;";
k">if [ -z "${tomcat_user}" ]; then # check backwards compatibility if [ -z "${tomcatUser}" ]; then error "tomcat user is unset or set to the empty string" return 1 else tomcat_user="${tomcatUser}" fi fi if [ -z "${tomcat_password}" ]; then # check backwards compatibility if [ -z "${tomcatPassword}" ]; then error "tomcat password is unset or set to the empty string" return 1 else tomcat_password="${tomcatPassword}" fi fi # check if we can get to tomcat's status page tomcat_get if [ $? -ne 0 ] then error "cannot get to status page on URL '${tomcat_url}'. Please make sure tomcat url, username and password are correct." return 1 fi # this should return: # - 0 to enable the chart # - 1 to disable the chart return 0 } tomcat_get() { # collect tomcat values tomcat_port="$(IFS=/ read -ra a <<< "$tomcat_url"; hostport=${a[2]}; echo "${hostport#*:}")" mapfile -t lines < <(run curl -u "$tomcat_user":"$tomcat_password" -Ss ${tomcat_curl_opts} "$tomcat_url" |\ run xmlstarlet sel \ -t -m "/status/jvm/memory" -v @free \ -n -m "/status/connector[@name='\"http-bio-$tomcat_port\"']/threadInfo" -v @currentThreadCount \ -n -v @currentThreadsBusy \ -n -m "/status/connector[@name='\"http-bio-$tomcat_port\"']/requestInfo" -v @requestCount \ -n -v @bytesSent -n -) tomcat_jvm_freememory="${lines[0]}" tomcat_threads="${lines[1]}" tomcat_threads_busy="${lines[2]}" tomcat_accesses="${lines[3]}" tomcat_volume="${lines[4]}" return 0 } # _create is called once, to create the charts tomcat_create() { cat <<EOF CHART tomcat.accesses '' "tomcat requests" "requests/s" statistics tomcat.accesses area $((tomcat_priority + 8)) $tomcat_update_every DIMENSION accesses '' incremental CHART tomcat.volume '' "tomcat volume" "KB/s" volume tomcat.volume area $((tomcat_priority + 5)) $tomcat_update_every DIMENSION volume '' incremental divisor ${tomcat_decimal_KB_detail} CHART tomcat.threads '' "tomcat threads" "current threads" statistics tomcat.threads line $((tomcat_priority + 6)) $tomcat_update_every DIMENSION current '' absolute 1 DIMENSION busy '' absolute 1 CHART tomcat.jvm '' "JVM Free Memory" "MB" statistics tomcat.jvm area $((tomcat_priority + 8)) $tomcat_update_every DIMENSION jvm '' absolute 1 ${tomcat_decimal_detail} EOF return 0 } # _update is called continiously, to collect the values tomcat_update() { local reqs net # the first argument to this function is the microseconds since last update # pass this parameter to the BEGIN statement (see bellow). # do all the work to collect / calculate the values # for each dimension # remember: KEEP IT SIMPLE AND SHORT tomcat_get || return 1 # write the result of the work. cat <<VALUESEOF BEGIN tomcat.accesses $1 SET accesses = $((tomcat_accesses)) END BEGIN tomcat.volume $1 SET volume = $((tomcat_volume)) END BEGIN tomcat.threads $1 SET current = $((tomcat_threads)) SET busy = $((tomcat_threads_busy)) END BEGIN tomcat.jvm $1 SET jvm = $((tomcat_jvm_freememory)) END VALUESEOF return 0 }