Browse Source

Merge branch 'staging' of https://github.com/vichan-devel/vichan into staging

pull/40/head
Fredrick Brennan 10 years ago
parent
commit
664daf8571
  1. 2
      inc/config.php
  2. 10
      inc/functions.php
  3. BIN
      inc/locale/eo/LC_MESSAGES/tinyboard.mo
  4. 16
      inc/locale/eo/LC_MESSAGES/tinyboard.po
  5. 570
      inc/locale/lv_LV/LC_MESSAGES/javascript.po
  6. 2618
      inc/locale/lv_LV/LC_MESSAGES/tinyboard.po

2
inc/config.php

@ -537,7 +537,7 @@
$config['user_flag'] = false;
// List of user_flag the user can choose. Flags must be placed in the directory set by $config['uri_flags']
$config['user_flags'] = [];
$config['user_flags'] = array();
/* example: 
$config['user_flags'] = array (
'nz' => 'Nazi',

10
inc/functions.php

@ -204,7 +204,7 @@ function loadConfig() {
if (!isset($config['user_flag']))
$config['user_flag'] = false;
if (!isset($config['user_flags']))
$config['user_flags'] = [];
$config['user_flags'] = array();
if ($config['root_file']) {
chdir($config['root_file']);
@ -2041,8 +2041,8 @@ function buildThread50($id, $return = false, $mod = false, $thread = null, $anti
if (!isset($thread)) {
$thread = new Thread($post, $mod ? '?/' : $config['root'], $mod);
} else {
if ($post['file'])
$num_images++;
if ($post['files'])
$num_images += $post['num_files'];
$thread->add(new Post($post, $mod ? '?/' : $config['root'], $mod));
}
@ -2074,8 +2074,8 @@ function buildThread50($id, $return = false, $mod = false, $thread = null, $anti
foreach ($allPosts as $index => $post) {
if ($index == count($allPosts)-count($thread->posts))
break;
if ($post->file)
$thread->omitted_images++;
if ($post->files)
$thread->omitted_images += $post->num_files;
}
}

BIN
inc/locale/eo/LC_MESSAGES/tinyboard.mo

Binary file not shown.

16
inc/locale/eo/LC_MESSAGES/tinyboard.po

@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: vichan\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-04-21 21:04+0200\n"
"PO-Revision-Date: 2014-04-28 21:04+0000\n"
"PO-Revision-Date: 2014-04-30 18:20+0000\n"
"Last-Translator: neniu <[email protected]>\n"
"Language-Team: Esperanto (http://www.transifex.com/projects/p/tinyboard-vichan-devel/language/eo/)\n"
"MIME-Version: 1.0\n"
@ -368,7 +368,7 @@ msgstr "La servilo malsukcesis prilabori vian alŝuton."
#: ../../../../inc/config.php:970 ../../../../inc/config.php:972
#: ../../../../inc/config.php:974 ../../../../inc/config.php:990
msgid "Unsupported image format."
msgstr "Malsubtenita bildotipo."
msgstr "Nesubtenita bildotipo."
#: ../../../../inc/config.php:875 ../../../../inc/config.php:980
#: ../../../../inc/config.php:971 ../../../../inc/config.php:973
@ -2200,19 +2200,19 @@ msgstr "Neniom da raportoj."
#: ../../../../post.php:802 ../../../../post.php:811 ../../../../post.php:825
msgid "That ban doesn't exist or is not for you."
msgstr ""
msgstr "Tiu malpermeso ne ekzistas aŭ ne estas via."
#: ../../../../post.php:806 ../../../../post.php:815 ../../../../post.php:829
msgid "You cannot appeal a ban of this length."
msgstr ""
msgstr "Vi ne povas apelacii kontraŭ malpermeso de tiu daŭro."
#: ../../../../post.php:813 ../../../../post.php:822 ../../../../post.php:836
msgid "You cannot appeal this ban again."
msgstr ""
msgstr "Vi ne povas apelacii kontraŭ ĉi tiu malpermeso denove."
#: ../../../../post.php:818 ../../../../post.php:827 ../../../../post.php:841
msgid "There is already a pending appeal for this ban."
msgstr ""
msgstr "Jam pritraktatas apelacio por ĉi tiu malpermeso."
#: ../../../../inc/image.php:24 ../../../../inc/image.php:62
msgid "Unsupported file format: "
@ -2283,12 +2283,12 @@ msgstr "Via IP adreso estas"
#. line 86
#: ../../../../templates/cache/b7/ae/f9663c9ca58d1e218de29e04d0fa229f6263f4e68b613ce608bc023897a2.php:215
msgid "You were banned for the following post on"
msgstr ""
msgstr "Vi fariĝis malpermesita pro la jena afiŝo je"
#. line 95
#: ../../../../templates/cache/b7/ae/f9663c9ca58d1e218de29e04d0fa229f6263f4e68b613ce608bc023897a2.php:239
msgid "You submitted an appeal for this ban on"
msgstr ""
msgstr "Vi sendis apelacion por ĉi tiu malpermeso je"
#: ../../../../templates/cache/b7/ae/f9663c9ca58d1e218de29e04d0fa229f6263f4e68b613ce608bc023897a2.php:245
msgid "It is still pending"

570
inc/locale/lv_LV/LC_MESSAGES/javascript.po

@ -0,0 +1,570 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# diggydoc <[email protected]>, 2014
msgid ""
msgstr ""
"Project-Id-Version: vichan\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2014-04-21 21:04+0200\n"
"PO-Revision-Date: 2014-04-30 21:37+0000\n"
"Last-Translator: diggydoc <[email protected]>\n"
"Language-Team: Latvian (Latvia) (http://www.transifex.com/projects/p/tinyboard-vichan-devel/language/lv_LV/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: lv_LV\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n"
#: ../../../../js/style-select.js:40 ../../../../js/style-select.js:41
msgid "Style: "
msgstr "Stils:"
#: ../../../../js/hide-images.js:50 ../../../../js/upload-selection.js:51
#: ../../../../js/quick-post-controls.js:30 ../../../../js/hide-images.js:51
#: ../../../../js/quick-post-controls.js:32
#: ../../../../js/upload-selection.js:61
msgid "File"
msgstr "Fails"
#: ../../../../js/hide-images.js:50 ../../../../js/hide-images.js:51
msgid "hide"
msgstr "paslēpt"
#: ../../../../js/hide-images.js:56 ../../../../js/hide-images.js:57
msgid "show"
msgstr "parādīt"
#: ../../../../js/toggle-locked-threads.js:39
#: ../../../../js/toggle-locked-threads.js:54
#: ../../../../js/toggle-locked-threads.js:40
#: ../../../../js/toggle-locked-threads.js:55
#: ../../../../js/toggle-locked-threads.js:41
#: ../../../../js/toggle-locked-threads.js:56
msgid "Show locked threads"
msgstr "Rādīt slēgtos pavedienus"
#: ../../../../js/toggle-locked-threads.js:39
#: ../../../../js/toggle-locked-threads.js:54
#: ../../../../js/toggle-locked-threads.js:40
#: ../../../../js/toggle-locked-threads.js:55
#: ../../../../js/toggle-locked-threads.js:41
#: ../../../../js/toggle-locked-threads.js:56
msgid "Hide locked threads"
msgstr "Slēpt slēgtos pavedienus"
#: ../../../../js/upload-selection.js:32 ../../../../js/upload-selection.js:45
msgid "URL"
msgstr "URL"
#: ../../../../js/upload-selection.js:50 ../../../../js/upload-selection.js:60
msgid "Select"
msgstr "Izvēlēties"
#: ../../../../js/upload-selection.js:53 ../../../../js/upload-selection.js:63
msgid "Remote"
msgstr ""
#: ../../../../js/upload-selection.js:56 ../../../../js/upload-selection.js:66
msgid "Embed"
msgstr ""
#: ../../../../js/upload-selection.js:59 ../../../../js/upload-selection.js:69
msgid "Oekaki"
msgstr ""
#: ../../../../js/toggle-images.js:41 ../../../../js/toggle-images.js:42
msgid "hidden"
msgstr "paslēpts"
#: ../../../../js/toggle-images.js:57 ../../../../js/toggle-images.js:70
#: ../../../../js/toggle-images.js:58 ../../../../js/toggle-images.js:71
msgid "Show images"
msgstr "Rādīt attēlus"
#: ../../../../js/toggle-images.js:57 ../../../../js/toggle-images.js:70
#: ../../../../js/toggle-images.js:58 ../../../../js/toggle-images.js:71
msgid "Hide images"
msgstr "Paslēpt attēlus"
#: ../../../../js/quick-post-controls.js:27
#: ../../../../js/quick-post-controls.js:29
msgid "Password"
msgstr "Parole"
#: ../../../../js/quick-post-controls.js:29
#: ../../../../js/quick-post-controls.js:31
msgid "Delete file only"
msgstr "Dzēst tikai failu"
#: ../../../../js/quick-post-controls.js:31
#: ../../../../js/quick-post-controls.js:33
msgid "Delete"
msgstr "Dzēst"
#: ../../../../js/quick-post-controls.js:35
#: ../../../../js/quick-post-controls.js:37
msgid "Reason"
msgstr "Iemesls"
#: ../../../../js/quick-post-controls.js:37
#: ../../../../js/quick-post-controls.js:39
msgid "Report"
msgstr "Ziņot"
#: ../../../../js/expand.js:20 ../../../../js/expand.js:22
msgid "Click reply to view."
msgstr "Nospiest uz atbildes, lai apskatītu"
#: ../../../../js/expand.js:20 ../../../../js/expand.js:22
msgid "Click to expand"
msgstr "Nospiest, lai izvērstu"
#: ../../../../js/expand.js:44 ../../../../js/expand.js:46
msgid "Hide expanded replies"
msgstr "Paslēpt izvērstās atbildes"
#: ../../../../js/oekaki.js:10
msgid "Brush size"
msgstr "Otas izmērs"
#: ../../../../js/oekaki.js:10
msgid "Set text"
msgstr "Uzstādīt tekstu"
#: ../../../../js/oekaki.js:10
msgid "Clear"
msgstr "Notīrīt"
#: ../../../../js/oekaki.js:10
msgid "Save"
msgstr "Saglabāt"
#: ../../../../js/oekaki.js:10
msgid "Load"
msgstr "Ielādēt"
#: ../../../../js/oekaki.js:11
msgid "Toggle eraser"
msgstr "Pārslēgt dzēšanu"
#: ../../../../js/oekaki.js:11
msgid "Get color"
msgstr "Iegūt krāsu"
#: ../../../../js/oekaki.js:11
msgid "Fill"
msgstr "Aizpildīt"
#: ../../../../js/oekaki.js:12
msgid "Use oekaki instead of file?"
msgstr ""
#: ../../../../js/oekaki.js:21
msgid "Edit in oekaki"
msgstr ""
#: ../../../../js/oekaki.js:152
msgid "Enter some text"
msgstr ""
#: ../../../../js/oekaki.js:153
msgid "Enter font or leave empty"
msgstr ""
#: ../../../../js/forced-anon.js:59 ../../../../js/forced-anon.js:65
#: ../../../../js/forced-anon.js:69 ../../../../js/forced-anon.js:60
#: ../../../../js/forced-anon.js:66 ../../../../js/forced-anon.js:70
#: ../../../../js/forced-anon.js:61 ../../../../js/forced-anon.js:67
#: ../../../../js/forced-anon.js:71
msgid "Forced anonymity"
msgstr ""
#: ../../../../js/forced-anon.js:59 ../../../../js/forced-anon.js:65
#: ../../../../js/forced-anon.js:60 ../../../../js/forced-anon.js:66
#: ../../../../js/forced-anon.js:61 ../../../../js/forced-anon.js:67
msgid "enabled"
msgstr "ieslēgts"
#: ../../../../js/forced-anon.js:59 ../../../../js/forced-anon.js:69
#: ../../../../js/forced-anon.js:60 ../../../../js/forced-anon.js:70
#: ../../../../js/forced-anon.js:61 ../../../../js/forced-anon.js:71
msgid "disabled"
msgstr "izslēgts"
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Sun"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Mon"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Tue"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Wed"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Thu"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Fri"
msgstr ""
#: ../../../../js/local-time.js:40 ../../../../js/local-time.js:41
#: ../../../../js/local-time.js:30
msgid "Sat"
msgstr ""
#: ../../../../js/catalog-link.js:21 ../../../../js/catalog-link.js:32
#: ../../../../js/catalog-link.js:40 ../../../../js/catalog-link.js:33
#: ../../../../js/catalog-link.js:44 ../../../../js/catalog-link.js:52
msgid "Catalog"
msgstr ""
#: ../../../../js/quick-reply.js:21 ../../../../js/quick-reply-old.js:21
#: ../../../../js/quick-reply-old.js:23
msgid "Submit"
msgstr ""
#: ../../../../js/quick-reply.js:31 ../../../../js/quick-reply-old.js:31
#: ../../../../js/quick-reply-old.js:33
msgid "Quick reply"
msgstr ""
#: ../../../../js/quick-reply.js:33 ../../../../js/quick-reply-old.js:33
#: ../../../../js/quick-reply-old.js:35
#, python-brace-format
msgid "Posting mode: Replying to <small>&gt;&gt;{0}</small>"
msgstr ""
#: ../../../../js/quick-reply.js:33 ../../../../js/quick-reply-old.js:33
#: ../../../../js/quick-reply-old.js:35
msgid "Return"
msgstr ""
#: ../../../../js/expand-all-images.js:20
#: ../../../../js/expand-all-images.js:21
#: ../../../../js/expand-all-images.js:22
msgid "Expand all images"
msgstr ""
#: ../../../../templates/main.js:6
msgid "Hello!"
msgstr ""
#: ../../../../templates/main.js:18
#, python-brace-format
msgid "{0} users"
msgstr ""
#: ../../../../templates/themes/ukko/ukko.js:28
#: ../../../../templates/themes/ukko/ukko.js:39
#: ../../../../templates/themes/ukko/ukko.js:29
#: ../../../../templates/themes/ukko/ukko.js:40
msgid "(hide threads from this board)"
msgstr ""
#: ../../../../templates/themes/ukko/ukko.js:32
#: ../../../../templates/themes/ukko/ukko.js:44
#: ../../../../templates/themes/ukko/ukko.js:33
#: ../../../../templates/themes/ukko/ukko.js:45
msgid "(show threads from this board)"
msgstr ""
#: ../../../../templates/themes/ukko/ukko.js:57
#: ../../../../templates/themes/ukko/ukko.js:58
msgid "No more threads to display"
msgstr ""
#: ../../../../templates/themes/ukko/ukko.js:79
#: ../../../../templates/themes/ukko/ukko.js:80
msgid "Loading..."
msgstr ""
#: ../../../../js/download-original.js:32
#: ../../../../js/download-original.js:33
msgid "Save as original filename"
msgstr ""
#: ../../../../js/ajax-post-controls.js:43
msgid "Reported post(s)."
msgstr ""
#: ../../../../js/ajax-post-controls.js:53
msgid "An unknown error occured!"
msgstr ""
#: ../../../../js/ajax-post-controls.js:60
msgid "Something went wrong... An unknown error occured!"
msgstr ""
#: ../../../../js/ajax-post-controls.js:68
msgid "Working..."
msgstr ""
#: ../../../../js/ajax.js:42 ../../../../js/ajax.js:45
msgid "Posting... (#%)"
msgstr ""
#: ../../../../js/ajax.js:104 ../../../../js/ajax.js:109
msgid "Posted..."
msgstr ""
#: ../../../../js/ajax.js:106 ../../../../js/ajax.js:111
msgid "An unknown error occured when posting!"
msgstr ""
#: ../../../../js/ajax.js:130 ../../../../js/ajax.js:135
msgid "Posting..."
msgstr ""
#: ../../../../js/quick-reply.js:223 ../../../../js/quick-reply.js:224
#: ../../../../js/quick-reply.js:225
msgid "Upload URL"
msgstr ""
#: ../../../../js/quick-reply.js:266 ../../../../js/quick-reply.js:267
#: ../../../../js/quick-reply.js:268
msgid "Spoiler Image"
msgstr ""
#: ../../../../js/quick-reply.js:277 ../../../../js/quick-reply.js:278
#: ../../../../js/quick-reply.js:279
msgid "Comment"
msgstr ""
#: ../../../../js/quick-reply.js:285 ../../../../js/quick-reply.js:406
#: ../../../../js/quick-reply.js:286 ../../../../js/quick-reply.js:407
#: ../../../../js/quick-reply.js:287 ../../../../js/quick-reply.js:408
msgid "Quick Reply"
msgstr ""
#: ../../../../js/watch.js:249 ../../../../js/watch.js:250
#: ../../../../js/watch.js:288 ../../../../js/watch.js:289
#: ../../../../js/watch.js:330 ../../../../js/watch.js:331
msgid "Stop watching this thread"
msgstr ""
#: ../../../../js/watch.js:249 ../../../../js/watch.js:250
#: ../../../../js/watch.js:288 ../../../../js/watch.js:289
#: ../../../../js/watch.js:330 ../../../../js/watch.js:331
msgid "Watch this thread"
msgstr ""
#: ../../../../js/watch.js:260 ../../../../js/watch.js:261
#: ../../../../js/watch.js:269 ../../../../js/watch.js:299
#: ../../../../js/watch.js:300 ../../../../js/watch.js:308
#: ../../../../js/watch.js:341 ../../../../js/watch.js:342
#: ../../../../js/watch.js:350
msgid "Unpin this board"
msgstr ""
#: ../../../../js/watch.js:260 ../../../../js/watch.js:261
#: ../../../../js/watch.js:269 ../../../../js/watch.js:299
#: ../../../../js/watch.js:300 ../../../../js/watch.js:308
#: ../../../../js/watch.js:341 ../../../../js/watch.js:342
#: ../../../../js/watch.js:350
msgid "Pin this board"
msgstr ""
#: ../../../../js/watch.js:262 ../../../../js/watch.js:267
#: ../../../../js/watch.js:268 ../../../../js/watch.js:301
#: ../../../../js/watch.js:306 ../../../../js/watch.js:307
#: ../../../../js/watch.js:343 ../../../../js/watch.js:348
#: ../../../../js/watch.js:349
msgid "Stop watching this board"
msgstr ""
#: ../../../../js/watch.js:262 ../../../../js/watch.js:267
#: ../../../../js/watch.js:268 ../../../../js/watch.js:301
#: ../../../../js/watch.js:306 ../../../../js/watch.js:307
#: ../../../../js/watch.js:343 ../../../../js/watch.js:348
#: ../../../../js/watch.js:349
msgid "Watch this board"
msgstr ""
#: ../../../../js/wpaint.js:113
msgid "Click on any image on this site to load it into oekaki applet"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Sunday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Monday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Tuesday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Wednesday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Thursday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Friday"
msgstr ""
#: ../../../../js/local-time.js:29
msgid "Saturday"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "January"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "February"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "March"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "April"
msgstr ""
#: ../../../../js/local-time.js:31 ../../../../js/local-time.js:32
msgid "May"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "June"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "July"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "August"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "September"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "October"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "November"
msgstr ""
#: ../../../../js/local-time.js:31
msgid "December"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Jan"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Feb"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Mar"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Apr"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Jun"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Jul"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Aug"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Sep"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Oct"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Nov"
msgstr ""
#: ../../../../js/local-time.js:32
msgid "Dec"
msgstr ""
#: ../../../../js/local-time.js:33
msgid "AM"
msgstr ""
#: ../../../../js/local-time.js:34
msgid "PM"
msgstr ""
#: ../../../../js/local-time.js:35
msgid "am"
msgstr ""
#: ../../../../js/local-time.js:36
msgid "pm"
msgstr ""
#: ../../../../js/expand-video.js:45 ../../../../js/expand-video.js:48
msgid "Your browser does not support HTML5 video."
msgstr ""
#: ../../../../js/expand-video.js:189 ../../../../js/expand-video.js:192
msgid "[play once]"
msgstr ""
#: ../../../../js/expand-video.js:190 ../../../../js/expand-video.js:193
msgid "[loop]"
msgstr ""
#: ../../../../js/webm-settings.js:42
msgid "WebM Settings"
msgstr ""
#: ../../../../js/webm-settings.js:44
msgid "Expand videos inline"
msgstr ""
#: ../../../../js/webm-settings.js:45
msgid "Play videos on hover"
msgstr ""
#: ../../../../js/webm-settings.js:46
msgid "Default volume"
msgstr ""
#: ../../../../js/treeview.js:18
msgid "Tree view"
msgstr ""

2618
inc/locale/lv_LV/LC_MESSAGES/tinyboard.po

File diff suppressed because it is too large
Loading…
Cancel
Save