Change "Create XXX Topic" to "Create Topic"

This commit is contained in:
Robin Ward 2013-10-31 16:29:41 -04:00
parent 744cd93f28
commit 7ef76fd4c3
20 changed files with 1 additions and 29 deletions

View File

@ -26,16 +26,6 @@ Discourse.ListController = Discourse.Controller.extend({
}); });
}.property("category"), }.property("category"),
createTopicText: function() {
if (this.get("category.name")) {
return I18n.t("topic.create_in", {
categoryName: this.get("category.name")
});
} else {
return I18n.t("topic.create");
}
}.property("category.name"),
/** /**
Refresh our current topic list Refresh our current topic list

View File

@ -8,7 +8,7 @@
</ul> </ul>
{{#if canCreateTopic}} {{#if canCreateTopic}}
<button class='btn btn-default' {{action createTopic}}><i class='icon icon-plus'></i>{{createTopicText}}</button> <button class='btn btn-default' {{action createTopic}}><i class='icon icon-plus'></i>{{i18n topic.create}}</button>
{{/if}} {{/if}}
{{#if canEditCategory}} {{#if canEditCategory}}

View File

@ -564,7 +564,6 @@ cs:
title: Detaily bodování tématu title: Detaily bodování tématu
topic: topic:
create_in: 'Nové téma v kategorii {{categoryName}}'
create: 'Nové téma' create: 'Nové téma'
create_long: 'Vytvořit nové téma' create_long: 'Vytvořit nové téma'
private_message: 'Vytvořit soukromou konverzaci' private_message: 'Vytvořit soukromou konverzaci'

View File

@ -385,7 +385,6 @@ da:
category: "Der er ikke flere emner i kategorien {{category}}." category: "Der er ikke flere emner i kategorien {{category}}."
topic: topic:
create_in: 'Opret emne i kategorien {{categoryName}}'
create: 'Opret emne' create: 'Opret emne'
create_long: 'Opret et nyt emne i debatten' create_long: 'Opret et nyt emne i debatten'
private_message: 'Start en privat samtale' private_message: 'Start en privat samtale'

View File

@ -574,7 +574,6 @@ de:
title: Themadetails title: Themadetails
topic: topic:
create_in: 'Neues Thema in {{categoryName}}'
create: 'Neues Thema' create: 'Neues Thema'
create_long: 'Neues Thema beginnen' create_long: 'Neues Thema beginnen'
private_message: 'Beginne ein privates Gespräch' private_message: 'Beginne ein privates Gespräch'

View File

@ -588,7 +588,6 @@ en:
topic: topic:
filter_to: "Show only the {{post_count}} posts by {{username}} in this topic" filter_to: "Show only the {{post_count}} posts by {{username}} in this topic"
create_in: 'Create {{categoryName}} Topic'
create: 'Create Topic' create: 'Create Topic'
create_long: 'Create a new Topic' create_long: 'Create a new Topic'
private_message: 'Start a private message' private_message: 'Start a private message'

View File

@ -477,7 +477,6 @@ es:
topic: topic:
create_in: 'Crear tema en {{categoryName}}'
create: 'Crear tema' create: 'Crear tema'
create_long: 'Crear un nuevo tema' create_long: 'Crear un nuevo tema'
private_message: 'Comenzar una conversación privada' private_message: 'Comenzar una conversación privada'

View File

@ -592,7 +592,6 @@ fr:
topic: topic:
filter_to: "Afficher uniquement les {{post_count}} messages de {{username}} dans cette discussion" filter_to: "Afficher uniquement les {{post_count}} messages de {{username}} dans cette discussion"
create_in: 'Créer une discussion dans la catégorie {{categoryName}}'
create: 'Créer une discussion' create: 'Créer une discussion'
create_long: 'Créer une nouvelle discussion' create_long: 'Créer une nouvelle discussion'
private_message: 'Commencer une discussion privée' private_message: 'Commencer une discussion privée'

View File

@ -349,7 +349,6 @@ id:
category: "There are no more {{category}} topics." category: "There are no more {{category}} topics."
topic: topic:
create_in: 'Create {{categoryName}} Topic'
create: 'Create Topic' create: 'Create Topic'
create_long: 'Create a new Topic' create_long: 'Create a new Topic'
private_message: 'Start a private message' private_message: 'Start a private message'

View File

@ -571,7 +571,6 @@ it:
title: Dettaglio Classifica Topic title: Dettaglio Classifica Topic
topic: topic:
create_in: 'Crea Topic in {{categoryName}}'
create: 'Crea Topic' create: 'Crea Topic'
create_long: 'Crea un nuovo Topic' create_long: 'Crea un nuovo Topic'
private_message: 'Inizia una conversazione privata' private_message: 'Inizia una conversazione privata'

View File

@ -432,7 +432,6 @@ ko:
title: 주제 랭킹 세부 사항 title: 주제 랭킹 세부 사항
topic: topic:
create_in: '{{categoryName}} 주제를 만듭니다'
create: '주제 만들기' create: '주제 만들기'
create_long: '새로운 주제를 개설합니다' create_long: '새로운 주제를 개설합니다'
private_message: '개인 메시지를 시작합니다' private_message: '개인 메시지를 시작합니다'

View File

@ -478,7 +478,6 @@ nb_NO:
title: Topic Rank Details title: Topic Rank Details
topic: topic:
create_in: 'Lag {{categoryName}} Emne'
create: 'Lag Emne' create: 'Lag Emne'
create_long: 'Lag ett nytt Emne' create_long: 'Lag ett nytt Emne'
private_message: 'Start enn private melding' private_message: 'Start enn private melding'

View File

@ -545,7 +545,6 @@ nl:
title: Details topic rangorde title: Details topic rangorde
topic: topic:
create_in: "Maak een {{categoryName}} topic"
create: Maak topic create: Maak topic
create_long: Maak een nieuw topic create_long: Maak een nieuw topic
private_message: Stuur een privé-bericht private_message: Stuur een privé-bericht

View File

@ -517,7 +517,6 @@ pseudo:
show: '[[ šĥóŵ ťóƿíč řáɳǩ ďéťáíłš ]]' show: '[[ šĥóŵ ťóƿíč řáɳǩ ďéťáíłš ]]'
title: '[[ Ťóƿíč Řáɳǩ Ďéťáíłš ]]' title: '[[ Ťóƿíč Řáɳǩ Ďéťáíłš ]]'
topic: topic:
create_in: '[[ Čřéáťé {{categoryName}} Ťóƿíč ]]'
create: '[[ Čřéáťé Ťóƿíč ]]' create: '[[ Čřéáťé Ťóƿíč ]]'
create_long: '[[ Čřéáťé á ɳéŵ Ťóƿíč ]]' create_long: '[[ Čřéáťé á ɳéŵ Ťóƿíč ]]'
private_message: '[[ Šťářť á ƿříνáťé ɱéššáǧé ]]' private_message: '[[ Šťářť á ƿříνáťé ɱéššáǧé ]]'

View File

@ -330,7 +330,6 @@ pt:
footer: "Não há mais tópicos neste categoria. <a href=\"/categories\">Procurar todas as categorias</a> ou <a href=\"/\">ver tópicos populares</a>" footer: "Não há mais tópicos neste categoria. <a href=\"/categories\">Procurar todas as categorias</a> ou <a href=\"/\">ver tópicos populares</a>"
topic: topic:
create_in: 'Criar Tópico sobre {{categoryName}}'
create: 'Criar Tópico' create: 'Criar Tópico'
create_long: 'Criar um novo Tópico' create_long: 'Criar um novo Tópico'
private_message: 'Começar uma nova conversa privada' private_message: 'Começar uma nova conversa privada'

View File

@ -585,7 +585,6 @@ pt_BR:
topic: topic:
filter_to: "Mostrar apenas os {{post_count}} de {{username}} neste tópico" filter_to: "Mostrar apenas os {{post_count}} de {{username}} neste tópico"
create_in: 'Criar Tópico sobre {{categoryName}}'
create: 'Criar Tópico' create: 'Criar Tópico'
create_long: 'Criar um novo Tópico' create_long: 'Criar um novo Tópico'
private_message: 'Começar uma nova conversa privada' private_message: 'Começar uma nova conversa privada'

View File

@ -580,7 +580,6 @@ ru:
title: 'Детальный рейтинг темы' title: 'Детальный рейтинг темы'
topic: topic:
filter_to: 'Show only the {{post_count}} posts by {{username}} in this topic' filter_to: 'Show only the {{post_count}} posts by {{username}} in this topic'
create_in: 'Создать тему'
create: 'Создать тему' create: 'Создать тему'
create_long: 'Создать новую тему' create_long: 'Создать новую тему'
private_message: 'Написать личное сообщение' private_message: 'Написать личное сообщение'

View File

@ -400,7 +400,6 @@ sv:
title: Trådranksdetaljer title: Trådranksdetaljer
topic: topic:
create_in: 'Skapa {{categoryName}}-tråd'
create: 'Skapa Tråd' create: 'Skapa Tråd'
create_long: 'Skapa en nytt Tråd' create_long: 'Skapa en nytt Tråd'
private_message: 'Starta en privat konversation' private_message: 'Starta en privat konversation'

View File

@ -586,7 +586,6 @@ zh_CN:
topic: topic:
filter_to: "只显示本主题中由{{username}}发表的{{post_count}}个帖子" filter_to: "只显示本主题中由{{username}}发表的{{post_count}}个帖子"
create_in: '创建一个 {{categoryName}} 分类的主题'
create: '创建主题' create: '创建主题'
create_long: '创建一个新主题' create_long: '创建一个新主题'
private_message: '开启一段私下交流' private_message: '开启一段私下交流'

View File

@ -527,7 +527,6 @@ zh_TW:
title: 主題排名詳細 title: 主題排名詳細
topic: topic:
create_in: '創建一個 {{categoryName}} 分類的主題'
create: '創建主題' create: '創建主題'
create_long: '創建一個新主題' create_long: '創建一個新主題'
private_message: '開啓一段私下交流' private_message: '開啓一段私下交流'