Commit Graph

5885 Commits

Author SHA1 Message Date
Alex Schroeder
2ffb2dd8fa Replace: no pagination
The old code would only call the the function provided
if pagination indicated that it was OK to do so. Thus,
only the first ten pages got replaced. This has been
fixed and tests have been added.
2015-12-16 15:50:35 +01:00
Alex Schroeder
864c6f0f61 atom.t: fix warning 2015-12-16 10:04:56 +01:00
Alex Schroeder
bc3ec732bf typo 2015-11-29 10:25:15 +01:00
Alex Schroeder
adb7430573 supplementing the German transltion 2015-11-29 10:10:47 +01:00
Alex Schroeder
9e299e57e7 Alexine IRC bot 2015-11-19 23:25:18 +02:00
Alex Schroeder
452cbdf545 green.css: no dashed line between sister sites 2015-11-18 09:58:20 +01:00
Alex Schroeder
947836e1c7 light.css: no bold summary for recent changes 2015-11-15 21:58:58 +01:00
Alex Schroeder
9547c01239 word-count.pl: fix regular expression for dates 2015-11-15 21:58:58 +01:00
Alex Schroeder
9874a0c379 Fix tests for default stylesheet link
Also, get rid of redundant “www”.
2015-11-03 03:21:27 +02:00
Alex Schroeder
7825bdd092 Alexine: some successful commits are major
If previous commit had some failing tests then Alexine will announce that on
the wiki. When the problem is solved we probably don't want to see scary
messages in Recent Changes, so next successful commit should be announced (it
should not be a minor edit).
2015-11-03 03:03:13 +02:00
Alex Schroeder
4cb8e1bd0a Default css should be retrieved over secure connection
Everything on oddmuse.org now redirects to https, which means that every wiki
that is using default style sheet requires two requests to get the css file.
2015-11-02 20:57:49 +02:00
Alex Schroeder
ad8c17be43 wiki.css: We are no longer using these fonts
There is no need to define fonts that we do not use anyway.
2015-11-02 20:50:52 +02:00
Alex Schroeder
92f55079cb scripts: renamed two scripts 2015-10-31 15:15:36 +01:00
Alex Schroeder
c9557736a2 nosearch.pl: code style
It seems like oddtrans does not pick up the strings with double quotes?
It's weird, but it does not matter anyway, because we will switch to gettext
sooner or later.
2015-10-31 02:58:00 +02:00
Alex Schroeder
3d38db2ae6 Updates to Russian translation (70% → 85%) 2015-10-31 02:56:39 +02:00
Alex Schroeder
570dfedb03 word-count.pl: new 2015-10-30 23:39:52 +01:00
Alex Schroeder
a99959e0cc Full support for arrayref in $StyleSheet 2015-10-26 01:03:42 +02:00
Alex Schroeder
bceb491d87 Fix the number of tests in css.t 2015-10-26 00:34:57 +02:00
Alex Schroeder
84bcf655ad Allow multiple stylesheet files in $StyleSheet
Since $StyleSheet is a scalar, you can't pass multiple values, but you can
now set it to one array ref. For example:

$StyleSheet = ['http://example.org/test.css', 'http://example.org/another.css'];
2015-10-26 00:27:14 +02:00
Alex Schroeder
1e8e6cd881 New script translations-stats
Basically copied from the README file. Now you can use it instead of pasting
very long lines into your terminal.
2015-10-23 00:55:21 +03:00
Alex Schroeder
6b3d00acf3 oddtrans: print # on the last line
Otherwise we will get odd number of elements if the last string has no
translation (it seems like perl trims last empty lines).

