Bug 22687

Summary: Typo in Koha::Manual breaks Portuguese links
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: DocumentationAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: normal    
Priority: P5 - low CC: development, hayleypelham, josef.moravec, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
19.05.00, 18.11.05
Circulation function:
Bug Depends on: 19817    
Bug Blocks:    
Attachments: Bug 22687: Typo correction for Portuguese manual link
Bug 22687: Typo correction for Portuguese manual link
Bug 22687: Typo correction for Portuguese manual link

Description Martin Renvoize (ashimema) 2019-04-11 09:30:13 UTC
Quoting Humberto Chula

Setting KohaManualBaseURL to https://koha-community.org/manual and 
using user interface language pt~PT, the help link is redirected (for example) to https://koha-community.org/manual/18.11/pt_BZ/html/systempreferences.html displaying an error page.

I guess its related with a typo on line 22 in the file Manual.pm 
22    my @available_languages = qw( en ar cs es fr it pt_BZ tz zh_TW );

Tested replacing the value pt_BZ by pt_BR and the link now works.
Comment 1 Martin Renvoize (ashimema) 2019-04-11 09:33:46 UTC
Created attachment 87755 [details] [review]
Bug 22687: Typo correction for Portuguese manual link

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Comment 2 Hayley Pelham 2019-04-18 00:07:08 UTC
Created attachment 88244 [details] [review]
Bug 22687: Typo correction for Portuguese manual link

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Comment 3 Josef Moravec 2019-04-18 11:24:58 UTC
Created attachment 88287 [details] [review]
Bug 22687: Typo correction for Portuguese manual link

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 4 Nick Clemens (kidclamp) 2019-04-19 14:56:33 UTC
Awesome work all!

Pushed to master for 19.05
Comment 5 Martin Renvoize (ashimema) 2019-04-26 14:37:05 UTC
Pushed to 18.11.x for 18.11.05