mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update i18n for project feature
This commit is contained in:
parent
d047b75cb7
commit
199ff071e8
@ -588,6 +588,7 @@
|
|||||||
"noSummaryAvailable": "No summary available",
|
"noSummaryAvailable": "No summary available",
|
||||||
"editDescription": "Edit project description",
|
"editDescription": "Edit project description",
|
||||||
"editDependencies": "Edit project dependencies",
|
"editDependencies": "Edit project dependencies",
|
||||||
|
"noDescriptionAvailable": "No description available",
|
||||||
"editReadme": "Edit README.md",
|
"editReadme": "Edit README.md",
|
||||||
"showProjectSettings": "Show project settings",
|
"showProjectSettings": "Show project settings",
|
||||||
"projectSettings": {
|
"projectSettings": {
|
||||||
|
@ -325,7 +325,7 @@
|
|||||||
"locale": "UI言語の選択",
|
"locale": "UI言語の選択",
|
||||||
"icon": "記号",
|
"icon": "記号",
|
||||||
"inputType": "入力形式",
|
"inputType": "入力形式",
|
||||||
"inputs" : {
|
"inputs": {
|
||||||
"input": "入力",
|
"input": "入力",
|
||||||
"select": "メニュー",
|
"select": "メニュー",
|
||||||
"checkbox": "チェックボックス",
|
"checkbox": "チェックボックス",
|
||||||
@ -585,9 +585,10 @@
|
|||||||
"description": "詳細",
|
"description": "詳細",
|
||||||
"dependencies": "依存関係",
|
"dependencies": "依存関係",
|
||||||
"settings": "設定",
|
"settings": "設定",
|
||||||
"noSummaryAvailable": "サマリが存在しません",
|
"noSummaryAvailable": "要約が存在しません",
|
||||||
"editDescription": "プロジェクトの詳細を編集",
|
"editDescription": "プロジェクトの詳細を編集",
|
||||||
"editDependencies": "プロジェクトの依存関係を編集",
|
"editDependencies": "プロジェクトの依存関係を編集",
|
||||||
|
"noDescriptionAvailable": "詳細が存在しません",
|
||||||
"editReadme": "README.mdを編集",
|
"editReadme": "README.mdを編集",
|
||||||
"showProjectSettings": "プロジェクト設定を表示",
|
"showProjectSettings": "プロジェクト設定を表示",
|
||||||
"projectSettings": {
|
"projectSettings": {
|
||||||
|
@ -160,7 +160,7 @@ RED.projects.settings = (function() {
|
|||||||
if (activeProject.description) {
|
if (activeProject.description) {
|
||||||
desc = marked(activeProject.description);
|
desc = marked(activeProject.description);
|
||||||
} else {
|
} else {
|
||||||
desc = '<span class="red-ui-help-info-none">'+'No description available'+'</span>';
|
desc = '<span class="red-ui-help-info-none">' + RED._("sidebar.project.noDescriptionAvailable") + '</span>';
|
||||||
}
|
}
|
||||||
var description = addTargetToExternalLinks($('<span class="red-ui-text-bidi-aware" dir=\"'+RED.text.bidi.resolveBaseTextDir(desc)+'">'+desc+'</span>')).appendTo(container);
|
var description = addTargetToExternalLinks($('<span class="red-ui-text-bidi-aware" dir=\"'+RED.text.bidi.resolveBaseTextDir(desc)+'">'+desc+'</span>')).appendTo(container);
|
||||||
description.find(".red-ui-text-bidi-aware").contents().filter(function() { return this.nodeType === 3 && this.textContent.trim() !== "" }).wrap( "<span></span>" );
|
description.find(".red-ui-text-bidi-aware").contents().filter(function() { return this.nodeType === 3 && this.textContent.trim() !== "" }).wrap( "<span></span>" );
|
||||||
@ -222,7 +222,7 @@ RED.projects.settings = (function() {
|
|||||||
if (summary) {
|
if (summary) {
|
||||||
container.text(summary).removeClass('node-info-node');
|
container.text(summary).removeClass('node-info-node');
|
||||||
} else {
|
} else {
|
||||||
container.text(RED._("sidebar.project.projectSettings.noSummaryAvailable")).addClass('red-ui-help-info-none');
|
container.text(RED._("sidebar.project.noSummaryAvailable")).addClass('red-ui-help-info-none');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ RED.sidebar.info = (function() {
|
|||||||
|
|
||||||
var activeProject = RED.projects.getActiveProject();
|
var activeProject = RED.projects.getActiveProject();
|
||||||
if (activeProject) {
|
if (activeProject) {
|
||||||
propRow = $('<tr class="red-ui-help-info-row"><td>Project</td><td></td></tr>').appendTo(tableBody);
|
propRow = $('<tr class="red-ui-help-info-row"><td>'+ RED._("sidebar.project.name") + '</td><td></td></tr>').appendTo(tableBody);
|
||||||
$(propRow.children()[1]).text(activeProject.name||"");
|
$(propRow.children()[1]).text(activeProject.name||"");
|
||||||
$('<tr class="red-ui-help-property-expand blank"><td colspan="2"></td></tr>').appendTo(tableBody);
|
$('<tr class="red-ui-help-property-expand blank"><td colspan="2"></td></tr>').appendTo(tableBody);
|
||||||
var editProjectButton = $('<button class="red-ui-button red-ui-button-small" style="position:absolute;right:2px;"><i class="fa fa-ellipsis-h"></i></button>')
|
var editProjectButton = $('<button class="red-ui-button red-ui-button-small" style="position:absolute;right:2px;"><i class="fa fa-ellipsis-h"></i></button>')
|
||||||
|
Loading…
Reference in New Issue
Block a user