fix(translation): Add all possible views as comment (#16097)

This commit is contained in:
Suraj Shetty 2022-02-23 13:21:21 +05:30 committed by GitHub
parent bea0b1bea2
commit bedf60280f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -204,6 +204,11 @@ frappe.views.BaseList = class BaseList {
};
if (frappe.boot.desk_settings.view_switcher) {
/* @preserve
for translation, don't remove
__("List View") __("Report View") __("Dashboard View") __("Gantt View"),
__("Kanban View") __("Calendar View") __("Image View") __("Inbox View"),
__("Tree View") __("Map View") */
this.views_menu = this.page.add_custom_button_group(__('{0} View', [this.view_name]),
icon_map[this.view_name] || 'list');
this.views_list = new frappe.views.ListViewSelect({