mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[copyright] i18n
GitOrigin-RevId: a7affe59692008962f93c6826a953d50011a6314
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fa22cf5b8a
commit
1a0b81cf89
@@ -50,12 +50,12 @@ settings.copyright.formatting.use.block.comment=Use block comment
|
||||
settings.copyright.formatting.use.custom.formatting.options=Use custom formatting options
|
||||
settings.copyright.formatting.use.default.settings=Use default settings
|
||||
settings.copyright.formatting.use.line.comment=Use line comment
|
||||
task.title.prepare.copyright=Prepare copyright…
|
||||
action.UpdateCopyright.text=Update Copyright…
|
||||
task.title.prepare.copyright=Prepare copyright\u2026
|
||||
action.UpdateCopyright.text=Update Copyright\u2026
|
||||
action.UpdateCopyright.description=Generate/Update the copyright notice.
|
||||
action.GenerateCopyright.text=Copyright
|
||||
action.GenerateCopyright.description=Generate/Update the copyright notice.
|
||||
updating.copyrights.progress.message=Updating copyrights…
|
||||
updating.copyrights.progress.message=Updating copyrights\u2026
|
||||
update.copyright.progress.title=Update copyright
|
||||
replace.copyright.regexp.is.incorrect.configuration.error=Replace copyright regexp is incorrect:
|
||||
detect.copyright.regexp.is.incorrect.configuration.error=Detect copyright regexp is incorrect:
|
||||
@@ -71,4 +71,5 @@ radio.location.in.file.before.imports=Before imports
|
||||
radio.location.in.file.before.package=Before package
|
||||
radio.location.in.file.before.root.tag=Before root tag
|
||||
radio.location.in.file.before.doctype=Before doctype
|
||||
settings.copyright.formatting.add.blank.line.before=Add blank line &before
|
||||
settings.copyright.formatting.add.blank.line.before=Add blank line &before
|
||||
link.label.configure.copyright.settings=Configure copyright settings
|
||||
@@ -2,6 +2,7 @@
|
||||
package com.maddyhome.idea.copyright.actions;
|
||||
|
||||
import com.intellij.codeInsight.actions.onSave.ActionOnSaveInfoBase;
|
||||
import com.intellij.copyright.CopyrightBundle;
|
||||
import com.intellij.ide.actionsOnSave.ActionOnSaveContext;
|
||||
import com.intellij.ide.actionsOnSave.ActionOnSaveInfo;
|
||||
import com.intellij.ide.actionsOnSave.ActionOnSaveInfoProvider;
|
||||
@@ -27,11 +28,11 @@ public final class CopyrightOnSaveInfoProvider extends ActionOnSaveInfoProvider
|
||||
|
||||
@Override
|
||||
protected @NotNull Collection<? extends ActionOnSaveInfo> getActionOnSaveInfos(@NotNull ActionOnSaveContext context) {
|
||||
return Collections.singletonList(new ActionOnSaveInfoBase(context, "Update copyright",
|
||||
return Collections.singletonList(new ActionOnSaveInfoBase(context, CopyrightBundle.message("before.checkin.update.copyright"),
|
||||
UPDATE_COPYRIGHT_ON_SAVE, UPDATE_COPYRIGHT_BY_DEFAULT) {
|
||||
@Override
|
||||
public @NotNull List<? extends ActionLink> getActionLinks() {
|
||||
return List.of(createGoToPageInSettingsLink("Configure copyright settings",
|
||||
return List.of(createGoToPageInSettingsLink(CopyrightBundle.message("link.label.configure.copyright.settings"),
|
||||
CopyrightProjectConfigurable.ID));
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user