1# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
2#
3# This file is part of the LibreOffice project.
4#
5# This Source Code Form is subject to the terms of the Mozilla Public
6# License, v. 2.0. If a copy of the MPL was not distributed with this
7# file, You can obtain one at http://mozilla.org/MPL/2.0/.
8#
9
10# Language-specific parts of the help/media/ sub-tree.  All language-specific content from
11# $(SRCDIR)/helpcontent2/source/media/ must be listed here.  Content that is present in $(SRCDIR)
12# for all languages in some set of languages can be handled with a foreach (like the screenshots
13# present for all languages in $(completelangiso) below).  More irregular content that is present in
14# $(SRCDIR) only for some languages is handled with the individual per-language blocks.
15
16$(eval $(call gb_AllLangPackage_AllLangPackage,helpcontent2_html_media_lang,$(SRCDIR)/helpcontent2/source/media))
17
18$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,bg,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
19    helpimg/bg/feldalle.png \
20    helpimg/bg/feldbrei.png \
21    helpimg/bg/feldcolo.png \
22    helpimg/bg/names_as_addressing.png \
23    helpimg/bg/sheettabs.png \
24    helpimg/bg/swh00117.png \
25    helpimg/bg/zellvor.png \
26))
27
28$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,cs,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
29    helpimg/cs/feldalle.png \
30    helpimg/cs/feldbrei.png \
31    helpimg/cs/feldcolo.png \
32    helpimg/cs/names_as_addressing.png \
33    helpimg/cs/sheettabs.png \
34    helpimg/cs/swh00117.png \
35    helpimg/cs/zellvor.png \
36))
37
38$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,da,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
39    helpimg/da/feldalle.png \
40    helpimg/da/feldbrei.png \
41    helpimg/da/feldcolo.png \
42    helpimg/da/names_as_addressing.png \
43    helpimg/da/sheettabs.png \
44    helpimg/da/swh00117.png \
45    helpimg/da/zellvor.png \
46))
47
48$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,de,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
49    helpimg/de/feldalle.png \
50    helpimg/de/feldcolo.png \
51    helpimg/de/names_as_addressing.png \
52    helpimg/de/sheettabs.png \
53    helpimg/de/swh00117.png \
54    helpimg/de/zellvor.png \
55))
56
57$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,es,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
58    helpimg/es/feldalle.png \
59    helpimg/es/feldcolo.png \
60    helpimg/es/names_as_addressing.png \
61    helpimg/es/sheettabs.png \
62    helpimg/es/swh00117.png \
63    helpimg/es/zellvor.png \
64))
65
66$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,et,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
67    helpimg/et/feldalle.png \
68    helpimg/et/feldbrei.png \
69    helpimg/et/feldcolo.png \
70    helpimg/et/names_as_addressing.png \
71    helpimg/et/sheettabs.png \
72    helpimg/et/swh00117.png \
73    helpimg/et/zellvor.png \
74))
75
76$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,fr,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
77    files/scalc/fr/pivot.ods \
78    helpimg/fr/feldalle.png \
79    helpimg/fr/feldbrei.png \
80    helpimg/fr/feldcolo.png \
81    helpimg/fr/names_as_addressing.png \
82    helpimg/fr/sheettabs.png \
83    helpimg/fr/swh00117.png \
84    helpimg/fr/zellvor.png \
85))
86
87$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,hu,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
88    helpimg/hu/feldalle.png \
89    helpimg/hu/feldbrei.png \
90    helpimg/hu/feldcolo.png \
91    helpimg/hu/names_as_addressing.png \
92    helpimg/hu/sheettabs.png \
93    helpimg/hu/swh00117.png \
94    helpimg/hu/zellvor.png \
95))
96
97$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,it,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
98    helpimg/it/feldalle.png \
99    helpimg/it/feldbrei.png \
100    helpimg/it/feldcolo.png \
101    helpimg/it/names_as_addressing.png \
102    helpimg/it/sheettabs.png \
103    helpimg/it/swh00117.png \
104    helpimg/it/zellvor.png \
105))
106
107$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,ja,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
108    helpimg/ja/feldalle.png \
109    helpimg/ja/feldbrei.png \
110    helpimg/ja/feldcolo.png \
111    helpimg/ja/names_as_addressing.png \
112    helpimg/ja/sheettabs.png \
113    helpimg/ja/swh00055.png \
114    helpimg/ja/swh00117.png \
115    helpimg/ja/zellvor.png \
116))
117
118$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,km,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
119    helpimg/km/feldcolo.png \
120    helpimg/km/names_as_addressing.png \
121    helpimg/km/sheettabs.png \
122    helpimg/km/swh00117.png \
123    helpimg/km/zellvor.png \
124))
125
126$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,ko,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
127    helpimg/ko/feldalle.png \
128    helpimg/ko/feldbrei.png \
129    helpimg/ko/feldcolo.png \
130    helpimg/ko/names_as_addressing.png \
131    helpimg/ko/sheettabs.png \
132    helpimg/ko/swh00055.png \
133    helpimg/ko/swh00117.png \
134    helpimg/ko/zellvor.png \
135))
136
137$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pl,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
138    helpimg/pl/feldalle.png \
139    helpimg/pl/feldbrei.png \
140    helpimg/pl/feldcolo.png \
141    helpimg/pl/names_as_addressing.png \
142    helpimg/pl/sheettabs.png \
143    helpimg/pl/swh00117.png \
144    helpimg/pl/zellvor.png \
145))
146
147$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pt,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
148    helpimg/pt/feldalle.png \
149    helpimg/pt/feldbrei.png \
150    helpimg/pt/feldcolo.png \
151    helpimg/pt/names_as_addressing.png \
152    helpimg/pt/sheettabs.png \
153    helpimg/pt/swh00117.png \
154    helpimg/pt/zellvor.png \
155))
156
157$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,pt-BR,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
158    helpimg/pt-BR/feldalle.png \
159    helpimg/pt-BR/feldbrei.png \
160    helpimg/pt-BR/feldcolo.png \
161    helpimg/pt-BR/names_as_addressing.png \
162    helpimg/pt-BR/sheettabs.png \
163    helpimg/pt-BR/swh00117.png \
164    helpimg/pt-BR/zellvor.png \
165))
166
167$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sk,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
168    helpimg/sk/feldalle.png \
169    helpimg/sk/feldbrei.png \
170    helpimg/sk/feldcolo.png \
171    helpimg/sk/names_as_addressing.png \
172    helpimg/sk/sheettabs.png \
173    helpimg/sk/swh00117.png \
174    helpimg/sk/zellvor.png \
175))
176
177$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sl,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
178    helpimg/sl/feldalle.png \
179    helpimg/sl/feldbrei.png \
180    helpimg/sl/feldcolo.png \
181    helpimg/sl/names_as_addressing.png \
182    helpimg/sl/sheettabs.png \
183    helpimg/sl/swh00117.png \
184    helpimg/sl/zellvor.png \
185))
186
187$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,sv,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
188    helpimg/sv/feldalle.png \
189    helpimg/sv/feldbrei.png \
190    helpimg/sv/feldcolo.png \
191    helpimg/sv/names_as_addressing.png \
192    helpimg/sv/sheettabs.png \
193    helpimg/sv/swh00117.png \
194    helpimg/sv/zellvor.png \
195))
196
197$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,tr,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
198    helpimg/tr/feldalle.png \
199    helpimg/tr/feldbrei.png \
200    helpimg/tr/feldcolo.png \
201    helpimg/tr/names_as_addressing.png \
202    helpimg/tr/sheettabs.png \
203    helpimg/tr/swh00117.png \
204    helpimg/tr/zellvor.png \
205))
206
207$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,zh-CN,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
208    helpimg/zh-CN/feldalle.png \
209    helpimg/zh-CN/feldbrei.png \
210    helpimg/zh-CN/feldcolo.png \
211    helpimg/zh-CN/names_as_addressing.png \
212    helpimg/zh-CN/sheettabs.png \
213    helpimg/zh-CN/swh00055.png \
214    helpimg/zh-CN/swh00117.png \
215    helpimg/zh-CN/zellvor.png \
216))
217
218$(eval $(call gb_AllLangPackage_add_files_for_lang,helpcontent2_html_media_lang,zh-TW,$(LIBO_SHARE_HELP_FOLDER)$(if $(HELP_ONLINE),/$(PRODUCTVERSION))/media, \
219    helpimg/zh-TW/feldalle.png \
220    helpimg/zh-TW/feldbrei.png \
221    helpimg/zh-TW/feldcolo.png \
222    helpimg/zh-TW/names_as_addressing.png \
223    helpimg/zh-TW/sheettabs.png \
224    helpimg/zh-TW/swh00055.png \
225    helpimg/zh-TW/swh00117.png \
226    helpimg/zh-TW/zellvor.png \
227))
228
229
230$(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, \
231    screenshots/modules/smath/ui/alignmentdialog/$(lang)/AlignmentDialog.png \
232    screenshots/modules/smath/ui/fontdialog/$(lang)/FontDialog.png \
233    screenshots/modules/smath/ui/fontsizedialog/$(lang)/FontSizeDialog.png \
234    screenshots/modules/smath/ui/fonttypedialog/$(lang)/FontsDialog.png \
235    screenshots/modules/smath/ui/savedefaultsdialog/$(lang)/SaveDefaultsDialog.png \
236    screenshots/modules/smath/ui/spacingdialog/$(lang)/SpacingDialog.png \
237    screenshots/svx/ui/compressgraphicdialog/$(lang)/CompressGraphicDialog.png \
238    screenshots/miscellaneous/impressremote/ui/image01/$(lang)/impress_remote01.png \
239    screenshots/miscellaneous/impressremote/ui/image02/$(lang)/impress_remote02.png \
240    screenshots/modules/scalc/ui/xmlsourcedialog/$(lang)/XMLSourceDialog.png \
241    screenshots/modules/simpress/ui/optimpressgeneralpage/$(lang)/OptSavePage.png \
242    screenshots/modules/simpress/ui/sdviewpage/$(lang)/SdViewPage.png \
243    screenshots/modules/simpress/ui/prntopts/$(lang)/prntopts.png \
244    screenshots/modules/simpress/ui/photoalbum/$(lang)/PhotoAlbumCreatorDialog.png \
245    screenshots/modules/simpress/ui/presentationdialog/$(lang)/PresentationDialog.png \
246    screenshots/modules/simpress/ui/slidedesigndialog/$(lang)/SlideDesignDialog.png \
247    screenshots/modules/simpress/ui/headerfooterdialog/$(lang)/HeaderFooterDialog.png \
248    screenshots/modules/simpress/ui/masterlayoutdlg/$(lang)/MasterLayoutDialog.png \
249    screenshots/modules/simpress/ui/customslideshows/$(lang)/CustomSlideShows.png \
250    screenshots/modules/simpress/ui/definecustomslideshow/$(lang)/DefineCustomSlideShow.png \
251    screenshots/modules/simpress/ui/customanimationeffecttab/$(lang)/EffectTab.png \
252    screenshots/modules/simpress/ui/customanimationtexttab/$(lang)/TextAnimationTab.png \
253    screenshots/modules/simpress/ui/customanimationtimingtab/$(lang)/TimingTab.png \
254    screenshots/writerperfect/ui/exportepub/$(lang)/EpubDialog.png \
255    screenshots/cui/ui/colorpickerdialog/$(lang)/ColorPicker.png \
256    screenshots/cui/ui/colorpage/$(lang)/ColorPage.png \
257    screenshots/cui/ui/effectspage/$(lang)/EffectsPage.png \
258    screenshots/cui/ui/hyperlinkdocpage/$(lang)/HyperlinkDocPage.png \
259    screenshots/cui/ui/hyperlinkinternetpage/$(lang)/HyperlinkInternetPage.png \
260    screenshots/cui/ui/hyperlinkmailpage/$(lang)/HyperlinkMailPage.png \
261    screenshots/cui/ui/hyperlinknewdocpage/$(lang)/HyperlinkNewDocPage.png \
262    screenshots/cui/ui/optviewpage/$(lang)/OptViewPage.png \
263    screenshots/cui/ui/optfltrpage/$(lang)/OptFltrPage.png \
264    screenshots/cui/ui/opthtmlpage/$(lang)/OptHtmlPage.png \
265    screenshots/cui/ui/optaccessibilitypage/$(lang)/OptAccessibilityPage.png \
266    screenshots/cui/ui/optsavepage/$(lang)/OptSavePage.png \
267    screenshots/cui/ui/optadvancedpage/$(lang)/OptAdvancedPage.png \
268    screenshots/cui/ui/optasianpage/$(lang)/OptAsianPage.png \
269    screenshots/cui/ui/optctlpage/$(lang)/OptCTLPage.png \
270    screenshots/cui/ui/optsecuritypage/$(lang)/OptSecurityPage.png \
271    screenshots/cui/ui/optlanguagespage/$(lang)/OptLanguagesPage.png \
272    screenshots/cui/ui/optgeneralpage/$(lang)/OptGeneralPage.png \
273    screenshots/cui/ui/pageformatpage/$(lang)/PageFormatPage.png \
274    screenshots/cui/ui/slantcornertabpage/$(lang)/SlantAndCornerRadius.png \
275    screenshots/filter/ui/pdfgeneralpage/$(lang)/PdfGeneralPage.png \
276    screenshots/filter/ui/pdflinkspage/$(lang)/PdfLinksPage.png \
277    screenshots/filter/ui/pdfviewpage/$(lang)/PdfViewPage.png \
278    screenshots/filter/ui/pdfuserinterfacepage/$(lang)/PdfUserInterfacePage.png \
279    screenshots/filter/ui/pdfsignpage/$(lang)/PdfSignPage.png \
280    screenshots/filter/ui/pdfsecuritypage/$(lang)/PdfSecurityPage.png \
281)))
282#TODO: Find a clever way to pick en-US files (default) when localized files are missing
283#
284$(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, \
285    files/scalc/$(lang)/imtrigon.ods \
286    files/scalc/$(lang)/trigon.ods \
287    files/scalc/$(lang)/pivot.ods \
288    files/scalc/$(lang)/functions_ifs.ods \
289    files/scalc/$(lang)/function_fourier.ods \
290)))
291# vim: set noet sw=4 ts=4:
292