Also: strictures and formatting
2015-10-23 00:25:38 +03:00
Alex Schroeder
79dc2a7e49 More fixes for Spanish translation 2015-10-21 16:57:27 +03:00
Alex Schroeder
b4c462bf1e Some fixes for Spanish translation 2015-10-21 16:06:13 +03:00
Alex Schroeder
66b86fbc6d Prioritize slow tests
By using 「--state=slow,save」 we can probably crunch all tests faster (better
wallclock time). Some tests are taking a lot of time simply because of the
delays (sleeping), so it makes sense to start these tests earlier.
2015-10-21 13:15:34 +03:00
Alex Schroeder
f6be7ef40f Fix tests ($ShowAll)
$ShowAll was not added to 「our」.
2015-10-21 12:15:25 +03:00
Alex Schroeder
606eb8abe3 Alexine repo is different now 2015-10-21 06:00:57 +03:00
Alex Schroeder
572bcd3d65 Alexine updates according to the new directory structure
Also, use 8 threads for 「make test」
2015-10-21 05:39:05 +03:00
Alex Schroeder
8e49ed1df9 translations/README deleted
This file has to be regenerated periodically, Alexine will do that.
Also, these long one-liners have to be separated into scripts.
I am deleting this file because I'm not willing to update it.
2015-10-21 05:19:56 +03:00
Alex Schroeder
064c82c74f Translation: fix 'non existent' for Spanish, too 2015-10-20 17:31:42 +02:00
Alex Schroeder
adbb358050 Translation: 'non existant' to 'nonexisting' 2015-10-20 17:19:02 +02:00
Alex Schroeder
ede702e811 Updates to Spanish translation
This is a general revision of the current file, and a massive upgrade
from the last date (2002).  Some sentences have been formalized and
have been clarified, including corrections, completing the total of the
translation.
2015-10-20 16:51:28 +02:00
Alex Schroeder
ee54863dd5 Typo in German translation (liefert repeated twice) 2015-10-19 23:21:44 +03:00
Alex Schroeder
f0c9172263 Biscecting -> Bisection (typo) 2015-10-19 23:17:39 +03:00
Alex Schroeder
0bae3b082c Updates to Russian translation 2015-10-19 23:12:58 +03:00
Alex Schroeder
d68bb9ac10 More fixes for $ShowAll
Some modules had to be fixed too!
'showedit' and 'rollback' are not used in modules, so there's nothing to fix.
2015-10-18 03:14:57 +03:00
Alex Schroeder
bbc1e81eed “link blow” → “link below” 2015-10-18 02:48:06 +03:00
Alex Schroeder
9d6e815b6a Fixed $ShowAll and $ShowEdits, added $ShowRollbacks
It seems like $ShowEdits feature was half broken (not all occurances were
actually defaulted to its value). In the last commit I did the same mistake
with $ShowAll. This is now fixed.
Also, for completeness, I decided to add $ShowRollbacks as well.
2015-10-18 01:21:07 +03:00
Alex Schroeder
3f4bfeb655 New $ShowAll variable
Sometimes you might want to “List all changes” and “Include minor
changes” by default. We can already change the default value of the
latter by using $ShowEdits variable, but another one was unsettable from
the config file. Now we have $ShowAll variable.
2015-10-18 00:49:57 +03:00
Alex Schroeder
a29d3339ac make translations
This adds the subheaders to all the translation files.

for f in modules/translations/*-utf8.pl; do
  perl -e "sub AddModuleDescription { print shift, ' ' };
           do '$f';
	   \$i = 0;
	   map { \$_ || \$i++} values %Translate;
	   printf(qq{%d/%d translations missing\n}, \$i, scalar keys %Translate);";
done

brazilian-portuguese-utf8.pl 237/672 translations missing
bulgarian-utf8.pl 496/672 translations missing
catalan-utf8.pl 259/672 translations missing
chinese-utf8.pl 254/672 translations missing
chinese_cn-utf8.pl 199/672 translations missing
dutch-utf8.pl 459/672 translations missing
finnish-utf8.pl 436/672 translations missing
french-utf8.pl 177/672 translations missing
german-utf8.pl 13/672 translations missing
greek-utf8.pl 242/672 translations missing
hebrew-utf8.pl 555/672 translations missing
italian-utf8.pl 425/672 translations missing
japanese-utf8.pl 5/237 translations missing
korean-utf8.pl 393/672 translations missing
fixme-utf8.pl 672/672 translations missing
polish-utf8.pl 239/672 translations missing
portuguese-utf8.pl 389/672 translations missing
romanian-utf8.pl 514/672 translations missing
russian-utf8.pl 297/672 translations missing
serbian-utf8.pl 526/672 translations missing
spanish-utf8.pl 246/672 translations missing
swedish-utf8.pl 372/672 translations missing
ukrainian-utf8.pl 347/672 translations missing
2015-10-17 23:00:26 +02:00
Alex Schroeder
217883a90c Switched to Palatino
On a phone with little RAM, downloading Noticia takes too much time.
2015-10-16 08:44:17 +02:00
Alex Schroeder
93632d3137 Translation: "为 %s 建立锁定 。\t"
Removed trailing tab.
2015-10-15 20:12:19 +02:00
Alex Schroeder
63305cd019 Translation: " . . . . "
Removed trailing whitespace.
2015-10-15 20:05:23 +02:00
Alex Schroeder
6941ccc05d Translation: " ... " is no longer translatable 2015-10-15 19:35:08 +02:00
Alex Schroeder
05f8227185 Translations: removed trailing whitespace
Various translation files still had translated strings with trailing
whitespace where the English original did not have any. This has been
removed.
2015-10-15 19:32:12 +02:00
Alex Schroeder
50b8c0ed96 Translation: "Comments on " and "Comment on"
Removed trailing whitespace.
2015-10-15 19:29:35 +02:00
Alex Schroeder
bfa879441b Translations: removed trailing whitespace
Various translation files still had translated strings with trailing
whitespace where the English original did not have any. This has been
removed.
2015-10-15 19:23:42 +02:00
Alex Schroeder
92f264307f Trans.: "Consider banning the IP number as well: "
Remove trailing whitespace. In the German translation, I also replaced a
few instances of "sie" with "Sie".
2015-10-15 19:18:55 +02:00
Alex Schroeder
703ba8d969 Transl.: "Module count (only testable modules): "
Remove trailing whitespace.
2015-10-15 19:15:18 +02:00
Alex Schroeder
54e9eaf563 Translation: "Summary of your changes: "
Remove trailing whitespace.
2015-10-15 19:13:13 +02:00
Alex Schroeder
a3bf23ea32 Translation: "Define external redirect: "
Removed trailing whitespace.
2015-10-15 19:10:59 +02:00