Mercurial > pidgin.yaz
annotate po/Makefile.mingw @ 13363:ef5287de40b5
[gaim-migrate @ 15736]
Emil Nowak pointed out that the names of other IM clients shouldn't be marked for translation. I did some checking and it seems the creators of those clients don't translate the names. I thought perhaps MSN Messenger would be, for example. Also, I noticed that the logout notifications should be reworded to match the string we use now in the buddy state notification plugin. This reuses an existing string, so it doesn't break the string freeze. I really need to get back to work on this plugin.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 01 Mar 2006 07:17:39 +0000 |
parents | 6dcfec6f2f7c |
children | 8793fc8f7064 |
rev | line source |
---|---|
3630 | 1 # Makefile.mingw |
2 # | |
3 # Description: Makefile to generate mo files | |
4 # | |
5 | |
6 PACKAGE = gaim | |
7 | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
8 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
9 ## PATHS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
10 ## |
3630 | 11 |
12 srcdir = . | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
13 GAIM_TOP = .. |
3630 | 14 GAIM_INSTALL_DIR = ../win32-install-dir |
15 LOCALEDIR = $(GAIM_INSTALL_DIR)/locale | |
16 GTK_BIN = ../../win32-dev/gtk_2_0/bin | |
3714
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
18 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
19 ## TOOLS |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
20 ## |
380b043a4a1c
[gaim-migrate @ 3847]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
21 |
10804 | 22 GMSGFMT := $(GTK_BIN)/msgfmt |
3630 | 23 |
24 | |
25 .SUFFIXES: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
26 .SUFFIXES: .po .gmo |
3630 | 27 |
28 | |
29 ## | |
30 ## SOURCES, OBJECTS | |
31 ## | |
32 | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
33 CATALOGS = $(patsubst %.po,%.gmo,$(wildcard *.po)) |
3630 | 34 |
35 ## | |
36 ## RULES | |
37 ## | |
38 | |
39 .po.gmo: | |
40 rm -f $@ && $(GMSGFMT) --statistics -o $@ $< | |
41 | |
42 | |
43 ## | |
44 ## TARGETS | |
45 ## | |
46 | |
47 | |
48 all: $(CATALOGS) | |
49 | |
50 install: all | |
51 mkdir -p $(LOCALEDIR) | |
52 @catalogs='$(CATALOGS)'; \ | |
53 for cat in $$catalogs; do \ | |
54 cat=`basename $$cat`; \ | |
55 lang=`echo $$cat | sed 's/\.gmo$$//'`; \ | |
56 dir=$(LOCALEDIR)/$$lang/LC_MESSAGES; \ | |
57 mkdir -p $$dir; \ | |
58 if test -r $$cat; then \ | |
59 cp $$cat $$dir/$(PACKAGE).mo; \ | |
60 echo "installing $$cat as $$dir/$(PACKAGE).mo"; \ | |
61 else \ | |
62 cp $(srcdir)/$$cat $$dir/$(PACKAGE).mo; \ | |
63 echo "installing $(srcdir)/$$cat as" \ | |
64 "$$dir/$(PACKAGE).mo"; \ | |
65 fi; \ | |
66 done | |
67 | |
68 clean: | |
6221
580070695352
[gaim-migrate @ 6708]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3714
diff
changeset
|
69 rm -f *.gmo |