From 8ac19320918cb823f62a2a1fadba0cf381a98bd1 Mon Sep 17 00:00:00 2001 From: Remington Steed Date: Fri, 8 Jul 2016 10:32:05 -0400 Subject: [PATCH] Docs: Small syntax fix, formatting improvements This commit fixes a small AsciiDoc syntax bug caused by a real '_' that accidentally closed the '_' italics tag. This block of documentation will now more closely match the identical content found in 'admin/template_toolkit.txt' (chapter labeled "TPac Configuration and Customization"). Signed-off-by: Remington Steed --- docs/admin_initial_setup/designing_your_catalog.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/admin_initial_setup/designing_your_catalog.txt b/docs/admin_initial_setup/designing_your_catalog.txt index 91948a3fd7..4abb10f873 100644 --- a/docs/admin_initial_setup/designing_your_catalog.txt +++ b/docs/admin_initial_setup/designing_your_catalog.txt @@ -189,18 +189,18 @@ _opac/parts/header.tt2_ file. ---- -For the most part, the page looks like regular HTML, but note the _[%_(" ")%]_ -that surrounds the text of each link. The _[% ... %]_ signifies a TT block, -which can contain one or more TT processing instructions. l(" ... "); is a +For the most part, the page looks like regular HTML, but note the `[%_(" ")%]` +that surrounds the text of each link. The `[% ... %]` signifies a TT block, +which can contain one or more TT processing instructions. `l(" ... ");` is a function that marks text for localization (translation); a separate process can subsequently extract localized text as GNU gettext-formatted PO (Portable Object) files. As Evergreen supports multiple languages, any customization to Evergreen's default text must use the localization function. Also, note that the -localization function supports placeholders such as [_1], [_2] in the text; +localization function supports placeholders such as `[_1]`, `[_2]` in the text; these are replaced by the contents of variables passed as extra arguments to the -l() function. +`l()` function. Once the link and link text has been edited to your satisfaction, load the page in a Web browser and see the live changes immediately. -- 2.43.2