Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 13:05:14 +0000 (UTC)
From:      Edwin Groothuis <edwin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193498 - head/share/timedef
Message-ID:  <200906051305.n55D5Eu8026282@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: edwin
Date: Fri Jun  5 13:05:14 2009
New Revision: 193498
URL: http://svn.freebsd.org/changeset/base/193498

Log:
  [patch] Portuguese timedef
  
  In Portuguese, the names of the days of the week are not capitalized.
  Also there is always a dash before "feira" in the names of the days.
  For example: "segunda-feira" and not "segunda feira" (which has a
  completely different meaning).
  
  x_fmt is not correct either. The date separator should not be a dot
  but a slash. Example: 31/12/2005 if far more used in Portugal than
  31.12.2005.
  
  References:
  - a Portuguese online dictionary http://priberam.pt/dlpo/dlpo.aspx
  - http://answers.com/days_of_the_week (there are translations to
    various languages, including Portuguese, at the bottom of the
    page)
  - http://en.wikipedia.org/wiki/Week-day_names (there are translations
    to various languages, including Portuguese, at the bottom of the
    page)
  - a Portuguese style guide
    http://www.publico.clix.pt/nos/livro_estilo/16d-palavras.html
    ("datas" section)
  
  PR:		conf/58595
  Submitted by:	Chris Stenton <jacs@gnome.co.uk>
  MFC after:	1 week

Modified:
  head/share/timedef/pt_PT.ISO8859-1.src
  head/share/timedef/pt_PT.UTF-8.src

Modified: head/share/timedef/pt_PT.ISO8859-1.src
==============================================================================
--- head/share/timedef/pt_PT.ISO8859-1.src	Fri Jun  5 12:49:54 2009	(r193497)
+++ head/share/timedef/pt_PT.ISO8859-1.src	Fri Jun  5 13:05:14 2009	(r193498)
@@ -36,23 +36,23 @@ Dezembro
 #
 # Short weekday names
 #
-Dom
-Seg
-Ter
-Qua
-Qui
-Sex
-Sáb
+dom
+seg
+ter
+qua
+qui
+sex
+sáb
 #
 # Long weekday names
 #
-Domingo
-Segunda Feira
-Terça Feira
-Quarta Feira
-Quinta Feira
-Sexta Feira
-Sábado
+domingo
+segunda-feira
+terça-feira
+quarta-feira
+quinta-feira
+sexta-feira
+sábado
 #
 # X_fmt
 #
@@ -60,7 +60,7 @@ Sábado
 #
 # x_fmt
 #
-%d.%m.%Y
+%d/%m/%Y
 #
 # c_fmt
 #

Modified: head/share/timedef/pt_PT.UTF-8.src
==============================================================================
--- head/share/timedef/pt_PT.UTF-8.src	Fri Jun  5 12:49:54 2009	(r193497)
+++ head/share/timedef/pt_PT.UTF-8.src	Fri Jun  5 13:05:14 2009	(r193498)
@@ -36,23 +36,23 @@ Dezembro
 #
 # Short weekday names
 #
-Dom
-Seg
-Ter
-Qua
-Qui
-Sex
-Sáb
+dom
+seg
+ter
+qua
+qui
+sex
+sáb
 #
 # Long weekday names
 #
-Domingo
-Segunda Feira
-Terça Feira
-Quarta Feira
-Quinta Feira
-Sexta Feira
-Sábado
+domingo
+segunda-feira
+terça-feira
+quarta-feira
+quinta-feira
+sexta-feira
+sábado
 #
 # X_fmt
 #
@@ -60,7 +60,7 @@ Sábado
 #
 # x_fmt
 #
-%d.%m.%Y
+%d/%m/%Y
 #
 # c_fmt
 #



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906051305.n55D5Eu8026282>