@@ -85,13 +85,27 @@ var Locales = []*Locale{
8585 ParseTime : func (s string , tz * time.Location ) (time.Time , error ) {
8686 return time .ParseInLocation ("2/1/2006 15:04:05" , s , tz )
8787 },
88+ Translations : map [string ]string {
89+ "Activity" : "Atividade" ,
90+ "Thread" : "Discussão" ,
91+ "Poster" : "Autor" ,
92+ "Time" : "Hora" ,
93+ "Forum" : "Fórum" ,
94+ },
8895 },
8996 {
9097 Subdomain : "ru" ,
9198 Image : "static/images/locales/ru.png" ,
9299 ParseTime : func (s string , tz * time.Location ) (time.Time , error ) {
93100 return time .ParseInLocation ("2.1.2006 15:04:05" , s , tz )
94101 },
102+ Translations : map [string ]string {
103+ "Activity" : "Активность" ,
104+ "Thread" : "Тема" ,
105+ "Poster" : "Автор" ,
106+ "Time" : "Время" ,
107+ "Forum" : "Форум" ,
108+ },
95109 },
96110 {
97111 Subdomain : "th" ,
@@ -106,20 +120,41 @@ var Locales = []*Locale{
106120 ParseTime : func (s string , tz * time.Location ) (time.Time , error ) {
107121 return time .ParseInLocation ("2.1.2006 15:04:05" , s , tz )
108122 },
123+ Translations : map [string ]string {
124+ "Activity" : "Aktivität" ,
125+ "Thread" : "Beitrag" ,
126+ "Poster" : "Verfasser" ,
127+ "Time" : "Datum" ,
128+ "Forum" : "Forum" ,
129+ },
109130 },
110131 {
111132 Subdomain : "fr" ,
112133 Image : "static/images/locales/fr.png" ,
113134 ParseTime : func (s string , tz * time.Location ) (time.Time , error ) {
114135 return time .ParseInLocation ("_2 Jan 2006 15:04:05" , frMonthReplacer .Replace (s ), tz )
115136 },
137+ Translations : map [string ]string {
138+ "Activity" : "Activité" ,
139+ "Thread" : "Fil de discussion" ,
140+ "Poster" : "Posteur" ,
141+ "Time" : "Date" ,
142+ "Forum" : "Forum" ,
143+ },
116144 },
117145 {
118146 Subdomain : "es" ,
119147 Image : "static/images/locales/es.png" ,
120148 ParseTime : func (s string , tz * time.Location ) (time.Time , error ) {
121149 return time .ParseInLocation ("2/1/2006 15:04:05" , s , tz )
122150 },
151+ Translations : map [string ]string {
152+ "Activity" : "Actividad" ,
153+ "Thread" : "Tema" ,
154+ "Poster" : "Autor" ,
155+ "Time" : "Fecha" ,
156+ "Forum" : "Foro" ,
157+ },
123158 },
124159}
125160
0 commit comments