[kde-russian] ( )

Alexander Yavorskiy kekcuha gmail.com
27 22:56:38 MSK 2022


,   ,  .

11.12.2022 18:16,  :
>   kateproject.po      .
> #~ msgid "Stage Hunk"
> #~ msgstr "   "
> #~ msgid "Stage Lines"
> #~ msgstr "   "
>    ,        
>    kate.po
> Unstage Hunk
> Discard Hunk
> Jump to Next Hunk
> Jump to Previous Hunk
>        .
>   
> /kate/apps/lib/diff/diffeditor.cpp
> /kate/apps/lib/diff/diffwidget.cpp
>  
>  QAction *before = nullptr;
>  if (!menu->actions().isEmpty())
>  before = menu->actions().constFirst();
>  if (m_flags.testFlag(DiffParams::Flag::ShowStage)) {
>  auto a = new QAction(i18np("Stage Line", "Stage Lines", 
> lineCount));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Line, DiffParams::Flag::ShowStage);
>  });
>  menu->insertAction(before, a);
>  a = new QAction(i18n("Stage Hunk"));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Hunk, DiffParams::Flag::ShowStage);
>  });
>  menu->insertAction(before, a);
>  }
>  if (m_flags.testFlag(DiffParams::Flag::ShowDiscard)) {
>  auto a = new QAction(i18np("Discard Line", "Discard Lines", 
> lineCount));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Line, DiffParams::Flag::ShowDiscard);
>  });
>  menu->insertAction(before, a);
>  a = new QAction(i18n("Discard Hunk"));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Hunk, DiffParams::Flag::ShowDiscard);
>  });
>  menu->insertAction(before, a);
>  }
>  if (m_flags.testFlag(DiffParams::Flag::ShowUnstage)) {
>  auto a = new QAction(i18np("Unstage Line", "Unstage Lines", 
> lineCount));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Line, DiffParams::Flag::ShowUnstage);
>  });
>  menu->insertAction(before, a);
>  a = new QAction(i18n("Unstage Hunk"));
>  connect(a, &QAction::triggered, this, [=] {
>  Q_EMIT actionTriggered(this, startLine, endLine, 
> (int)Hunk, DiffParams::Flag::ShowUnstage);
>  });
>  menu->insertAction(before, a);
>  }
> }
> 11.12.2022, 11:38, " " <farline99  yandex.ru>:
>
>       Kate 22.12
>     ,
>
>     _______________________________________________
>     kde-russian mailing list
>     kde-russian  lists.kde.ru
>     https://lists.kde.ru/mailman/listinfo/kde-russian
>
> -- 
>  ,
> 
> victorr2007  yandex.ru
>
> _______________________________________________
> kde-russian mailing list
> kde-russian  lists.kde.ru
> https://lists.kde.ru/mailman/listinfo/kde-russian

-- 
 ,
 .

-----------   -----------
   HTML  ...
URL: <http://lists.kde.ru/pipermail/kde-russian/attachments/20221227/8a479e70/attachment-0001.html>
-----------   -----------
      ...
     : OpenPGP_signature
     : application/pgp-signature
  : 495 
: OpenPGP digital signature
Url     : <http://lists.kde.ru/pipermail/kde-russian/attachments/20221227/8a479e70/attachment-0001.bin>


kde-russian