Bug 622030
Summary: | RFE -- allow create_site to set a default language | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Ruediger Landmann <rlandman> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.6 | CC: | jfearn, mmcallis, publican-list, rlandman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | publican-2.2-0.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-08 20:42:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ruediger Landmann
2010-08-06 19:56:22 UTC
en-US also seems to be assumed earlier too: var match = 0; var locales = ["en-US"]; There was already some support for def_lang with regard to TOC creation. Made index.tmpl use default language, this did require updating the pot and po files. Added --lang to create_site parameters, this will set def_lang in the site configuration file. Not 100% sure this is a good approach, maybe create a new parameter, --def_lang, specifically for this action? Fixed in build: 2.1-0.%{dist}.t32 Added --lang parameter to create_site action to allow def_lang to be set at site creation. Modified index.tmpl to use default language. Changed debug message from print to debug_msg so it's only displayed in debug mode. Changed debug message to be more readable and translatable: "No languages found, using default language: [_1]\n", $self->{def_lang} Moved static string in HTML to maketext calls to allow for translation of index page in to the default language. Fixed in build: 2.1-0.%{dist}.t32 publican-2.2-0.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/publican-2.2-0.fc13 publican-2.2-0.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/publican-2.2-0.fc12 publican-2.2-0.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/publican-2.2-0.fc14 publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |