mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 05:02:18 +08:00
13 lines
370 B
Ruby
13 lines
370 B
Ruby
# frozen_string_literal: true
|
|
|
|
module ProjectFoldersHelper
|
|
def items_label(items)
|
|
if items == 'projects'
|
|
I18n.t('projects.index.modal_move_folder.items.projects')
|
|
elsif items == 'folders'
|
|
I18n.t('projects.index.modal_move_folder.items.folders')
|
|
else
|
|
I18n.t('projects.index.modal_move_folder.items.projects_and_folders')
|
|
end
|
|
end
|
|
end
|