Fix missing uses of TemplateGroup::getName()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 15 Aug 2016 15:40:42 +0000 (17:40 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 15 Aug 2016 15:40:42 +0000 (17:40 +0200)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/acp/templates/templateDiff.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index c3fa87b549dd0845b7b5c5205beba828cf6cdd63..29320cd5554175e90586917ea4af2b810c44e783 100644 (file)
                                                        <select name="templateGroupID" id="templateGroupID">
                                                                <option value="0">{lang}wcf.acp.template.group.default{/lang}</option>
                                                                {foreach from=$availableTemplateGroups item=templateGroup}
-                                                                       <option value="{@$templateGroup->templateGroupID}"{if $templateGroup->templateGroupID == $templateGroupID} selected{/if}>{$templateGroup->templateGroupName}</option>
+                                                                       <option value="{@$templateGroup->templateGroupID}"{if $templateGroup->templateGroupID == $templateGroupID} selected{/if}>{$templateGroup->getName()}</option>
                                                                {/foreach}
                                                        </select>
                                                        {if $errorField == 'templateGroupID'}
index 5dccad5f3dec09f2e5968e36f30c63a131b255f2..0ffb2825523262dc0523bab8fc5044ac9894c931 100644 (file)
@@ -58,7 +58,7 @@
                        <div class="section">
                                <header class="sectionHeader">
                                        <h2 class="sectionTitle">
-                                               {if $parent->templateGroupID}{$templateGroupHierarchy[$parent->templateGroupID][group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if}
+                                               {if $parent->templateGroupID}{$templateGroupHierarchy[$parent->templateGroupID][group]->getName()}{else}{lang}wcf.acp.template.group.default{/lang}{/if}
                                        </h2>
                                        <p class="sectionDescription">{lang}wcf.acp.template.lastModificationTime{/lang}: {@$parent->lastModificationTime|time}</p>
                                </header>
@@ -85,7 +85,7 @@
                        <div class="section">
                                <header class="sectionHeader">
                                        <h2 class="sectionTitle">
-                                               {if $template->templateGroupID}{$templateGroupHierarchy[$template->templateGroupID][group]->templateGroupName}{else}{lang}wcf.acp.template.group.default{/lang}{/if}
+                                               {if $template->templateGroupID}{$templateGroupHierarchy[$template->templateGroupID][group]->getName()}{else}{lang}wcf.acp.template.group.default{/lang}{/if}
                                        </h2>
                                        <p class="sectionDescription">{lang}wcf.acp.template.lastModificationTime{/lang}: {@$template->lastModificationTime|time}</p>
                                </header>
index 6b2616693c0de86254af57f9d3643ad7b6e1ad65..8b838f3c6af8333a95aba9c91c0ec42e233d0a12 100644 (file)
@@ -1639,7 +1639,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]></item>
                <item name="wcf.acp.template.group.folderName.error.notValid"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du hast{else}Sie haben{/if} einen ungültigen Verzeichnis-Namen eingegeben.]]></item>
                <item name="wcf.acp.template.group.folderName.error.notUnique"><![CDATA[Das angegebene Verzeichnis wird bereits von einer anderen Templategruppe verwendet.]]></item>
                <item name="wcf.acp.template.group.parentTemplateGroupID.error.notValid"><![CDATA[Die ausgewählte übergeordnete Templategruppe ist ungültig.]]></item>
-               <item name="wcf.acp.template.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Templategruppe <span class="confirmationObject">{$templateGroup->templateGroupName}</span> wirklich löschen?]]></item>
+               <item name="wcf.acp.template.group.delete.sure"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Willst du{else}Wollen Sie{/if} die Templategruppe <span class="confirmationObject">{$templateGroup->getName()}</span> wirklich löschen?]]></item>
                <item name="wcf.acp.template.source"><![CDATA[Template-Quelltext]]></item>
                <item name="wcf.acp.template.name.error.notUnique"><![CDATA[Der eingegebene Name wird bereits von einem anderen Template verwendet.]]></item>
                <item name="wcf.acp.template.name.error.notValid"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du hast{else}Sie haben{/if} einen ungültigen Namen eingegeben.]]></item>
index 9b338f8148b5e22c7b07b372776434cd1cd1a4ef..dae613e0fc69f2245a511f2db5cb9d4fdc80e6fc 100644 (file)
@@ -1612,7 +1612,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]></item>
                <item name="wcf.acp.template.group.folderName.error.notValid"><![CDATA[The specified directory is invalid.]]></item>
                <item name="wcf.acp.template.group.folderName.error.notUnique"><![CDATA[The specified directory is already in use by another template group.]]></item>
                <item name="wcf.acp.template.group.parentTemplateGroupID.error.notValid"><![CDATA[The specified Parent Template Group is invalid.]]></item>
-               <item name="wcf.acp.template.group.delete.sure"><![CDATA[Do you really want to remove the template group <span class="confirmationObject">{$templateGroup->templateGroupName}</span>?]]></item>
+               <item name="wcf.acp.template.group.delete.sure"><![CDATA[Do you really want to remove the template group <span class="confirmationObject">{$templateGroup->getName()}</span>?]]></item>
                <item name="wcf.acp.template.source"><![CDATA[Template Source Code]]></item>
                <item name="wcf.acp.template.name.error.notUnique"><![CDATA[This name is already taken by a different template.]]></item>
                <item name="wcf.acp.template.name.error.notValid"><![CDATA[The specified name is invalid.]]></item>