Bug 162217

Summary: Broken translation because of typo in net-mgmt/mrtg
Product: Ports & Packages Reporter: Alexey Markov <redrat>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Alexey Markov 2011-11-01 08:10:09 UTC
There is a little typo in the code of bin/mrtg in the line #1744:
ordinary quotation marks instead of double quotation marks. This breaks
translations for some languages (e.g. Russian). So, this line: 

<h2>".&$LOC("$sample{$peri}").&$LOC(' Average)')."</h2>

should be like: 

<h2>".&$LOC("$sample{$peri}").&$LOC(" Average)")."</h2>

Fix: Attached patch fixes this problem.

Patch attached with submission follows:
How-To-Repeat: Install MRTG, change language to Russian and look at translation.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-11-01 21:48:28 UTC
State Changed
From-To: open->feedback

Fix synopsis and ask maintainer for feedback.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2011-11-22 22:56:31 UTC
State Changed
From-To: feedback->closed

From misfiled PR caught in spamtrap: