aboutsummaryrefslogtreecommitdiffstats
path: root/icons
diff options
context:
space:
mode:
Diffstat (limited to 'icons')
-rwxr-xr-xicons/create_titles.pl68
-rw-r--r--icons/title-back.pngbin0 -> 481 bytes
-rw-r--r--icons/title-backpart.pngbin293 -> 0 bytes
-rw-r--r--icons/title-icon.pngbin0 -> 3943 bytes
-rw-r--r--icons/title-tile.pngbin0 -> 200 bytes
-rw-r--r--icons/title/bs/title-install.pngbin0 -> 61477 bytes
-rw-r--r--icons/title/bs/title-remove.pngbin0 -> 61797 bytes
-rw-r--r--icons/title/bs/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/cy/title-install.pngbin0 -> 68214 bytes
-rw-r--r--icons/title/cy/title-remove.pngbin0 -> 61637 bytes
-rw-r--r--icons/title/cy/title-update.pngbin0 -> 44013 bytes
-rw-r--r--icons/title/da/title-install.pngbin0 -> 70294 bytes
-rw-r--r--icons/title/da/title-remove.pngbin0 -> 65642 bytes
-rw-r--r--icons/title/da/title-update.pngbin0 -> 39041 bytes
-rw-r--r--icons/title/de/title-install.pngbin0 -> 57637 bytes
-rw-r--r--icons/title/de/title-remove.pngbin0 -> 54425 bytes
-rw-r--r--icons/title/de/title-update.pngbin0 -> 51385 bytes
-rw-r--r--icons/title/en/title-install.pngbin0 -> 64197 bytes
-rw-r--r--icons/title/en/title-remove.pngbin0 -> 59237 bytes
-rw-r--r--icons/title/en/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/es/title-install.pngbin0 -> 75746 bytes
-rw-r--r--icons/title/es/title-remove.pngbin0 -> 59237 bytes
-rw-r--r--icons/title/es/title-update.pngbin0 -> 55545 bytes
-rw-r--r--icons/title/et/title-install.pngbin0 -> 44493 bytes
-rw-r--r--icons/title/et/title-remove.pngbin0 -> 48653 bytes
-rw-r--r--icons/title/et/title-update.pngbin0 -> 45293 bytes
-rw-r--r--icons/title/eu/title-install.pngbin0 -> 62597 bytes
-rw-r--r--icons/title/eu/title-remove.pngbin0 -> 61957 bytes
-rw-r--r--icons/title/eu/title-update.pngbin0 -> 43213 bytes
-rw-r--r--icons/title/fr/title-install.pngbin0 -> 74626 bytes
-rw-r--r--icons/title/fr/title-remove.pngbin0 -> 76706 bytes
-rw-r--r--icons/title/fr/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/id/title-install.pngbin0 -> 50745 bytes
-rw-r--r--icons/title/id/title-remove.pngbin0 -> 60677 bytes
-rw-r--r--icons/title/id/title-update.pngbin0 -> 36481 bytes
-rw-r--r--icons/title/it/title-install.pngbin0 -> 66774 bytes
-rw-r--r--icons/title/it/title-remove.pngbin0 -> 61637 bytes
-rw-r--r--icons/title/it/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/mt/title-install.pngbin0 -> 76706 bytes
-rw-r--r--icons/title/nl/title-install.pngbin0 -> 62437 bytes
-rw-r--r--icons/title/nl/title-remove.pngbin0 -> 65322 bytes
-rw-r--r--icons/title/nl/title-update.pngbin0 -> 52345 bytes
-rw-r--r--icons/title/no/title-install.pngbin0 -> 73814 bytes
-rw-r--r--icons/title/no/title-remove.pngbin0 -> 66294 bytes
-rw-r--r--icons/title/no/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/pt/title-install.pngbin0 -> 64037 bytes
-rw-r--r--icons/title/pt/title-remove.pngbin0 -> 62757 bytes
-rw-r--r--icons/title/pt/title-update.pngbin0 -> 49945 bytes
-rw-r--r--icons/title/pt_BR/title-install.pngbin0 -> 45453 bytes
-rw-r--r--icons/title/pt_BR/title-remove.pngbin0 -> 53945 bytes
-rw-r--r--icons/title/pt_BR/title-update.pngbin0 -> 36641 bytes
-rw-r--r--icons/title/sv/title-install.pngbin0 -> 34081 bytes
-rw-r--r--icons/title/sv/title-remove.pngbin0 -> 26704 bytes
-rw-r--r--icons/title/sv/title-update.pngbin0 -> 43373 bytes
-rw-r--r--icons/title/tr/title-update.pngbin0 -> 46093 bytes
-rw-r--r--icons/title/wa/title-install.pngbin0 -> 82158 bytes
-rw-r--r--icons/title/wa/title-remove.pngbin0 -> 79906 bytes
57 files changed, 68 insertions, 0 deletions
diff --git a/icons/create_titles.pl b/icons/create_titles.pl
new file mode 100755
index 00000000..437171cd
--- /dev/null
+++ b/icons/create_titles.pl
@@ -0,0 +1,68 @@
+#!/usr/bin/perl
+
+# For faster multiple execs, start a gimp, and do Xtns/Perl/Server.
+# Warning! Error message are the worst ever. Unquote the "set_trace" if you need troubleshooting.
+
+use Gimp qw(:consts main xlfd_size :auto);
+use MDK::Common;
+
+Gimp::init();
+#Gimp::set_trace(TRACE_ALL);
+
+$| = 1;
+
+sub create_file {
+ my ($backimg, $fontname, $text, $outfile) = @_;
+ my $img = gimp_file_load($backimg, $backimg);
+ gimp_palette_set_foreground([255, 255, 255]);
+ my $layer = gimp_text_fontname($img, -1, 0, 10, $text, 0, 1, 250, 1, $fontname);
+ my $width = gimp_drawable_width($layer);
+ gimp_image_merge_visible_layers($img, 0);
+ gimp_crop($img, $width, 40, 0, 0);
+ gimp_file_save($img, gimp_image_active_drawable($img), $outfile, $outfile);
+}
+
+my $wd = chomp_(`pwd`);
+
+my $font = 'SOME NICE FONT';
+my %meuh = (install => 'Software Packages Installation', remove => 'Software Packages Removal', update => 'Mandrake Update');
+
+mkdir "title/en";
+create_file("$wd/title-back.png", $font, $meuh{$_}, "$wd/title/en/title-$_.png") foreach keys %meuh;
+
+foreach my $po (glob('../po/*.po')) {
+ my ($poname) = $po =~ m|/([^/\.]+)\.po$|;
+ print "[$poname] ";
+ my $charset;
+ my @lines = cat_($po);
+ foreach (@lines) {
+ /^"Content-Type: .*; charset=(.*)/ and $charset = $1;
+ }
+ if ($charset =~ /^(iso-8859-15?)|(utf-8)/i) {
+ foreach my $k (keys %meuh) {
+ my $str = $meuh{$k};
+ my $i18n;
+ each_index { /^msgid "\Q$str/ && ($lines[$::i-1] !~ /fuzzy/) and $i18n = $lines[$::i+1] } @lines;
+ if ($i18n =~ /^msgstr "(.+)"$/) {
+ $i18n = $1;
+ if ($charset =~ /^utf-8/i) {
+ output("/tmp/create_titles_temp", $i18n);
+ $i18n = `iconv -f UTF8 -t iso-8859-1 /tmp/create_titles_temp 2>/dev/null`;
+ $? and next;
+ }
+ mkdir "title/$poname";
+ create_file("$wd/title-back.png",
+ $font,
+ $i18n,
+ "$wd/title/$poname/title-$k.png");
+ print ".";
+ }
+ }
+ } else {
+ print "- ignoring, charset is not iso-8859-1 or UTF8\n";
+ }
+ print "\n";
+}
+
+Gimp::end();
+
diff --git a/icons/title-back.png b/icons/title-back.png
new file mode 100644
index 00000000..5159301d
--- /dev/null
+++ b/icons/title-back.png
Binary files differ
diff --git a/icons/title-backpart.png b/icons/title-backpart.png
deleted file mode 100644
index 135b8deb..00000000
--- a/icons/title-backpart.png
+++ /dev/null
Binary files differ
diff --git a/icons/title-icon.png b/icons/title-icon.png
new file mode 100644
index 00000000..98dffe77
--- /dev/null
+++ b/icons/title-icon.png
Binary files differ
diff --git a/icons/title-tile.png b/icons/title-tile.png
new file mode 100644
index 00000000..7bbf3649
--- /dev/null
+++ b/icons/title-tile.png
Binary files differ
diff --git a/icons/title/bs/title-install.png b/icons/title/bs/title-install.png
new file mode 100644
index 00000000..aba03bb9
--- /dev/null
+++ b/icons/title/bs/title-install.png
Binary files differ
diff --git a/icons/title/bs/title-remove.png b/icons/title/bs/title-remove.png
new file mode 100644
index 00000000..8d9c2049
--- /dev/null
+++ b/icons/title/bs/title-remove.png
Binary files differ
diff --git a/icons/title/bs/title-update.png b/icons/title/bs/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/bs/title-update.png
Binary files differ
diff --git a/icons/title/cy/title-install.png b/icons/title/cy/title-install.png
new file mode 100644
index 00000000..17c83ee2
--- /dev/null
+++ b/icons/title/cy/title-install.png
Binary files differ
diff --git a/icons/title/cy/title-remove.png b/icons/title/cy/title-remove.png
new file mode 100644
index 00000000..1884f4fe
--- /dev/null
+++ b/icons/title/cy/title-remove.png
Binary files differ
diff --git a/icons/title/cy/title-update.png b/icons/title/cy/title-update.png
new file mode 100644
index 00000000..cda7e54e
--- /dev/null
+++ b/icons/title/cy/title-update.png
Binary files differ
diff --git a/icons/title/da/title-install.png b/icons/title/da/title-install.png
new file mode 100644
index 00000000..c6a7624e
--- /dev/null
+++ b/icons/title/da/title-install.png
Binary files differ
diff --git a/icons/title/da/title-remove.png b/icons/title/da/title-remove.png
new file mode 100644
index 00000000..61f40cea
--- /dev/null
+++ b/icons/title/da/title-remove.png
Binary files differ
diff --git a/icons/title/da/title-update.png b/icons/title/da/title-update.png
new file mode 100644
index 00000000..e071f2f5
--- /dev/null
+++ b/icons/title/da/title-update.png
Binary files differ
diff --git a/icons/title/de/title-install.png b/icons/title/de/title-install.png
new file mode 100644
index 00000000..11719129
--- /dev/null
+++ b/icons/title/de/title-install.png
Binary files differ
diff --git a/icons/title/de/title-remove.png b/icons/title/de/title-remove.png
new file mode 100644
index 00000000..1a02ae82
--- /dev/null
+++ b/icons/title/de/title-remove.png
Binary files differ
diff --git a/icons/title/de/title-update.png b/icons/title/de/title-update.png
new file mode 100644
index 00000000..e52d32b1
--- /dev/null
+++ b/icons/title/de/title-update.png
Binary files differ
diff --git a/icons/title/en/title-install.png b/icons/title/en/title-install.png
new file mode 100644
index 00000000..e383e1d1
--- /dev/null
+++ b/icons/title/en/title-install.png
Binary files differ
diff --git a/icons/title/en/title-remove.png b/icons/title/en/title-remove.png
new file mode 100644
index 00000000..0553c34b
--- /dev/null
+++ b/icons/title/en/title-remove.png
Binary files differ
diff --git a/icons/title/en/title-update.png b/icons/title/en/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/en/title-update.png
Binary files differ
diff --git a/icons/title/es/title-install.png b/icons/title/es/title-install.png
new file mode 100644
index 00000000..98416602
--- /dev/null
+++ b/icons/title/es/title-install.png
Binary files differ
diff --git a/icons/title/es/title-remove.png b/icons/title/es/title-remove.png
new file mode 100644
index 00000000..57d38997
--- /dev/null
+++ b/icons/title/es/title-remove.png
Binary files differ
diff --git a/icons/title/es/title-update.png b/icons/title/es/title-update.png
new file mode 100644
index 00000000..19eaa0b7
--- /dev/null
+++ b/icons/title/es/title-update.png
Binary files differ
diff --git a/icons/title/et/title-install.png b/icons/title/et/title-install.png
new file mode 100644
index 00000000..0114241a
--- /dev/null
+++ b/icons/title/et/title-install.png
Binary files differ
diff --git a/icons/title/et/title-remove.png b/icons/title/et/title-remove.png
new file mode 100644
index 00000000..284ebeb1
--- /dev/null
+++ b/icons/title/et/title-remove.png
Binary files differ
diff --git a/icons/title/et/title-update.png b/icons/title/et/title-update.png
new file mode 100644
index 00000000..abc8c3ba
--- /dev/null
+++ b/icons/title/et/title-update.png
Binary files differ
diff --git a/icons/title/eu/title-install.png b/icons/title/eu/title-install.png
new file mode 100644
index 00000000..8d53b849
--- /dev/null
+++ b/icons/title/eu/title-install.png
Binary files differ
diff --git a/icons/title/eu/title-remove.png b/icons/title/eu/title-remove.png
new file mode 100644
index 00000000..5e1f29e8
--- /dev/null
+++ b/icons/title/eu/title-remove.png
Binary files differ
diff --git a/icons/title/eu/title-update.png b/icons/title/eu/title-update.png
new file mode 100644
index 00000000..e53af360
--- /dev/null
+++ b/icons/title/eu/title-update.png
Binary files differ
diff --git a/icons/title/fr/title-install.png b/icons/title/fr/title-install.png
new file mode 100644
index 00000000..84c25def
--- /dev/null
+++ b/icons/title/fr/title-install.png
Binary files differ
diff --git a/icons/title/fr/title-remove.png b/icons/title/fr/title-remove.png
new file mode 100644
index 00000000..54e2f064
--- /dev/null
+++ b/icons/title/fr/title-remove.png
Binary files differ
diff --git a/icons/title/fr/title-update.png b/icons/title/fr/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/fr/title-update.png
Binary files differ
diff --git a/icons/title/id/title-install.png b/icons/title/id/title-install.png
new file mode 100644
index 00000000..7e156298
--- /dev/null
+++ b/icons/title/id/title-install.png
Binary files differ
diff --git a/icons/title/id/title-remove.png b/icons/title/id/title-remove.png
new file mode 100644
index 00000000..29c31439
--- /dev/null
+++ b/icons/title/id/title-remove.png
Binary files differ
diff --git a/icons/title/id/title-update.png b/icons/title/id/title-update.png
new file mode 100644
index 00000000..9aa7037c
--- /dev/null
+++ b/icons/title/id/title-update.png
Binary files differ
diff --git a/icons/title/it/title-install.png b/icons/title/it/title-install.png
new file mode 100644
index 00000000..51d6d563
--- /dev/null
+++ b/icons/title/it/title-install.png
Binary files differ
diff --git a/icons/title/it/title-remove.png b/icons/title/it/title-remove.png
new file mode 100644
index 00000000..331bb45c
--- /dev/null
+++ b/icons/title/it/title-remove.png
Binary files differ
diff --git a/icons/title/it/title-update.png b/icons/title/it/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/it/title-update.png
Binary files differ
diff --git a/icons/title/mt/title-install.png b/icons/title/mt/title-install.png
new file mode 100644
index 00000000..4ba84ae4
--- /dev/null
+++ b/icons/title/mt/title-install.png
Binary files differ
diff --git a/icons/title/nl/title-install.png b/icons/title/nl/title-install.png
new file mode 100644
index 00000000..5188b72d
--- /dev/null
+++ b/icons/title/nl/title-install.png
Binary files differ
diff --git a/icons/title/nl/title-remove.png b/icons/title/nl/title-remove.png
new file mode 100644
index 00000000..fa6e4f57
--- /dev/null
+++ b/icons/title/nl/title-remove.png
Binary files differ
diff --git a/icons/title/nl/title-update.png b/icons/title/nl/title-update.png
new file mode 100644
index 00000000..839c03ac
--- /dev/null
+++ b/icons/title/nl/title-update.png
Binary files differ
diff --git a/icons/title/no/title-install.png b/icons/title/no/title-install.png
new file mode 100644
index 00000000..e7400572
--- /dev/null
+++ b/icons/title/no/title-install.png
Binary files differ
diff --git a/icons/title/no/title-remove.png b/icons/title/no/title-remove.png
new file mode 100644
index 00000000..f96d050e
--- /dev/null
+++ b/icons/title/no/title-remove.png
Binary files differ
diff --git a/icons/title/no/title-update.png b/icons/title/no/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/no/title-update.png
Binary files differ
diff --git a/icons/title/pt/title-install.png b/icons/title/pt/title-install.png
new file mode 100644
index 00000000..20790aa1
--- /dev/null
+++ b/icons/title/pt/title-install.png
Binary files differ
diff --git a/icons/title/pt/title-remove.png b/icons/title/pt/title-remove.png
new file mode 100644
index 00000000..ceab7ecd
--- /dev/null
+++ b/icons/title/pt/title-remove.png
Binary files differ
diff --git a/icons/title/pt/title-update.png b/icons/title/pt/title-update.png
new file mode 100644
index 00000000..00a91d76
--- /dev/null
+++ b/icons/title/pt/title-update.png
Binary files differ
diff --git a/icons/title/pt_BR/title-install.png b/icons/title/pt_BR/title-install.png
new file mode 100644
index 00000000..2054814f
--- /dev/null
+++ b/icons/title/pt_BR/title-install.png
Binary files differ
diff --git a/icons/title/pt_BR/title-remove.png b/icons/title/pt_BR/title-remove.png
new file mode 100644
index 00000000..75090cb0
--- /dev/null
+++ b/icons/title/pt_BR/title-remove.png
Binary files differ
diff --git a/icons/title/pt_BR/title-update.png b/icons/title/pt_BR/title-update.png
new file mode 100644
index 00000000..194f0c98
--- /dev/null
+++ b/icons/title/pt_BR/title-update.png
Binary files differ
diff --git a/icons/title/sv/title-install.png b/icons/title/sv/title-install.png
new file mode 100644
index 00000000..c98576d1
--- /dev/null
+++ b/icons/title/sv/title-install.png
Binary files differ
diff --git a/icons/title/sv/title-remove.png b/icons/title/sv/title-remove.png
new file mode 100644
index 00000000..99be2b01
--- /dev/null
+++ b/icons/title/sv/title-remove.png
Binary files differ
diff --git a/icons/title/sv/title-update.png b/icons/title/sv/title-update.png
new file mode 100644
index 00000000..e3001145
--- /dev/null
+++ b/icons/title/sv/title-update.png
Binary files differ
diff --git a/icons/title/tr/title-update.png b/icons/title/tr/title-update.png
new file mode 100644
index 00000000..62856fd9
--- /dev/null
+++ b/icons/title/tr/title-update.png
Binary files differ
diff --git a/icons/title/wa/title-install.png b/icons/title/wa/title-install.png
new file mode 100644
index 00000000..34dd8446
--- /dev/null
+++ b/icons/title/wa/title-install.png
Binary files differ
diff --git a/icons/title/wa/title-remove.png b/icons/title/wa/title-remove.png
new file mode 100644
index 00000000..783c73e1
--- /dev/null
+++ b/icons/title/wa/title-remove.png
Binary files differ