kvichans / cuda_backup_file

CudaText plugin with events/commands to create copy of current file and to compare

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lang

kvichans opened this issue · comments

Сообщения, которые видит пользователь:
messages.pot.txt

Commands "Copy to" and "Diff with" will use old state.
Нету 2х команд.Есть одна

"Fail to create dir" --"Cannot create dir"

"Create backup fail: invalid path"--"Cannot create backup copy...,,"

"of parent directory"---?? Dir и так парент.

"hour" "minute" "secobd"--надо множ. число

Commands "Copy to" and "Diff with" will use old state.
Нету 2х команд.Есть одна

Так лучше?:

Text modified!
The command will use old state.
Continue?

"of parent directory"---?? Dir и так парент.

Да, невнятно получилось: {FILE_DIR|p} - Path of parent directory of current file.
{FILE_DIR} - это директория тек. файла.
{FILE_DIR|p} - это дир, в которую вложен {FILE_DIR}.
{FILE_DIR|p:2} - это еще на один уровень выше.
Есть идеи как это выразить?

{FILE_DIR} - это директория тек. файла.
{FILE_DIR|p} - это дир, в которую вложен {FILE_DIR}.
{FILE_DIR|p:2} - это еще на один уровень выше.

  • directory of current file
  • directory level upper, than FILE_DIR
  • directory 2 levels upper, than FILE_DIR

Ваша правка ок.

Поставил

{FILE_DIR}              Path of directory of current file
{FILE_DIR|name}         Name of directory of current file
{FILE_DIR|p}            Path of directory level upper, than {FILE_DIR}
{FILE_DIR|p|name}       Name of directory level upper, than {FILE_DIR}

ok.