summaryrefslogtreecommitdiff
path: root/AllLangPackage_html_media_lang.mk
blob: 11a889549d9c4d4831d763fbc8d09f67f61dcbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

# Language-specific parts of the help/media/ sub-tree.  All language-specific content from
# $(SRCDIR)/helpcontent2/source/media/ must be listed here.  Content that is present in $(SRCDIR)
# for all languages in some set of languages can be handled with a foreach (like the screenshots
# present for all languages in $(completelangiso) below).  More irregular content that is present in
# $(SRCDIR) only for some languages is handled with the individual per-language blocks.

$(eval $(call gb_AllLangPackage_AllLangPackage,helpcontent2_html_media_lang,$(SRCDIR)/helpcontent2/source/media))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,bg,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/bg/feldalle.png \
    helpimg/bg/feldbrei.png \
    helpimg/bg/feldcolo.png \
    helpimg/bg/names_as_addressing.png \
    helpimg/bg/sheettabs.png \
    helpimg/bg/swh00117.png \
    helpimg/bg/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,cs,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/cs/feldalle.png \
    helpimg/cs/feldbrei.png \
    helpimg/cs/feldcolo.png \
    helpimg/cs/names_as_addressing.png \
    helpimg/cs/sheettabs.png \
    helpimg/cs/swh00117.png \
    helpimg/cs/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,da,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/da/feldalle.png \
    helpimg/da/feldbrei.png \
    helpimg/da/feldcolo.png \
    helpimg/da/names_as_addressing.png \
    helpimg/da/sheettabs.png \
    helpimg/da/swh00117.png \
    helpimg/da/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,de,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/de/feldalle.png \
    helpimg/de/feldcolo.png \
    helpimg/de/names_as_addressing.png \
    helpimg/de/sheettabs.png \
    helpimg/de/swh00117.png \
    helpimg/de/zellvor.png \
))

#TODO: Content for en-US is probably an error here; it should likely be part of the language-
# independent helpcontent2/Package_html_media.mk instead:
$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,en-US,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    screenshots/modules/swriter/ui/exportepub/en-US/EPubDialog.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,es,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/es/feldalle.png \
    helpimg/es/feldcolo.png \
    helpimg/es/names_as_addressing.png \
    helpimg/es/sheettabs.png \
    helpimg/es/swh00117.png \
    helpimg/es/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,et,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/et/feldalle.png \
    helpimg/et/feldbrei.png \
    helpimg/et/feldcolo.png \
    helpimg/et/names_as_addressing.png \
    helpimg/et/sheettabs.png \
    helpimg/et/swh00117.png \
    helpimg/et/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,fr,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    files/scalc/fr/pivot.ods \
    helpimg/fr/feldalle.png \
    helpimg/fr/feldbrei.png \
    helpimg/fr/feldcolo.png \
    helpimg/fr/names_as_addressing.png \
    helpimg/fr/sheettabs.png \
    helpimg/fr/swh00117.png \
    helpimg/fr/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,hu,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/hu/feldalle.png \
    helpimg/hu/feldbrei.png \
    helpimg/hu/feldcolo.png \
    helpimg/hu/names_as_addressing.png \
    helpimg/hu/sheettabs.png \
    helpimg/hu/swh00117.png \
    helpimg/hu/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,it,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/it/feldalle.png \
    helpimg/it/feldbrei.png \
    helpimg/it/feldcolo.png \
    helpimg/it/names_as_addressing.png \
    helpimg/it/sheettabs.png \
    helpimg/it/swh00117.png \
    helpimg/it/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,ja,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/ja/feldalle.png \
    helpimg/ja/feldbrei.png \
    helpimg/ja/feldcolo.png \
    helpimg/ja/names_as_addressing.png \
    helpimg/ja/sheettabs.png \
    helpimg/ja/swh00055.png \
    helpimg/ja/swh00117.png \
    helpimg/ja/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,km,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/km/feldcolo.png \
    helpimg/km/names_as_addressing.png \
    helpimg/km/sheettabs.png \
    helpimg/km/swh00117.png \
    helpimg/km/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,ko,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/ko/feldalle.png \
    helpimg/ko/feldbrei.png \
    helpimg/ko/feldcolo.png \
    helpimg/ko/names_as_addressing.png \
    helpimg/ko/sheettabs.png \
    helpimg/ko/swh00055.png \
    helpimg/ko/swh00117.png \
    helpimg/ko/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pl,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/pl/feldalle.png \
    helpimg/pl/feldbrei.png \
    helpimg/pl/feldcolo.png \
    helpimg/pl/names_as_addressing.png \
    helpimg/pl/sheettabs.png \
    helpimg/pl/swh00117.png \
    helpimg/pl/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pt,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/pt/feldalle.png \
    helpimg/pt/feldbrei.png \
    helpimg/pt/feldcolo.png \
    helpimg/pt/names_as_addressing.png \
    helpimg/pt/sheettabs.png \
    helpimg/pt/swh00117.png \
    helpimg/pt/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pt-BR,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/pt-BR/feldalle.png \
    helpimg/pt-BR/feldbrei.png \
    helpimg/pt-BR/feldcolo.png \
    helpimg/pt-BR/names_as_addressing.png \
    helpimg/pt-BR/sheettabs.png \
    helpimg/pt-BR/swh00117.png \
    helpimg/pt-BR/zellvor.png \
    screenshots/modules/swriter/ui/exportepub/pt-BR/EPubDialog.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sk,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/sk/feldalle.png \
    helpimg/sk/feldbrei.png \
    helpimg/sk/feldcolo.png \
    helpimg/sk/names_as_addressing.png \
    helpimg/sk/sheettabs.png \
    helpimg/sk/swh00117.png \
    helpimg/sk/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sl,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/sl/feldalle.png \
    helpimg/sl/feldbrei.png \
    helpimg/sl/feldcolo.png \
    helpimg/sl/names_as_addressing.png \
    helpimg/sl/sheettabs.png \
    helpimg/sl/swh00117.png \
    helpimg/sl/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sv,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/sv/feldalle.png \
    helpimg/sv/feldbrei.png \
    helpimg/sv/feldcolo.png \
    helpimg/sv/names_as_addressing.png \
    helpimg/sv/sheettabs.png \
    helpimg/sv/swh00117.png \
    helpimg/sv/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,tr,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/tr/feldalle.png \
    helpimg/tr/feldbrei.png \
    helpimg/tr/feldcolo.png \
    helpimg/tr/names_as_addressing.png \
    helpimg/tr/sheettabs.png \
    helpimg/tr/swh00117.png \
    helpimg/tr/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,zh-CN,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/zh-CN/feldalle.png \
    helpimg/zh-CN/feldbrei.png \
    helpimg/zh-CN/feldcolo.png \
    helpimg/zh-CN/names_as_addressing.png \
    helpimg/zh-CN/sheettabs.png \
    helpimg/zh-CN/swh00055.png \
    helpimg/zh-CN/swh00117.png \
    helpimg/zh-CN/zellvor.png \
))

