Skip to content

Commit

Permalink
New words order for storage lost error msg
Browse files Browse the repository at this point in the history
New words order for the storage lost error message, to adapt more
language translation.
  • Loading branch information
Zhu Lingshan committed Mar 22, 2018
1 parent 7f4d4e1 commit d9ec81e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/include/iscsi-lio-server/TargetData.rb
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,10 @@ def analyze
lun_path_tmp = RE_LUN_PATH.match(line).to_s
lun_path = lun_path_tmp[1,lun_path_tmp.length-2]
if !File.exist?(lun_path)
Yast::Popup.Error(_("Can not access the storage ") + lun_path + _(". Please consider re-connect the storage or delete then re-create the target which using this storage.\n"))
msg = format(_("Cannot access the storage %s.\n" \
"Please consider reconnecting the storage or\n" \
"deleting then recreating the target which is using this storage."), lun_path)
Yast::Popup.Error(msg)
else
@current_tpg.store_lun(lun_num,[rand(9999), lun_num_int, lun_name, lun_path, File.ftype(lun_path)])
end
Expand Down

0 comments on commit d9ec81e

Please sign in to comment.