]> git.openstreetmap.org Git - potlatch2.git/blobdiff - l10n/map/LocalizationMap.mxml
Use public vars for toolbox delete strings so that they can be translated
[potlatch2.git] / l10n / map / LocalizationMap.mxml
index bb91c70161a782bb8aa1aa8991411db67c094333..64858764f774889c813e1ecd4e1b09c02479ccc4 100644 (file)
@@ -13,7 +13,7 @@
 
       import net.systemeD.potlatch2.help.HelpDialog;
       import net.systemeD.potlatch2.TagViewer;
-
+      import net.systemeD.potlatch2.Toolbox;
 
       private function onLocaleChanged(event:Event):void {
           var rMngr : IResourceManager = ResourceManager.getInstance();
     <ResourceProxy property="dndPrompt" key="tag_viewer.dndprompt" />
   </SmartResourceInjector>
 
+  <SmartResourceInjector bundleName="p2_main" target="{Toolbox}">
+    <ResourceProxy property="deleteNode" key="toolbox.delete_node" />
+    <ResourceProxy property="deleteWay" key="toolbox.delete_way" />
+    <ResourceProxy property="deleteArea" key="toolbox.delete_area" />
+    <ResourceProxy property="deleteItem" key="toolbox.delete_item" />
+  </SmartResourceInjector>
 </LocaleMap>
\ No newline at end of file