Commit Graph

32 Commits

Author SHA1 Message Date
Moritz Bunkus
ba3fbeaa14 build system: fix po style adjustment with very long file names
If a path + file name exceeds the wrap length then the translation
update mechanism went into an endless loop. So always output at least
one file, even if the line length limit is violated.
2015-06-26 21:04:15 +02:00
Moritz Bunkus
8221f3453c build system: force UTF-8 string encoding when reading source files
The files are encoded in UTF-8. Unfortunately there are situations in
which the environment either has no locale set at all or one that
doesn't use an encoding of UTF-8 (e.g. LC_ALL=C). In such cases Ruby's
default string encoding is set to US-ASCII.

Fixes #1189.
2015-05-11 18:20:50 +02:00
Moritz Bunkus
0bad8270cb build system: fix Ruby warnings
These include:

- assigned but unused local variable
- & interpreted as argument prefix
- ambiguous first argument
- shadowed variables
2015-03-24 13:20:18 +01:00
Moritz Bunkus
8b22523e55 build system: multiple sources in one line in Swedish translation file 2015-03-24 13:14:55 +01:00
Moritz Bunkus
da54691975 man page translations: fix format
po4a-translate requires empty lines at precisely the right places in
order to recognize entries.

Fixes #1134.
2015-02-27 18:51:40 +01:00
Moritz Bunkus
7ce1885173 Build system: don't word-wrap Turkish .po file 2014-08-24 14:40:12 +02:00
Moritz Bunkus
f6b4a41ded build system: adjust nl translation to translator's poedit style 2014-06-11 08:17:58 +02:00
Moritz Bunkus
aeb65b3caa build system: adjust to poedit style for Basque translations 2014-04-28 20:33:18 +02:00
Moritz Bunkus
1ea5a2f8c9 Build system: adjust po settings for Polish translator's poedit 2014-04-18 09:16:29 +02:00
Moritz Bunkus
2f97945b15 build system: adjust Ukrainian translation files format 2014-03-22 09:25:27 +01:00
Moritz Bunkus
2d3be2275f build system: use tighter dependencies for Qt files 2014-02-01 23:43:57 +01:00
Moritz Bunkus
4d946f05e1 Merge branch 'master' into mkvtoolnix-gui 2014-01-17 16:49:54 +01:00
Moritz Bunkus
3d015db49b build system: convert bin2h call from Ruby executable to built-in function 2014-01-01 21:41:01 +01:00
Moritz Bunkus
1e8b9e8540 Rake: Helper method for debugging dependency issues 2013-12-30 19:35:25 +01:00
Moritz Bunkus
17562886a6 build system: reformat certain po files to match poedit's current output 2013-12-29 00:29:28 +01:00
Moritz Bunkus
06c07a0906 Rakefile: task for cleaning just the unit tests 2013-07-04 23:11:44 +02:00
Moritz Bunkus
cdc7dddb90 Avoid warning from Ruby 1.8.7 2012-04-26 15:58:35 +02:00
Moritz Bunkus
380f75df72 Fix dependency file name clashes; ignore not existing dependencies; use simpler format 2012-04-11 16:48:15 +02:00
Moritz Bunkus
f4721c599c Don't shell out for :clean target 2012-04-09 16:32:46 +02:00
Moritz Bunkus
e1a499f3a2 Move temporary dependency files to a temporary directory 2012-03-18 10:57:43 +01:00
Moritz Bunkus
9cc37dd272 Abort drake if xsltproc finds a logical error (like wrong link targets) 2012-02-25 15:05:14 +01:00
KonaBlend
2ecf2e2f46 optimize rake deps to exclude absolute paths
- exclude absolute pathnames from rake.d/dependency.d/ content
- improve readability of content files: 1 file per line
- content size and dependencies reduced from 3.3MB --> 0.9MB
- time to perform rake on built tree reduced from 2200ms to 500ms
2011-12-10 17:41:24 +01:00
Moritz Bunkus
f4dcb7b33d Translation files: always write the same style as poedit 2011-10-13 20:57:49 +02:00
Moritz Bunkus
82e37f12f4 Every object has .to_a, but it will be obsolete soon 2010-09-23 15:46:50 +02:00
Moritz Bunkus
b8b0739c00 Fix regex for dependency file analysis
On msys there are : in the file names, e.g. c:/msys/....
2010-08-04 22:49:27 +02:00
Moritz Bunkus
05573e2060 Use temp files and explicit invocation of /bin/sh on mingw 2010-08-02 23:06:48 +02:00
Moritz Bunkus
607cc79465 Only use Mutexes if Ruby knows about them (Ruby 1.8.6 issue) 2010-08-01 22:06:53 +02:00
Moritz Bunkus
32ac14b391 Tasks for creating HTML files from man pages 2010-08-01 11:12:44 +02:00
Moritz Bunkus
249e819eb6 manpage translation update targets 2010-08-01 11:12:44 +02:00
Moritz Bunkus
385f86228f Install tasks 2010-08-01 11:12:44 +02:00
Moritz Bunkus
8d7fc2723b Enable dependecies 2010-08-01 11:12:43 +02:00
Moritz Bunkus
bbf395afbd Split up the Rakefile into smaller units 2010-08-01 11:12:43 +02:00