| 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: |
|
||||||
State Changed From-To: open->feedback Fix synopsis and ask maintainer for feedback. State Changed From-To: feedback->closed From misfiled PR caught in spamtrap: |
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.