[minor] translate the action name in get_slide_settings (#10740)
This commit is contained in:
parent
336c9b23d6
commit
d0823adf42
@ -12,7 +12,7 @@ def get_slide_settings():
|
|||||||
# Initial state of slides
|
# Initial state of slides
|
||||||
return [
|
return [
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Company',
|
action_name=_('Add Company'),
|
||||||
title=_("Setup Company") if domain != 'Education' else _("Setup Institution"),
|
title=_("Setup Company") if domain != 'Education' else _("Setup Institution"),
|
||||||
help=_('Setup your ' + ('company' if domain != 'Education' else 'institution') + ' and brand.'),
|
help=_('Setup your ' + ('company' if domain != 'Education' else 'institution') + ' and brand.'),
|
||||||
# image_src="/assets/erpnext/images/illustrations/shop.jpg",
|
# image_src="/assets/erpnext/images/illustrations/shop.jpg",
|
||||||
@ -32,7 +32,7 @@ def get_slide_settings():
|
|||||||
)
|
)
|
||||||
,
|
,
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Customers',
|
action_name=_('Add Customers'),
|
||||||
domains=('Manufacturing', 'Services', 'Retail', 'Distribution'),
|
domains=('Manufacturing', 'Services', 'Retail', 'Distribution'),
|
||||||
icon="fa fa-group",
|
icon="fa fa-group",
|
||||||
title=_("Add Customers"),
|
title=_("Add Customers"),
|
||||||
@ -57,7 +57,7 @@ def get_slide_settings():
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Suppliers',
|
action_name=_('Add Suppliers'),
|
||||||
domains=('Manufacturing', 'Services', 'Retail', 'Distribution'),
|
domains=('Manufacturing', 'Services', 'Retail', 'Distribution'),
|
||||||
icon="fa fa-group",
|
icon="fa fa-group",
|
||||||
title=_("Your Suppliers"),
|
title=_("Your Suppliers"),
|
||||||
@ -86,7 +86,7 @@ def get_slide_settings():
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Products',
|
action_name=_('Add Products'),
|
||||||
domains=['Manufacturing', 'Services', 'Retail', 'Distribution'],
|
domains=['Manufacturing', 'Services', 'Retail', 'Distribution'],
|
||||||
icon="fa fa-barcode",
|
icon="fa fa-barcode",
|
||||||
title=_("Your Products or Services"),
|
title=_("Your Products or Services"),
|
||||||
@ -117,7 +117,7 @@ def get_slide_settings():
|
|||||||
|
|
||||||
# School slides begin
|
# School slides begin
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Programs',
|
action_name=_('Add Programs'),
|
||||||
domains=("Education"),
|
domains=("Education"),
|
||||||
title=_("Program"),
|
title=_("Program"),
|
||||||
help=_("Example: Masters in Computer Science"),
|
help=_("Example: Masters in Computer Science"),
|
||||||
@ -138,7 +138,7 @@ def get_slide_settings():
|
|||||||
|
|
||||||
),
|
),
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Courses',
|
action_name=_('Add Courses'),
|
||||||
domains=["Education"],
|
domains=["Education"],
|
||||||
title=_("Course"),
|
title=_("Course"),
|
||||||
help=_("Example: Basic Mathematics"),
|
help=_("Example: Basic Mathematics"),
|
||||||
@ -158,7 +158,7 @@ def get_slide_settings():
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Instructors',
|
action_name=_('Add Instructors'),
|
||||||
domains=["Education"],
|
domains=["Education"],
|
||||||
title=_("Instructor"),
|
title=_("Instructor"),
|
||||||
help=_("People who teach at your organisation"),
|
help=_("People who teach at your organisation"),
|
||||||
@ -178,7 +178,7 @@ def get_slide_settings():
|
|||||||
]
|
]
|
||||||
),
|
),
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Rooms',
|
action_name=_('Add Rooms'),
|
||||||
domains=["Education"],
|
domains=["Education"],
|
||||||
title=_("Room"),
|
title=_("Room"),
|
||||||
help=_("Classrooms/ Laboratories etc where lectures can be scheduled."),
|
help=_("Classrooms/ Laboratories etc where lectures can be scheduled."),
|
||||||
@ -197,7 +197,7 @@ def get_slide_settings():
|
|||||||
# School slides end
|
# School slides end
|
||||||
|
|
||||||
frappe._dict(
|
frappe._dict(
|
||||||
action_name='Add Users',
|
action_name=_('Add Users'),
|
||||||
title=_("Add Users"),
|
title=_("Add Users"),
|
||||||
help=_("Add users to your organization, other than yourself."),
|
help=_("Add users to your organization, other than yourself."),
|
||||||
fields=[
|
fields=[
|
||||||
|
Loading…
Reference in New Issue
Block a user