From ef8f66ba6c7a22c277c6315df8040365b5684e6c Mon Sep 17 00:00:00 2001
From: Evgeny Fadeev
Date: Wed, 5 Aug 2009 22:50:08 -0400
Subject: added anonymous posting, per-question subscription and fixes by
Pothers and some more, see development.log
---
templates/content/js/com.cnprog.i18n.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 2d8c90a6..90166eec 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -1,5 +1,3 @@
-// Evgeny Fadeev evgeny.fadeev@gmail.com localized for english and chinese
-// i18nLang variable must be set in html header to extract correct language
var i18nZh = {
'insufficient privilege':'用户权限不在操作范围',
'cannot pick own answer as best':'不能设置自己的回答为最佳答案',
@@ -59,6 +57,10 @@ var i18nZh = {
};
var i18nEn = {
+ '>15 points requried to upvote':'>15 points requried to upvote ',
+ 'tags cannot be empty':'please enter at least one tag',
+ 'anonymous users cannot vote':'anonymous users cannot vote ',
+ 'anonymous users cannot select favorite questions':'anonymous users cannot select favorite questions ',
'to comment, need': 'to comment, need reputation ',
'please see':'please see ',
'community reputation points':' ',
@@ -84,7 +86,7 @@ var i18nEn = {
var i18n = {
'en':i18nEn,
- 'zh':i18nZh
+ 'zh_CN':i18nZh
};
var i18n_dict = i18n[i18nLang];
--
cgit v1.2.3-1-g7c22
From 755ee6d0263ee60a5086d85117037fd7f41a835b Mon Sep 17 00:00:00 2001
From: Adolfo Fitoria
Date: Sat, 8 Aug 2009 10:26:29 -0600
Subject: translating templates/content/js/com.cnprog.i18n.js to Spanish
---
templates/content/js/com.cnprog.i18n.js | 61 ++++++++++++++++++++++++++++++++-
1 file changed, 60 insertions(+), 1 deletion(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 90166eec..96f755bf 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -84,9 +84,68 @@ var i18nEn = {
'characters':'characters left',
};
+var i18nEs = {
+ 'insufficient privilege':'privilegio insuficiente',
+ 'cannot pick own answer as best':'no puede escoger su propia respuesta como la mejor',
+ 'anonymous users cannot select favorite questions':'usuarios anonimos no pueden seleccionar',
+ 'please login':'por favor inicie sesión',
+ 'anonymous users cannot vote':'usuarios anónimos no pueden votar',
+ '>15 points requried to upvote': '>15 puntos requeridos para votar positivamente',
+ '>100 points required to downvote':'>100 puntos requeridos para votar negativamente',
+ 'please see': 'por favor vea',
+ 'cannot vote for own posts':'no se puede votar por sus propias publicaciones',
+ 'daily vote cap exhausted':'cuota de votos diarios excedida',
+ 'cannot revoke old vote':'no puede revocar un voto viejo',
+ 'please confirm offensive':"por favor confirme ofensiva",
+ 'anonymous users cannot flag offensive posts':'usuarios anónimos no pueden marcar publicaciones como ofensivas',
+ 'cannot flag message as offensive twice':'no puede marcar mensaje como ofensivo dos veces',
+ 'flag offensive cap exhausted':'cuota para marcar ofensivas ha sido excedida',
+ 'need >15 points to report spam':"necesita >15 puntos para reportar spam,
+ 'confirm delete':"¿Está seguro que desea borrar esto?",
+ 'anonymous users cannot delete/undelete':"usuarios anónimos no pueden borrar o recuperar publicaciones",
+ 'post recovered':"publicación recuperada",
+ 'post deleted':"publicación borrada。",
+ 'add comment':'agregar comentario',
+ 'community reputation points':'reputación comunitaria',
+ 'to comment, need':'para comentar, necesita reputación',
+ 'delete this comment':'borrar este comentario',
+ 'hide comments':"ocultar comentarios",
+ 'add a comment':"agregar comentarios",
+ 'comments':"comentarios",
+ 'confirm delete comment':"¿Realmente desea borrar este comentario?",
+ 'characters':'caracteres faltantes',
+ 'can write':'tiene ',
+ 'click to close':'haga click para cerrar',
+ 'loading...':'cargando...',
+ 'tags cannot be empty':'las etiquetas no pueden estar vacías',
+ 'tablimits info':"hasta 5 etiquetas de no mas de 20 caracteres cada una",
+ 'content cannot be empty':'el contenido no puede estar vacío',
+ 'content minchars': 'por favor introduzca mas de {0} caracteres',
+ 'please enter title':'por favor ingrese un título',
+ 'title minchars':"por favor introduzca al menos {0} caracteres",
+ 'delete':'borrar',
+ 'undelete': 'recuperar',
+ 'bold': 'negrita',
+ 'italic':'cursiva',
+ 'link':'enlace',
+ 'quote':'citar',
+ 'preformatted text':'texto preformateado',
+ 'image':'imagen',
+ 'numbered list':'lista numerada',
+ 'bulleted list':'lista no numerada',
+ 'heading':'标题',
+ 'horizontal bar':'barra horizontal',
+ 'undo':'deshacer',
+ 'redo':'rehacer',
+ 'enter image url':'introduzca la URL de la imagen, por ejemplo:
http://www.example.com/image.jpg \"titulo de imagen\"',
+ 'enter url':'introduzca direcciones web, ejemplo:
http://www.cnprog.com/ \"titulo del enlace\"
"',
+ 'upload image':'cargar imagen:',
+};
+
var i18n = {
'en':i18nEn,
- 'zh_CN':i18nZh
+ 'zh_CN':i18nZh,
+ 'es':i18nEs
};
var i18n_dict = i18n[i18nLang];
--
cgit v1.2.3-1-g7c22
From 6b563bde2d2e6e20bc2d31d9575431131a7ca0c8 Mon Sep 17 00:00:00 2001
From: Adolfo Fitoria
Date: Sun, 9 Aug 2009 21:30:49 -0600
Subject: fixing stupid bug in templates.content/js/com.cnprog.i18n.js
---
templates/content/js/com.cnprog.i18n.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 96f755bf..848ad59e 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -100,7 +100,7 @@ var i18nEs = {
'anonymous users cannot flag offensive posts':'usuarios anónimos no pueden marcar publicaciones como ofensivas',
'cannot flag message as offensive twice':'no puede marcar mensaje como ofensivo dos veces',
'flag offensive cap exhausted':'cuota para marcar ofensivas ha sido excedida',
- 'need >15 points to report spam':"necesita >15 puntos para reportar spam,
+ 'need >15 points to report spam':"necesita >15 puntos para reportar spam",
'confirm delete':"¿Está seguro que desea borrar esto?",
'anonymous users cannot delete/undelete':"usuarios anónimos no pueden borrar o recuperar publicaciones",
'post recovered':"publicación recuperada",
--
cgit v1.2.3-1-g7c22
From 3bf18ad5c7616379038ad301e7d92b9620159c57 Mon Sep 17 00:00:00 2001
From: Bruno Sarlo
Date: Tue, 11 Aug 2009 15:41:48 -0300
Subject: Fixed voting problem. Should still work on i18n for JS voting and
some urls. Non-ascii chars in tags bring syntax error for new meta-tags
parsing.
---
templates/content/js/com.cnprog.i18n.js | 2 ++
1 file changed, 2 insertions(+)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 848ad59e..6ba8b59d 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -140,6 +140,8 @@ var i18nEs = {
'enter image url':'introduzca la URL de la imagen, por ejemplo:
http://www.example.com/image.jpg \"titulo de imagen\"',
'enter url':'introduzca direcciones web, ejemplo:
http://www.cnprog.com/ \"titulo del enlace\""',
'upload image':'cargar imagen:',
+ 'questions/' : 'preguntas/',
+ 'vote/' : 'votar/',
};
var i18n = {
--
cgit v1.2.3-1-g7c22
From 7e4f1d542e00b4d3121da6ae5524e95867f2371b Mon Sep 17 00:00:00 2001
From: root
Date: Fri, 13 Nov 2009 20:18:55 -0500
Subject: better comments, email subscriptions, corrected view counter, some
ie7 issues, wiki optional with settings.WIKI_ON, site can be mounted on
arbitrary url prefix, english language improvements, added feedback form,
versioned css and js files to force browser cache reload when
settings.RESOURCE_REVISION is incremented , other fixes
---
templates/content/js/com.cnprog.i18n.js | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 6ba8b59d..d2356abc 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -20,7 +20,7 @@ var i18nZh = {
'post recovered':"操作成功!该帖子已被恢复。",
'post deleted':"操作成功!该帖子已删除。",
'add comment':'添加评论',
- 'community reputation points':'社区积分',
+ 'community karma points':'社区积分',
'to comment, need':'评论需要',
'delete this comment':'删除此评论',
'hide comments':"隐藏评论",
@@ -53,27 +53,29 @@ var i18nZh = {
'redo':'重做',
'enter image url':'输入图片地址示例:
http://www.example.com/image.jpg \"我的截图\"',
'enter url':'输入Web地址
示例:
http://www.cnprog.com/ \"我的网站\"
"',
- 'upload image':'或者上传本地图片:',
+ 'upload image':'或者上传本地图片:'
};
var i18nEn = {
- '>15 points requried to upvote':'>15 points requried to upvote ',
+ '/':'/',
+ 'need >15 points to report spam':'need >15 points to report spam ',
+ '>15 points requried to upvote':'>15 points required to upvote ',
'tags cannot be empty':'please enter at least one tag',
- 'anonymous users cannot vote':'anonymous users cannot vote ',
- 'anonymous users cannot select favorite questions':'anonymous users cannot select favorite questions ',
- 'to comment, need': 'to comment, need reputation ',
+ 'anonymous users cannot vote':'sorry, anonymous users cannot vote ',
+ 'anonymous users cannot select favorite questions':'sorry, anonymous users cannot select favorite questions ',
+ 'to comment, need': '(to comment other people\'s posts, karma ',
'please see':'please see ',
- 'community reputation points':' ',
+ 'community karma points':' or more is necessary) - ',
'upload image':'Upload image:',
'enter image url':'enter URL of the image, e.g. http://www.example.com/image.jpg \"image title\"',
'enter url':'enter Web address, e.g. http://www.example.com \"page title\"',
'daily vote cap exhausted':'sorry, you\'ve used up todays vote cap',
- 'cannot pick own answer as best':'cannot accept own answer',
- 'cannot revoke old vote':'older votes cannot be revoked',
+ 'cannot pick own answer as best':'sorry, you cannot accept your own answer',
+ 'cannot revoke old vote':'sorry, older votes cannot be revoked',
'please confirm offensive':'are you sure this post is offensive, contains spam, advertising, malicious remarks, etc.?',
- 'flag offensive cap exhausted':'sorry, you\'ve used up todays cap of flagging offensive messages',
+ 'flag offensive cap exhausted':'sorry, you\'ve used up todays cap of flagging offensive messages ',
'confirm delete':'are you sure you want to delete this?',
- 'anonymous users cannot delete/undelete':'anonymous users cannot delete or undelete posts',
+ 'anonymous users cannot delete/undelete':'sorry, anonymous users cannot delete or undelete posts',
'post recovered':'your post is now restored!',
'post deleted':'your post has been deleted',
'confirm delete comment':'do you really want to delete this comment?',
@@ -82,6 +84,9 @@ var i18nEn = {
'content minchars': 'please enter more than {0} characters',
'title minchars':"please enter at least {0} characters",
'characters':'characters left',
+ 'cannot vote for own posts':'sorry, you cannot vote for your own posts',
+ 'cannot flag message as offensive twice':'cannot flag message as offensive twice ',
+ '>100 points required to downvote':'>100 points required to downvote '
};
var i18nEs = {
@@ -106,7 +111,7 @@ var i18nEs = {
'post recovered':"publicación recuperada",
'post deleted':"publicación borrada。",
'add comment':'agregar comentario',
- 'community reputation points':'reputación comunitaria',
+ 'community karma points':'reputación comunitaria',
'to comment, need':'para comentar, necesita reputación',
'delete this comment':'borrar este comentario',
'hide comments':"ocultar comentarios",
@@ -141,7 +146,7 @@ var i18nEs = {
'enter url':'introduzca direcciones web, ejemplo:
http://www.cnprog.com/ \"titulo del enlace\""',
'upload image':'cargar imagen:',
'questions/' : 'preguntas/',
- 'vote/' : 'votar/',
+ 'vote/' : 'votar/'
};
var i18n = {
--
cgit v1.2.3-1-g7c22
From ebb0f636ae8f7db4e7a2e7470e449af3d96b15c0 Mon Sep 17 00:00:00 2001
From: root
Date: Fri, 13 Nov 2009 20:18:55 -0500
Subject: better comments, email subscriptions, corrected view counter, some
ie7 issues, wiki optional with settings.WIKI_ON, site can be mounted on
arbitrary url prefix, english language improvements, added feedback form,
versioned css and js files to force browser cache reload when
settings.RESOURCE_REVISION is incremented , other fixes
---
templates/content/js/com.cnprog.i18n.js | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 6ba8b59d..d2356abc 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -20,7 +20,7 @@ var i18nZh = {
'post recovered':"操作成功!该帖子已被恢复。",
'post deleted':"操作成功!该帖子已删除。",
'add comment':'添加评论',
- 'community reputation points':'社区积分',
+ 'community karma points':'社区积分',
'to comment, need':'评论需要',
'delete this comment':'删除此评论',
'hide comments':"隐藏评论",
@@ -53,27 +53,29 @@ var i18nZh = {
'redo':'重做',
'enter image url':'输入图片地址示例:
http://www.example.com/image.jpg \"我的截图\"',
'enter url':'输入Web地址
示例:
http://www.cnprog.com/ \"我的网站\"
"',
- 'upload image':'或者上传本地图片:',
+ 'upload image':'或者上传本地图片:'
};
var i18nEn = {
- '>15 points requried to upvote':'>15 points requried to upvote ',
+ '/':'/',
+ 'need >15 points to report spam':'need >15 points to report spam ',
+ '>15 points requried to upvote':'>15 points required to upvote ',
'tags cannot be empty':'please enter at least one tag',
- 'anonymous users cannot vote':'anonymous users cannot vote ',
- 'anonymous users cannot select favorite questions':'anonymous users cannot select favorite questions ',
- 'to comment, need': 'to comment, need reputation ',
+ 'anonymous users cannot vote':'sorry, anonymous users cannot vote ',
+ 'anonymous users cannot select favorite questions':'sorry, anonymous users cannot select favorite questions ',
+ 'to comment, need': '(to comment other people\'s posts, karma ',
'please see':'please see ',
- 'community reputation points':' ',
+ 'community karma points':' or more is necessary) - ',
'upload image':'Upload image:',
'enter image url':'enter URL of the image, e.g. http://www.example.com/image.jpg \"image title\"',
'enter url':'enter Web address, e.g. http://www.example.com \"page title\"',
'daily vote cap exhausted':'sorry, you\'ve used up todays vote cap',
- 'cannot pick own answer as best':'cannot accept own answer',
- 'cannot revoke old vote':'older votes cannot be revoked',
+ 'cannot pick own answer as best':'sorry, you cannot accept your own answer',
+ 'cannot revoke old vote':'sorry, older votes cannot be revoked',
'please confirm offensive':'are you sure this post is offensive, contains spam, advertising, malicious remarks, etc.?',
- 'flag offensive cap exhausted':'sorry, you\'ve used up todays cap of flagging offensive messages',
+ 'flag offensive cap exhausted':'sorry, you\'ve used up todays cap of flagging offensive messages ',
'confirm delete':'are you sure you want to delete this?',
- 'anonymous users cannot delete/undelete':'anonymous users cannot delete or undelete posts',
+ 'anonymous users cannot delete/undelete':'sorry, anonymous users cannot delete or undelete posts',
'post recovered':'your post is now restored!',
'post deleted':'your post has been deleted',
'confirm delete comment':'do you really want to delete this comment?',
@@ -82,6 +84,9 @@ var i18nEn = {
'content minchars': 'please enter more than {0} characters',
'title minchars':"please enter at least {0} characters",
'characters':'characters left',
+ 'cannot vote for own posts':'sorry, you cannot vote for your own posts',
+ 'cannot flag message as offensive twice':'cannot flag message as offensive twice ',
+ '>100 points required to downvote':'>100 points required to downvote '
};
var i18nEs = {
@@ -106,7 +111,7 @@ var i18nEs = {
'post recovered':"publicación recuperada",
'post deleted':"publicación borrada。",
'add comment':'agregar comentario',
- 'community reputation points':'reputación comunitaria',
+ 'community karma points':'reputación comunitaria',
'to comment, need':'para comentar, necesita reputación',
'delete this comment':'borrar este comentario',
'hide comments':"ocultar comentarios",
@@ -141,7 +146,7 @@ var i18nEs = {
'enter url':'introduzca direcciones web, ejemplo:
http://www.cnprog.com/ \"titulo del enlace\""',
'upload image':'cargar imagen:',
'questions/' : 'preguntas/',
- 'vote/' : 'votar/',
+ 'vote/' : 'votar/'
};
var i18n = {
--
cgit v1.2.3-1-g7c22
From fa98d95d8c675f37c321c40e0151624dca240efc Mon Sep 17 00:00:00 2001
From: Evgeny Fadeev
Date: Mon, 23 Nov 2009 21:16:55 -0500
Subject: improved email subscription job, some small fixes, users now can
change their screen name any time
---
templates/content/js/com.cnprog.i18n.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index d2356abc..96e107c8 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -57,7 +57,7 @@ var i18nZh = {
};
var i18nEn = {
- '/':'/',
+ '/':'/forum/',
'need >15 points to report spam':'need >15 points to report spam ',
'>15 points requried to upvote':'>15 points required to upvote ',
'tags cannot be empty':'please enter at least one tag',
--
cgit v1.2.3-1-g7c22
From f73deac697a396ac1f0e2fd1e0c831a28c990a74 Mon Sep 17 00:00:00 2001
From: Evgeny Fadeev
Date: Mon, 23 Nov 2009 21:20:23 -0500
Subject: tiny fix in javascript language file
---
templates/content/js/com.cnprog.i18n.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index 96e107c8..d2356abc 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -57,7 +57,7 @@ var i18nZh = {
};
var i18nEn = {
- '/':'/forum/',
+ '/':'/',
'need >15 points to report spam':'need >15 points to report spam ',
'>15 points requried to upvote':'>15 points required to upvote ',
'tags cannot be empty':'please enter at least one tag',
--
cgit v1.2.3-1-g7c22
From 6afaa6d392e97cc425e4ecdc82f3c1a3716986f4 Mon Sep 17 00:00:00 2001
From: Evgeny Fadeev
Date: Sat, 28 Nov 2009 00:27:08 -0500
Subject: fixed some local merge errors
---
templates/content/js/com.cnprog.i18n.js | 1 -
1 file changed, 1 deletion(-)
(limited to 'templates/content/js/com.cnprog.i18n.js')
diff --git a/templates/content/js/com.cnprog.i18n.js b/templates/content/js/com.cnprog.i18n.js
index d2356abc..7562628b 100644
--- a/templates/content/js/com.cnprog.i18n.js
+++ b/templates/content/js/com.cnprog.i18n.js
@@ -57,7 +57,6 @@ var i18nZh = {
};
var i18nEn = {
- '/':'/',
'need >15 points to report spam':'need >15 points to report spam ',
'>15 points requried to upvote':'>15 points required to upvote ',
'tags cannot be empty':'please enter at least one tag',
--
cgit v1.2.3-1-g7c22