デフォルト
@@ -7,6 +7,7 @@ | ||
7 | 7 | package jp.sourceforge.mergedoc.pleiades.runtime.resource; |
8 | 8 | |
9 | 9 | import java.util.Arrays; |
10 | +import java.util.Collection; | |
10 | 11 | import java.util.Map; |
11 | 12 | import java.util.concurrent.ConcurrentHashMap; |
12 | 13 | import java.util.regex.Pattern; |
@@ -94,6 +95,11 @@ | ||
94 | 95 | if (en instanceof Object[]) { |
95 | 96 | return translate((Object[]) en, jointPoint); |
96 | 97 | } |
98 | + if (en instanceof Collection) { | |
99 | + Collection<?> c = (Collection<?>) en; | |
100 | + Object[] ja = translate(c.toArray(), jointPoint); | |
101 | + return Arrays.asList(ja); | |
102 | + } | |
97 | 103 | return en; |
98 | 104 | } |
99 | 105 |
@@ -143,28 +143,8 @@ | ||
143 | 143 | </jointPoint> |
144 | 144 | |
145 | 145 | </pointCut> |
146 | - <pointCut editPoint="call" timing="around"> | |
147 | - <advice><![CDATA[ | |
148 | - $_ = $proceed($$); | |
149 | - // キー限定: 設定上部のパンくずリスト (ビルド、実行、デプロイ > デバッガー > データ・ビュー) | |
150 | - if ($2 != null && $2.endsWith("display.name")) | |
151 | - $_ = ?{translation.class}.translateIgnoreMnemonic($_, null); | |
152 | - ]]></advice> | |
153 | - | |
154 | - <jointPoint className="com.intellij.BundleBase" methodName="messageOrDefault"/> | |
155 | - | |
156 | - </pointCut> | |
157 | 146 | <pointCut editPoint="execution" timing="after"> |
158 | 147 | <advice><![CDATA[ |
159 | - return ?{translation.class}.translateIgnoreMnemonic($_, null); | |
160 | - ]]></advice> | |
161 | - | |
162 | - <!-- 設定上部のパンくずリスト (外観 & 振る舞い など) --> | |
163 | - <jointPoint className="com.intellij.openapi.options.ex.ConfigurableExtensionPointUtil" methodName="getString"/> | |
164 | - | |
165 | - </pointCut> | |
166 | - <pointCut editPoint="execution" timing="after"> | |
167 | - <advice><![CDATA[ | |
168 | 148 | return ?{translation.class}.translateUnderscoreMnemonic($_, null); |
169 | 149 | ]]></advice> |
170 | 150 |
@@ -178,13 +158,23 @@ | ||
178 | 158 | <!-- プロジェクトビュー > 外部ライブラリー --> |
179 | 159 | <jointPoint className="com.intellij.ide.IdeBundle" methodName="message"/> |
180 | 160 | |
181 | - <!-- 設定 > エディター > カラー・スキームの切り替え > パンくずリスト末尾要素名 --> | |
182 | - <jointPoint className="com.intellij.openapi.options.OptionsBundle" methodName="message"/> | |
183 | - | |
184 | 161 | <!-- 設定 > エディター > カラー・スキームの切り替え > 言語デフォルト > セマンティック強調表示 --> |
185 | 162 | <jointPoint className="com.intellij.openapi.application.ApplicationBundle" methodName="message"/> |
186 | 163 | |
164 | + <!-- 設定 > パンくずリスト > 右クリックメニュー --> | |
165 | + <jointPoint className="com.intellij.idea.ActionsBundle" methodName="message"/> | |
166 | + | |
187 | 167 | </pointCut> |
168 | + <pointCut editPoint="execution" timing="after"> | |
169 | + <advice><![CDATA[ | |
170 | + $_ = ?{translation.class}.translate($_, null); | |
171 | + ]]></advice> | |
172 | + | |
173 | + <!-- 設定 > パンくずリスト (Collection<String>) --> | |
174 | + <jointPoint className="com.intellij.openapi.options.newEditor.SettingsTreeView" methodName="getPathNames" | |
175 | + descriptor="(Lcom/intellij/openapi/options/newEditor/SettingsTreeView$MyNode;)Ljava/util/Collection;"/> | |
176 | + | |
177 | + </pointCut> | |
188 | 178 | <!-- ########## END --> |
189 | 179 | |
190 | 180 | <!-- 翻訳 (after) ニーモニックなし --> |
@@ -936,7 +926,7 @@ | ||
936 | 926 | else if ($0 instanceof javax.swing.JToggleButton || $0.getClass().getName().equals("javax.swing.JButton")) |
937 | 927 | $1 = ?{translation.class}.translate($1, null); |
938 | 928 | // JMenuItem (git コミットダイアログのコミットボタンメニュー) |
939 | - else if ($1 != null && $1.endsWith("...")) | |
929 | + else if ($1.endsWith("...")) | |
940 | 930 | $1 = ?{translation.class}.translate($1, null); |
941 | 931 | // ----- ↓高速化のため使用しない (JOINT_POINT を渡さない限り除外定義は使用されない) ----- |
942 | 932 | // JMenuItem、JButton サブクラス (コンボなど) の場合は除外定義を使用する |
@@ -1498,7 +1488,7 @@ | ||
1498 | 1488 | |
1499 | 1489 | <property name="trace.pattern" value=""/> |
1500 | 1490 | <property name="trace.is.ja" value="false"/> |
1501 | - <property name="trace.disabled" value="false"/> | |
1491 | + <property name="trace.disabled" value="true"/> | |
1502 | 1492 | <property name="log.desc.class" value=""/> |
1503 | 1493 | |
1504 | 1494 | </pleiades> |