Summary: | Translation breaks opac-ics.tt | ||
---|---|---|---|
Product: | Koha | Reporter: | Marc Véron <veron> |
Component: | I18N/L10N | Assignee: | Marc Véron <veron> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | f.demians, josef.moravec, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5456 | ||
Change sponsored?: | --- | Patch complexity: | String patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Bug Depends on: | 5456 | ||
Bug Blocks: | |||
Attachments: |
Bug 17322 - Translation breaks opac-ics.tt
Bug 17322 - Translation breaks opac-ics.tt [PASSED QA] Bug 17322 - Translation breaks opac-ics.tt |
Description
Marc Véron
2016-09-20 08:54:41 UTC
Created attachment 55718 [details] [review] Bug 17322 - Translation breaks opac-ics.tt This patch adds newlines to opac-ics.tt that are preserved by the translating process. To test: - Apply patch - Create a translation (perl translate xy-XY) - With a text editor or poedit, translate misc/translator/po/xy-XY-opac-bootstrap.po (it is enough to translate "%s %s %s %s is overdue %sYour copy of........") - Install language xx-XY and select it for OPAC (perl translate install xy-XY) - Make sure you have at least a couple of loans, including one overdue - Go to /cgi-bin/koha/opac-user.pl and click on the link labeled "Download as iCal/.ics file" - Inspect the file in a text editor and/or view the result in a calendar appplication. Make sure the data makes sense. Compare it to the english version. Created attachment 55733 [details] [review] Bug 17322 - Translation breaks opac-ics.tt This patch adds newlines to opac-ics.tt that are preserved by the translating process. To test: - Apply patch - Create a translation (perl translate xy-XY) - With a text editor or poedit, translate misc/translator/po/xy-XY-opac-bootstrap.po (it is enough to translate "%s %s %s %s is overdue %sYour copy of........") - Install language xx-XY and select it for OPAC (perl translate install xy-XY) - Make sure you have at least a couple of loans, including one overdue - Go to /cgi-bin/koha/opac-user.pl and click on the link labeled "Download as iCal/.ics file" - Inspect the file in a text editor and/or view the result in a calendar appplication. Make sure the data makes sense. Compare it to the english version. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Works as described Created attachment 55798 [details] [review] [PASSED QA] Bug 17322 - Translation breaks opac-ics.tt This patch adds newlines to opac-ics.tt that are preserved by the translating process. To test: - Apply patch - Create a translation (perl translate xy-XY) - With a text editor or poedit, translate misc/translator/po/xy-XY-opac-bootstrap.po (it is enough to translate "%s %s %s %s is overdue %sYour copy of........") - Install language xx-XY and select it for OPAC (perl translate install xy-XY) - Make sure you have at least a couple of loans, including one overdue - Go to /cgi-bin/koha/opac-user.pl and click on the link labeled "Download as iCal/.ics file" - Inspect the file in a text editor and/or view the result in a calendar appplication. Make sure the data makes sense. Compare it to the english version. Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Pushed to master for 16.11, thanks Marc! Pushed in 16.05. Will be in 16.05.05. |