mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-02 13:12:13 +08:00
14 lines
370 B
Ruby
14 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
|