Warning, /documentation/digikam-doc/locale/zh_CN/LC_MESSAGES/post_processing/html_gallery.po is written in an unsupported language. File is not indexed.
0001 msgid "" 0002 msgstr "" 0003 "Project-Id-Version: kdeorg\n" 0004 "Report-Msgid-Bugs-To: \n" 0005 "POT-Creation-Date: 2023-12-02 00:35+0000\n" 0006 "PO-Revision-Date: 2024-02-05 11:41\n" 0007 "Last-Translator: \n" 0008 "Language-Team: Chinese Simplified\n" 0009 "Language: zh_CN\n" 0010 "MIME-Version: 1.0\n" 0011 "Content-Type: text/plain; charset=UTF-8\n" 0012 "Content-Transfer-Encoding: 8bit\n" 0013 "Plural-Forms: nplurals=1; plural=0;\n" 0014 "X-Crowdin-Project: kdeorg\n" 0015 "X-Crowdin-Project-ID: 269464\n" 0016 "X-Crowdin-Language: zh-CN\n" 0017 "X-Crowdin-File: /kf5-trunk/messages/digikam-doc/" 0018 "docs_digikam_org_post_processing___html_gallery.pot\n" 0019 "X-Crowdin-File-ID: 41365\n" 0020 0021 #: ../../post_processing/html_gallery.rst:1 0022 msgid "The digiKam HTML Gallery" 0023 msgstr "" 0024 0025 #: ../../post_processing/html_gallery.rst:1 0026 msgid "" 0027 "digiKam, documentation, user manual, photo management, open source, free, " 0028 "learn, easy, html, gallery" 0029 msgstr "" 0030 0031 #: ../../post_processing/html_gallery.rst:14 0032 msgid "HTML Gallery" 0033 msgstr "" 0034 0035 #: ../../post_processing/html_gallery.rst:16 0036 msgid "Contents" 0037 msgstr "" 0038 0039 #: ../../post_processing/html_gallery.rst:19 0040 msgid "Overview" 0041 msgstr "" 0042 0043 #: ../../post_processing/html_gallery.rst:21 0044 msgid "" 0045 "The HTML Gallery is a tool for exporting a set of Albums or images to a HTML " 0046 "page." 0047 msgstr "" 0048 0049 #: ../../post_processing/html_gallery.rst:23 0050 msgid "" 0051 "This powerful tool can export your Albums into a HTML compliant web image " 0052 "gallery. You can easily select the Images or the Albums to export in an HTML " 0053 "page and set many designs and parameters for the HTML rendering. UTF-8 " 0054 "encoding is used for the best internationalization." 0055 msgstr "" 0056 0057 #: ../../post_processing/html_gallery.rst:26 0058 msgid "Using the Wizard" 0059 msgstr "" 0060 0061 #: ../../post_processing/html_gallery.rst:32 0062 msgid "The HTML Gallery Page Selection Mode" 0063 msgstr "" 0064 0065 #: ../../post_processing/html_gallery.rst:34 0066 msgid "" 0067 "To launch the tool, uses :menuselection:`Tools --> Create Html gallery` :kbd:" 0068 "`Ctrl+Alt+Shift+H` menu entry, or the corresponding icon from the **Tools** " 0069 "tab in Right Sidebar. The tool will displays a view to select the contents " 0070 "to export: from current items selection, or from a list of albums. The " 0071 "**Albums** selection mode allows you to select items from Albums that you " 0072 "want to export to HTML. Just check the respective Albums displayed with " 0073 "hierarchical nesting. On the next three tabs **Tags**, **Searches**, and " 0074 "**Labels** you can refine your selection using tags, labels, or previous " 0075 "search results in digiKam." 0076 msgstr "" 0077 0078 #: ../../post_processing/html_gallery.rst:40 0079 msgid "The HTML Gallery Page to Select Items" 0080 msgstr "" 0081 0082 #: ../../post_processing/html_gallery.rst:42 0083 msgid "Next step is to select a **Theme** to generate the gallery." 0084 msgstr "" 0085 0086 #: ../../post_processing/html_gallery.rst:48 0087 msgid "The HTML Gallery Page to Select Theme" 0088 msgstr "" 0089 0090 #: ../../post_processing/html_gallery.rst:50 0091 msgid "" 0092 "Depending on the chosen theme you may have additional options to fine-tune " 0093 "the appearance of the gallery." 0094 msgstr "" 0095 0096 #: ../../post_processing/html_gallery.rst:52 0097 msgid "" 0098 "The next screenshot shows the theme parameters configuration (here the " 0099 "**Classic** theme for example)." 0100 msgstr "" 0101 0102 #: ../../post_processing/html_gallery.rst:58 0103 msgid "The HTML Gallery Page to Tune Theme Parameters" 0104 msgstr "" 0105 0106 #: ../../post_processing/html_gallery.rst:60 0107 msgid "" 0108 "For all selected themes you can adjust the settings for the images and " 0109 "thumbnails in the gallery." 0110 msgstr "" 0111 0112 #: ../../post_processing/html_gallery.rst:66 0113 msgid "The HTML Gallery Page to Tune Images and Thumbnail Properties" 0114 msgstr "" 0115 0116 #: ../../post_processing/html_gallery.rst:68 0117 msgid "" 0118 "In the Full Image section you can either save modified images or Use " 0119 "original image." 0120 msgstr "" 0121 0122 #: ../../post_processing/html_gallery.rst:70 0123 msgid "" 0124 "For modified images you can select as output format JPEG (smallest file-" 0125 "size, but lossy) and PNG (lossless and free license) and set specific image " 0126 "compression features. If disk space is of concern check the target image " 0127 "compression and lower the compression level from the host application " 0128 "default value." 0129 msgstr "" 0130 0131 #: ../../post_processing/html_gallery.rst:72 0132 msgid "" 0133 "Checking the Max. size box you can fix the maximum target image size (in " 0134 "pixels) with the spin-box at the right. Images bigger than this value will " 0135 "be scaled down to it, but smaller images will not be modified." 0136 msgstr "" 0137 0138 #: ../../post_processing/html_gallery.rst:76 0139 msgid "" 0140 "If JPEG file format is selected for target resizing images, all Exif " 0141 "information will be preserved from the original JPEG files." 0142 msgstr "" 0143 0144 #: ../../post_processing/html_gallery.rst:78 0145 msgid "" 0146 "The Thumbnails section allows to set the Format, Quality and Size for the " 0147 "thumbnails in the gallery." 0148 msgstr "" 0149 0150 #: ../../post_processing/html_gallery.rst:84 0151 msgid "The HTML Gallery Page to Configure the Output" 0152 msgstr "" 0153 0154 #: ../../post_processing/html_gallery.rst:86 0155 msgid "" 0156 "This page defines the settings of where and how to store the gallery with " 0157 "all its associated images. Select a folder or add a new folder with write " 0158 "access where you want the gallery to be written to. Two sub-folders with the " 0159 "name of your album folder and the theme name will be created containing " 0160 "everything." 0161 msgstr "" 0162 0163 #: ../../post_processing/html_gallery.rst:88 0164 msgid "" 0165 "A progress dialog giving a feedback indicate to user. Press Cancel button " 0166 "during this stage if you want abort the process." 0167 msgstr "" 0168 0169 #: ../../post_processing/html_gallery.rst:94 0170 msgid "The HTML Gallery Page to Show Progress While Generating the Gallery" 0171 msgstr "" 0172 0173 #: ../../post_processing/html_gallery.rst:96 0174 msgid "Finally, the HTML gallery generated is displayed in a browser." 0175 msgstr "" 0176 0177 #: ../../post_processing/html_gallery.rst:102 0178 msgid "The Browser Displaying the HTML Gallery at end" 0179 msgstr "" 0180 0181 #: ../../post_processing/html_gallery.rst:107 0182 msgid "Creating a New Theme" 0183 msgstr "" 0184 0185 #: ../../post_processing/html_gallery.rst:109 0186 msgid "" 0187 "The HTML Gallery tool can easily be themed to produce very different sites. " 0188 "This chapter explains how to create themes." 0189 msgstr "" 0190 0191 #: ../../post_processing/html_gallery.rst:112 0192 msgid "Getting Started" 0193 msgstr "" 0194 0195 #: ../../post_processing/html_gallery.rst:114 0196 msgid "A theme is a folder which contains at least two files:" 0197 msgstr "" 0198 0199 #: ../../post_processing/html_gallery.rst:116 0200 msgid "A **Desktop file** describing the theme." 0201 msgstr "" 0202 0203 #: ../../post_processing/html_gallery.rst:117 0204 msgid "A :file:`template.xsl` file to generate the HTML files." 0205 msgstr "" 0206 0207 #: ../../post_processing/html_gallery.rst:119 0208 msgid "When the tool is running, it does the following:" 0209 msgstr "" 0210 0211 #: ../../post_processing/html_gallery.rst:121 0212 msgid "Create an output folder." 0213 msgstr "" 0214 0215 #: ../../post_processing/html_gallery.rst:122 0216 msgid "For each image collection:" 0217 msgstr "" 0218 0219 #: ../../post_processing/html_gallery.rst:124 0220 msgid "Create a folder." 0221 msgstr "" 0222 0223 #: ../../post_processing/html_gallery.rst:125 0224 msgid "Generate thumbnails (square by default)." 0225 msgstr "" 0226 0227 #: ../../post_processing/html_gallery.rst:126 0228 msgid "Generate full images." 0229 msgstr "" 0230 0231 #: ../../post_processing/html_gallery.rst:127 0232 msgid "Optionally copy original images." 0233 msgstr "" 0234 0235 #: ../../post_processing/html_gallery.rst:129 0236 msgid "Copy the theme folder to the output folder." 0237 msgstr "" 0238 0239 #: ../../post_processing/html_gallery.rst:130 0240 msgid "" 0241 "Generate an XML file describing the image collections: :file:`gallery.xml`." 0242 msgstr "" 0243 0244 #: ../../post_processing/html_gallery.rst:131 0245 msgid "" 0246 "Generate the HTML files by applying :file:`template.xsl` to :file:`gallery." 0247 "xml`." 0248 msgstr "" 0249 0250 #: ../../post_processing/html_gallery.rst:134 0251 msgid "The Desktop File" 0252 msgstr "" 0253 0254 #: ../../post_processing/html_gallery.rst:136 0255 msgid "" 0256 "The desktop file describes the theme. The information it contains is used in " 0257 "the theme selection page of the tool." 0258 msgstr "" 0259 0260 #: ../../post_processing/html_gallery.rst:138 0261 msgid "It's an **INI** file and it looks like this:" 0262 msgstr "" 0263 0264 #: ../../post_processing/html_gallery.rst:155 0265 msgid "" 0266 "A desktop file format is used to facilitate entry translations. If you look " 0267 "at the desktop file for one of the themes shipped with the tool, you will " 0268 "find something like this:" 0269 msgstr "" 0270 0271 #: ../../post_processing/html_gallery.rst:167 0272 msgid "" 0273 "The nice thing is that when your theme get integrated into HTML Gallery " 0274 "default themes, translators will internationalize the desktop file for you." 0275 msgstr "" 0276 0277 #: ../../post_processing/html_gallery.rst:169 0278 msgid "" 0279 "The **image preview** file used to illustrate the Theme in the wizard will " 0280 "be placed in the root theme folder." 0281 msgstr "" 0282 0283 #: ../../post_processing/html_gallery.rst:172 0284 msgid "Creating new Theme from Another One" 0285 msgstr "" 0286 0287 #: ../../post_processing/html_gallery.rst:174 0288 msgid "" 0289 "The easiest way to get started is to copy one theme and modify it. Folder " 0290 "can be found usually under **Linux** at :file:`/usr/share/apps/digikam/" 0291 "themes/`. Writing in this folder requires root access, so we will not create " 0292 "our theme there, instead do the following from a console:" 0293 msgstr "" 0294 0295 #: ../../post_processing/html_gallery.rst:176 0296 msgid "Create a theme folder in your home directory:" 0297 msgstr "" 0298 0299 #: ../../post_processing/html_gallery.rst:182 0300 msgid "Go to this directory:" 0301 msgstr "" 0302 0303 #: ../../post_processing/html_gallery.rst:188 0304 msgid "Copy the **snow** theme to this folder, under a new name **snow2**:" 0305 msgstr "" 0306 0307 #: ../../post_processing/html_gallery.rst:194 0308 msgid "Rename the desktop file accordingly:" 0309 msgstr "" 0310 0311 #: ../../post_processing/html_gallery.rst:201 0312 msgid "" 0313 "Edit :file:`snow2.desktop` to remove all the **Name[...]** entries and " 0314 "replace **Name=Snow** with **Name=Snow 2**." 0315 msgstr "" 0316 0317 #: ../../post_processing/html_gallery.rst:203 0318 msgid "" 0319 "You are done, you can now open digiKam and start the HTML Gallery tool, the " 0320 "**Snow 2** theme should appear in the theme list." 0321 msgstr "" 0322 0323 #: ../../post_processing/html_gallery.rst:206 0324 msgid "Generating HTML Using XSL Rules" 0325 msgstr "" 0326 0327 #: ../../post_processing/html_gallery.rst:208 0328 msgid "" 0329 "The :file:`template.xsl` file is responsible for generating the HTML files " 0330 "from the :file:`gallery.xml` file. It's a standard ini-style file and looks " 0331 "like this:" 0332 msgstr "" 0333 0334 #: ../../post_processing/html_gallery.rst:245 0335 msgid "" 0336 "We won't explain XSLT syntax here, you should be able to find the " 0337 "documentation you need on the Internet. We recommend to learn XSLT with the " 0338 "`XSLT tutorial here <https://www.w3schools.com/xsl>`_." 0339 msgstr "" 0340 0341 #: ../../post_processing/html_gallery.rst:247 0342 msgid "" 0343 "It's worth noting nevertheless that you can make use of `EXSLT <https://www." 0344 "exslt.org>`_, a set of extensions to XSLT. In particular, the `exslt:" 0345 "document element <https://www.exslt.org/exsl/elements/document>`_ is " 0346 "extremely useful because it allows you to generate multiple documents from " 0347 "the same file." 0348 msgstr "" 0349 0350 #: ../../post_processing/html_gallery.rst:249 0351 msgid "" 0352 "HTML Gallery tool imposes no constraint on the organization of HTML files. " 0353 "You can generate one file per image, or only one per collection. One could " 0354 "imagine a theme which would only contains one HTML file and uses JavaScript " 0355 "to show the different images, there is already one theme using frames, you " 0356 "can even generate CSS files on the fly if you want to." 0357 msgstr "" 0358 0359 #: ../../post_processing/html_gallery.rst:252 0360 msgid "About Translations" 0361 msgstr "" 0362 0363 #: ../../post_processing/html_gallery.rst:254 0364 msgid "" 0365 "You should not **hardcode** any text in the template, instead you should use " 0366 "the **i18n parameters**. For example instead of using this:" 0367 msgstr "" 0368 0369 #: ../../post_processing/html_gallery.rst:261 0370 msgid "Do this:" 0371 msgstr "" 0372 0373 #: ../../post_processing/html_gallery.rst:268 0374 msgid "" 0375 "It's quite a lot more verbose, but this way your user will get localized " 0376 "HTML output." 0377 msgstr "" 0378 0379 #: ../../post_processing/html_gallery.rst:270 0380 msgid "If you want to use **i18n parameters** in attributes, do it like this:" 0381 msgstr "" 0382 0383 #: ../../post_processing/html_gallery.rst:277 0384 msgid "For now, the available general **i18n parameters** are:" 0385 msgstr "" 0386 0387 #: ../../post_processing/html_gallery.rst:279 0388 msgid "i18nPrevious" 0389 msgstr "" 0390 0391 #: ../../post_processing/html_gallery.rst:280 0392 msgid "i18nNext" 0393 msgstr "" 0394 0395 #: ../../post_processing/html_gallery.rst:281 0396 msgid "i18nCollectionList" 0397 msgstr "" 0398 0399 #: ../../post_processing/html_gallery.rst:282 0400 msgid "i18nOriginalImage" 0401 msgstr "" 0402 0403 #: ../../post_processing/html_gallery.rst:283 0404 msgid "i18nUp" 0405 msgstr "" 0406 0407 #: ../../post_processing/html_gallery.rst:285 0408 msgid "And for the **image properties** they are:" 0409 msgstr "" 0410 0411 #: ../../post_processing/html_gallery.rst:287 0412 msgid "i18nexifimagemake (\"Make\")" 0413 msgstr "" 0414 0415 #: ../../post_processing/html_gallery.rst:288 0416 msgid "i18nexifimagemodel (\"Model\")" 0417 msgstr "" 0418 0419 #: ../../post_processing/html_gallery.rst:289 0420 msgid "i18nexifimageorientation (\"Image Orientation\")" 0421 msgstr "" 0422 0423 #: ../../post_processing/html_gallery.rst:290 0424 msgid "i18nexifimagexresolution (\"Image X Resolution\")" 0425 msgstr "" 0426 0427 #: ../../post_processing/html_gallery.rst:291 0428 msgid "i18nexifimageyresolution (\"Image Y Resolution\")" 0429 msgstr "" 0430 0431 #: ../../post_processing/html_gallery.rst:292 0432 msgid "i18nexifimageresolutionunit (\"Image Resolution Unit\")" 0433 msgstr "" 0434 0435 #: ../../post_processing/html_gallery.rst:293 0436 msgid "i18nexifimagedatetime (\"Image Date Time\")" 0437 msgstr "" 0438 0439 #: ../../post_processing/html_gallery.rst:294 0440 msgid "i18nexifimageycbcrpositioning (\"YCBCR Positioning\")" 0441 msgstr "" 0442 0443 #: ../../post_processing/html_gallery.rst:295 0444 msgid "i18nexifphotoexposuretime (\"Exposure Time\")" 0445 msgstr "" 0446 0447 #: ../../post_processing/html_gallery.rst:296 0448 msgid "i18nexifphotofnumber (\"F Number\")" 0449 msgstr "" 0450 0451 #: ../../post_processing/html_gallery.rst:297 0452 msgid "i18nexifphotoexposureprogram (\"Exposure Index\")" 0453 msgstr "" 0454 0455 #: ../../post_processing/html_gallery.rst:298 0456 msgid "i18nexifphotoisospeedratings (\"ISO Speed Ratings\")" 0457 msgstr "" 0458 0459 #: ../../post_processing/html_gallery.rst:299 0460 msgid "i18nexifphotoshutterspeedvalue (\"Shutter Speed Value\")" 0461 msgstr "" 0462 0463 #: ../../post_processing/html_gallery.rst:300 0464 msgid "i18nexifphotoaperturevalue (\"Aperture Value\")" 0465 msgstr "" 0466 0467 #: ../../post_processing/html_gallery.rst:301 0468 msgid "i18nexifphotofocallength (\"Focal Length\")" 0469 msgstr "" 0470 0471 #: ../../post_processing/html_gallery.rst:303 0472 msgid "" 0473 "If you need more i18n parameters, please report this wish to the `Project " 0474 "Team <https://www.digikam.org/support/>`_." 0475 msgstr "" 0476 0477 #: ../../post_processing/html_gallery.rst:306 0478 msgid "Images and CSS Files" 0479 msgstr "" 0480 0481 #: ../../post_processing/html_gallery.rst:308 0482 msgid "" 0483 "You are free to use images, CSS files or other files in your theme. Just put " 0484 "them in the theme folder and the tool will copy them in the output folder." 0485 msgstr "" 0486 0487 #: ../../post_processing/html_gallery.rst:311 0488 msgid "Original Images" 0489 msgstr "" 0490 0491 #: ../../post_processing/html_gallery.rst:313 0492 msgid "" 0493 "As explained before, if the user selects the option **Include original " 0494 "images**, the :file:`gallery.xml` file will contain **<original />** tags. " 0495 "If this tag is present, the image page should contain a link to download the " 0496 "original image." 0497 msgstr "" 0498 0499 #: ../../post_processing/html_gallery.rst:315 0500 #: ../../post_processing/html_gallery.rst:419 0501 msgid "Here is an example:" 0502 msgstr "" 0503 0504 #: ../../post_processing/html_gallery.rst:326 0505 msgid "Non-Square Thumbnails" 0506 msgstr "" 0507 0508 #: ../../post_processing/html_gallery.rst:328 0509 msgid "" 0510 "By default, thumbnails are cropped so that they are square-shaped and all " 0511 "have an identical size. This makes it easier to create the HTML/CSS style. " 0512 "However, if your theme is ready to cope with thumbnails of different sizes, " 0513 "add this snippet to your desktop file:" 0514 msgstr "" 0515 0516 #: ../../post_processing/html_gallery.rst:335 0517 msgid "" 0518 "The user will then be able to select whether squares should or should not be " 0519 "square. For non-square thumbnails, the specified thumbnail size becomes the " 0520 "size of the larger side of the thumbnail." 0521 msgstr "" 0522 0523 #: ../../post_processing/html_gallery.rst:338 0524 msgid "Theme Parameters" 0525 msgstr "" 0526 0527 #: ../../post_processing/html_gallery.rst:340 0528 msgid "" 0529 "You might want to provide a way for the user to customize your theme, for " 0530 "example you could provide a few alternative CSS files, or let the user " 0531 "customize the background color. This is easy to do." 0532 msgstr "" 0533 0534 #: ../../post_processing/html_gallery.rst:343 0535 msgid "Declaring a Parameter" 0536 msgstr "" 0537 0538 #: ../../post_processing/html_gallery.rst:345 0539 msgid "" 0540 "First, you need to declare your parameter. Edit your desktop file and add " 0541 "something like this:" 0542 msgstr "" 0543 0544 #: ../../post_processing/html_gallery.rst:354 0545 msgid "" 0546 "Now start the tool and select your theme, after pressing next, you should " 0547 "see an option page with a color button initialized to the **#123456** color." 0548 msgstr "" 0549 0550 #: ../../post_processing/html_gallery.rst:357 0551 msgid "Using Parameter Value" 0552 msgstr "" 0553 0554 #: ../../post_processing/html_gallery.rst:359 0555 msgid "" 0556 "In :file:`template.xsl`, you can get the value of your parameter like this:" 0557 msgstr "" 0558 0559 #: ../../post_processing/html_gallery.rst:365 0560 msgid "" 0561 "To change the background color of the **body** tag, you would write " 0562 "something like this:" 0563 msgstr "" 0564 0565 #: ../../post_processing/html_gallery.rst:374 0566 msgid "Parameter Reference" 0567 msgstr "" 0568 0569 #: ../../post_processing/html_gallery.rst:376 0570 msgid "" 0571 "Here is a more complete description of the way to declare parameters. A " 0572 "parameter is declared by a section named **X-HTMLGallery Parameter " 0573 "someName**. **someName** should be replaced with the name you want to use " 0574 "in :file:`template.xsl`." 0575 msgstr "" 0576 0577 #: ../../post_processing/html_gallery.rst:378 0578 msgid "" 0579 "The **Name** key defines the text which will be shown in the option page. " 0580 "Since this is a desktop file, it can be translated like the other keys." 0581 msgstr "" 0582 0583 #: ../../post_processing/html_gallery.rst:380 0584 msgid "" 0585 "The **Type** key defines the type of the parameter. At the time of this " 0586 "writing it can be one of:" 0587 msgstr "" 0588 0589 #: ../../post_processing/html_gallery.rst:382 0590 msgid "caption" 0591 msgstr "" 0592 0593 #: ../../post_processing/html_gallery.rst:383 0594 msgid "string" 0595 msgstr "" 0596 0597 #: ../../post_processing/html_gallery.rst:384 0598 msgid "color" 0599 msgstr "" 0600 0601 #: ../../post_processing/html_gallery.rst:385 0602 msgid "list" 0603 msgstr "" 0604 0605 #: ../../post_processing/html_gallery.rst:386 0606 msgid "int" 0607 msgstr "" 0608 0609 #: ../../post_processing/html_gallery.rst:388 0610 msgid "The **Default** key defines the default value of the parameter." 0611 msgstr "" 0612 0613 #: ../../post_processing/html_gallery.rst:391 0614 msgid "List Parameter Keys" 0615 msgstr "" 0616 0617 #: ../../post_processing/html_gallery.rst:393 0618 msgid "" 0619 "A list parameter lets the user select an item from a list. To declare the " 0620 "available items, you must use two sets of keys: **Value-N** and **Caption-" 0621 "N**, where **N** is the position of the item, starting from **0**." 0622 msgstr "" 0623 0624 #: ../../post_processing/html_gallery.rst:395 0625 msgid "" 0626 "**Value-N** is the internal value of the item. This is the value which will " 0627 "be set to the parameter." 0628 msgstr "" 0629 0630 #: ../../post_processing/html_gallery.rst:397 0631 msgid "" 0632 "**Caption-N** is the displayed value of the item. This is the text which " 0633 "will be shown in the list." 0634 msgstr "" 0635 0636 #: ../../post_processing/html_gallery.rst:399 0637 msgid "Here is an example: the **style** parameter from the **Simple** theme:" 0638 msgstr "" 0639 0640 #: ../../post_processing/html_gallery.rst:412 0641 msgid "" 0642 "As you can see, the user will be able to choose either **Natural** or " 0643 "**Dark**. Depending on the user choice, **<xsl:value-of select='$style'/>** " 0644 "will expand to either :file:`natural.css` or :file:`dark.css`." 0645 msgstr "" 0646 0647 #: ../../post_processing/html_gallery.rst:415 0648 msgid "Int Parameter Keys" 0649 msgstr "" 0650 0651 #: ../../post_processing/html_gallery.rst:417 0652 msgid "" 0653 "An int parameter lets the user select an integer using a spin-box. In " 0654 "addition to the default value, you can define the minimum and maximum " 0655 "values, using the **Min** and **Max** keys." 0656 msgstr "" 0657 0658 #: ../../post_processing/html_gallery.rst:431 0659 msgid "String and Caption Parameter Keys" 0660 msgstr "" 0661 0662 #: ../../post_processing/html_gallery.rst:433 0663 msgid "" 0664 "A string parameter lets the user enter a single string to set configuration " 0665 "rules for example. A caption parameter lets the user enter a multi-string " 0666 "with spell-checking support to set a **Description** or a **Title**." 0667 msgstr "" 0668 0669 #: ../../post_processing/html_gallery.rst:436 0670 msgid "Final Words" 0671 msgstr "" 0672 0673 #: ../../post_processing/html_gallery.rst:438 0674 msgid "" 0675 "This is the end of this chapter, now is the time for you to get creative and " 0676 "add new themes." 0677 msgstr "" 0678 0679 #: ../../post_processing/html_gallery.rst:440 0680 msgid "" 0681 "When you are done, do not hesitate to propose your work for an official " 0682 "integration in digiKam, to see your new theme included in the official list. " 0683 "See the `Contribute page <https://www.digikam.org/contribute/>`_ from the " 0684 "digiKam project web-site for details." 0685 msgstr ""