mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-86978 'IDEA' in a tooltip for 'Update Project'
This commit is contained in:
@@ -453,9 +453,9 @@ update.options.no.commit=No &Commit
|
||||
update.options.save.before.update=Clean working tree before update
|
||||
update.options.save.keep.tooltip=Leave changes on working tree
|
||||
update.options.save.keep=Do &Not Clean
|
||||
update.options.save.shelve.tooltip=Use IDEA Shelve (the files will be restored when update finishes)
|
||||
update.options.save.shelve.tooltip=Use {0}''s Shelve to save changes (the files will be restored after update)
|
||||
update.options.save.shelve=Using She&lve
|
||||
update.options.save.stash.tooltip=Use 'git stash' to save changes (the files will be restored when update finishes)
|
||||
update.options.save.stash.tooltip=Use Git Stash to save changes (the files will be restored after update)
|
||||
update.options.save.stash=Using S&tash
|
||||
update.options.type.default.tooltip=Use branch default update strategy for all updated Git VCS roots
|
||||
update.options.type.default=Branch &Default
|
||||
|
||||
@@ -70,13 +70,12 @@
|
||||
<toolTipText resource-bundle="git4idea/i18n/GitBundle" key="update.options.save.stash.tooltip"/>
|
||||
</properties>
|
||||
</component>
|
||||
<component id="d7fb3" class="javax.swing.JRadioButton" binding="myShelveRadioButton" default-binding="true">
|
||||
<component id="d7fb3" class="javax.swing.JRadioButton" binding="myShelveRadioButton" custom-create="true" default-binding="true">
|
||||
<constraints>
|
||||
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
|
||||
</constraints>
|
||||
<properties>
|
||||
<text resource-bundle="git4idea/i18n/GitBundle" key="update.options.save.shelve"/>
|
||||
<toolTipText resource-bundle="git4idea/i18n/GitBundle" key="update.options.save.shelve.tooltip"/>
|
||||
<selected value="false"/>
|
||||
</properties>
|
||||
</component>
|
||||
</children>
|
||||
|
||||
@@ -15,8 +15,10 @@
|
||||
*/
|
||||
package git4idea.update;
|
||||
|
||||
import com.intellij.openapi.application.ApplicationNamesInfo;
|
||||
import git4idea.config.GitVcsSettings;
|
||||
import git4idea.config.UpdateMethod;
|
||||
import git4idea.i18n.GitBundle;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
@@ -93,4 +95,9 @@ public class GitUpdateOptionsPanel {
|
||||
UpdatePolicyUtils.updatePolicyItem(settings.updateChangesPolicy(), myStashRadioButton, myShelveRadioButton);
|
||||
}
|
||||
|
||||
private void createUIComponents() {
|
||||
myShelveRadioButton = new JRadioButton(GitBundle.message("update.options.save.shelve"));
|
||||
myShelveRadioButton.setToolTipText(GitBundle.message("update.options.save.shelve.tooltip",
|
||||
ApplicationNamesInfo.getInstance().getFullProductName()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user