$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,zh-TW,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    helpimg/zh-TW/feldalle.png \
    helpimg/zh-TW/feldbrei.png \
    helpimg/zh-TW/feldcolo.png \
    helpimg/zh-TW/names_as_addressing.png \
    helpimg/zh-TW/sheettabs.png \
    helpimg/zh-TW/swh00055.png \
    helpimg/zh-TW/swh00117.png \
    helpimg/zh-TW/zellvor.png \
))


$(foreach lang,$(filter-out en-US,$(gb_HELP_LANGS)),$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,$(lang),$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    screenshots/modules/smath/ui/alignmentdialog/$(lang)/AlignmentDialog.png \
    screenshots/modules/smath/ui/catalogdialog/$(lang)/CatalogDialog.png \
    screenshots/modules/smath/ui/fontdialog/$(lang)/FontDialog.png \
    screenshots/modules/smath/ui/fontsizedialog/$(lang)/FontSizeDialog.png \
    screenshots/modules/smath/ui/fonttypedialog/$(lang)/FontsDialog.png \
    screenshots/modules/smath/ui/savedefaultsdialog/$(lang)/SaveDefaultsDialog.png \
    screenshots/modules/smath/ui/spacingdialog/$(lang)/SpacingDialog.png \
    screenshots/modules/smath/ui/symdefinedialog/$(lang)/EditSymbols.png \
    screenshots/svx/ui/compressgraphicdialog/$(lang)/CompressGraphicDialog.png \
)))
#TODO: Find a clever way to pick en-US files (default) when localized files are missing
# 
$(foreach lang,$(filter-out en-US,$(gb_HELP_LANGS)),$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,$(lang),$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
    files/scalc/$(lang)/imtrigon.ods \
    files/scalc/$(lang)/trigon.ods \
    files/scalc/$(lang)/pivot.ods \
    files/scalc/$(lang)/functions_ifs.ods \
)))
# vim: set noet sw=4 ts=4: