ソースを参照

fix: add string to translate function onboarding widget (#18185) (#18196)

[skip ci]

(cherry picked from commit a7cf590768)

Co-authored-by: Ernesto Ruiz <ernesto_ruiz89@hotmail.com>
version-14
mergify[bot] 2年前
committed by GitHub
コミット
f5eb79d5ed
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      frappe/public/js/frappe/widgets/onboarding_widget.js

+ 2
- 2
frappe/public/js/frappe/widgets/onboarding_widget.js ファイルの表示

@@ -117,13 +117,13 @@ export default class OnboardingWidget extends Widget {
const set_description = () => {
let content = step.description
? frappe.markdown(step.description)
: `<h1>${step.title}</h1>`;
: `<h1>${__(step.title)}</h1>`;

if (step.action === "Create Entry") {
// add a secondary action to view list
content += `<p>
<a href='/app/${frappe.router.slug(step.reference_document)}'>
${__("Show {0} List", [step.reference_document])}</a>
${__("Show {0} List", [__(step.reference_document)])}</a>
</p>`;
}



読み込み中…
キャンセル
保存