From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32644 invoked by alias); 18 Nov 2012 07:49:13 -0000 Received: (qmail 26652 invoked by uid 48); 18 Nov 2012 07:29:00 -0000 From: "a.m.suharev at gmail dot com" To: libc-locales@sources.redhat.com Subject: [Bug localedata/10871] Ru_RU month names are in incorrect form Date: Sun, 18 Nov 2012 07:49:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: a.m.suharev at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sources dot redhat.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org X-SW-Source: 2012-q4/txt/msg00062.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D10871 a.m.suharev at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.m.suharev at gmail dot | |com --- Comment #4 from a.m.suharev at gmail dot com 2012-11-18 07:28:57 UTC --- (In reply to comment #3) > (In reply to comment #2) > > You'll have to provide a complete patch. >=20 > I could provide a patch, but there is a problem in specification. Neither= "man > 5 locale" nor "man date" specify the case of name. It is not clear whethe= r it > should be nominative, genitive or some another case. If it is not specified, we should follow the language's rules. If it would = be specified it has to be specified in accordance with the language's rules. So let me as a "native speaker" to suggest the solution. Both months and weekdays should be in lower case. The correct form of date should be "28 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8F" (the genitive). I= f you add a weekday it is "=D0=BF=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5=D0=BB=D1=8C= =D0=BD=D0=B8=D0=BA, 28 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8F" (nominative for the weekday,= genitive for month). A year, if necessary, should be after the day, optionally followed by the word "=D0=B3= =D0=BE=D0=B4=D0=B0" or the abbreviation "=D0=B3.", line this "=D0=BF=D0=BE=D0=BD=D0=B5=D0=B4=D0=B5= =D0=BB=D1=8C=D0=BD=D0=B8=D0=BA, 28 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1= =8F 2011 =D0=B3=D0=BE=D0=B4=D0=B0". > The solution could be extending `mon' array. For example, it could contai= n 12, > 24, or even more elements. Element #1 is name of January in nominative ca= se, > element #13 is name of January in genitive case, #25 is the name of Janua= ry in > some 3rd case, etc. `%B' is name of month in nominative case, `%1B' is th= e same > as `%B', `%2B' is the name of months in genitive case, `%3B' is the name = of > months in the "3rd" case, etc. >=20 > Alternatively, it could be multidimensional array, so in construct `%nB' n > selects the proper dimension. >=20 > Any thoughts on that? I think one should definitely extend the "mon" array. However the better id= ea would be to put there not the cases (nominative, genitive etc) but the cont= exts (month's name "as-is", month's name "when used in a date" etc). The array c= ould be extensible. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the assignee for the bug.