Date: Sat, 08 May 2021 09:49:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255702] Redundant/incorrect dot on fr, ja, zh-cn, zh-tw homepages Message-ID: <bug-255702-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255702 Bug ID: 255702 Summary: Redundant/incorrect dot on fr, ja, zh-cn, zh-tw homepages Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ygy@freebsd.org For the homepage, the "freebsdDescription"s are assembled in index.html whe= re only the period after freebsdDescription2 is included in the template: <h1>{{ i18n "freebsdProject" }}</h1> <p> {{ i18n "freebsdDescription1" }} <a href=3D{{ "platforms/" | absLangURL }}>{{ i18n "freebsdDescription2" }}</a>. {{ i18n "freebsdDescription3" }} <a href=3D{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $curre= ntLang "/articles/contributors/#staff-committers/" }}>{{ i18n "freebsdDescription4" }}</a> {{ i18n "freebsdDescription5" }} <a href=3D{{ printf "%s%s%s" "https://docs.FreeBSD.org/" $curre= ntLang "/books/handbook/introduction/#introduction-nutshell-users" }}>{{ i18n "freebsdDescription6" }}</a> {{ i18n "freebsdDescription7" }} </p> This is not fine for all the languages where the period is something else (= e.g. zh-cn, zh-tw and also fr etc.): FreeBSD =E6=98=AF=E4=B8=80=E4=B8=AA=E9=80=82=E7=94=A8=E4=BA=8E=E7=8E=B0=E4= =BB=A3=E6=9C=8D=E5=8A=A1=E5=99=A8=E3=80=81=E6=A1=8C=E9=9D=A2=E4=B8=8E=E5=B5= =8C=E5=85=A5=E5=BC=8F =E5=B9=B3=E5=8F=B0. =E7=9A=84=E6=93=8D=E4=BD=9C=E7=B3= =BB=E7=BB=9F=EF=BC=8C =E7=94=B1=E4=B8=80=E4=B8=AA=E5=BA=9E=E5=A4=A7=E7=9A= =84 =E5=BC=80=E5=8F=91=E4=BA=BA=E5=91=98=E5=9B=A2=E9=98=9F =E6=8C=81=E7=BB= =AD=E5=BC=80=E5=8F=91=E8=B6=85=E8=BF=87=E4=B8=89=E5=8D=81=E5=B9=B4=E3=80=82= FreeBSD =E5=85=88=E8=BF=9B=E7=9A=84=E7=BD=91=E7=BB=9C=E3=80=81=E5=AE=89=E5=85=A8=E6= =80=A7=E5=92=8C=E5=AD=98=E5=82=A8=E6=96=B9=E9=9D=A2=E7=9A=84=E7=89=B9=E8=89= =B2=E4=BD=BF=E5=BE=97=E5=AE=83=E6=88=90=E4=B8=BA=E8=AE=B8=E5=A4=9A =E5=A4= =A7=E5=9E=8B=E7=BD=91=E7=AB=99 =E4=BB=A5=E5=8F=8A=E6=9C=80=E6=99=AE=E9=81= =8D=E7=9A=84=E5=B5=8C=E5=85=A5=E5=BC=8F=E7=BD=91=E7=BB=9C=E4=B8=8E=E5=AD=98= =E5=82=A8=E8=AE=BE=E5=A4=87=E7=9A=84=E5=B9=B3=E5=8F=B0=E9=80=89=E6=8B=A9=E3= =80=82 So there are 2 ways of solving this: 1. Let the "user" (i.e. toml files) handle the punctuation completely. This= is a quick fix: [freebsdDescription3] -other =3D "A large" +other =3D ". A large" 2. On a second thought, dividing the freebsdDescription into elements may n= ot make much sense, even so when I work on zh-cn where the order of sentence elements are different. It also introduces problems when we update en versi= on + the template only, and the template may no longer suitable for outdated language versions. So for a more permanent fix I purpose to have only one freebsdDescription a= nd let each language teams handle the rest. WDYT? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255702-7788>
