Re: [xwiki-users] Search for translations
On Wed, Feb 24, 2010 at 12:08, Valdis Vītoliņš valdis.vitol...@odo.lv wrote: Actually I'd like to change it once more because for me searching by (poorly) translated text, not the key is more usual. What do you think? Yes good idea. I could easily do a extended search form I guess like: o search in translated o search in original o search in key It is already implemented in http://l10n.xwiki.org/xwiki/bin/view/L10N/Search I propose to change Search translation field shown in home page from key to translated text in panel http://l10n.xwiki.org/xwiki/bin/view/L10NCode/SearchPanel Done. (I have no edit rights to do it myself). Hmm i never tried the search before now and indeed it's very slow i will see if i can do something to improve it. Good luck in your investigation! Valdis -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problems with links
Marius Dumitru Florea wrote: I opened http://jira.xwiki.org/jira/browse/XWIKI-4931 . I'm looking for a clean fix. Should be fixed now. Will be available on 2.2.2 and 2.3M1. If you can verify the latest 2.3SNAPHSHOT that would be great. Thanks, Marius Thanks, Marius Marius Dumitru Florea wrote: Hi Claudio, ccoreggioli wrote: Hi Marius, i prepared a test environment where i can always reproduce the problem, if you want to try it. You can edit this page: https://www.gidi.it/xwiki/bin/view/Claudio/ProvaLink I managed to reproduce the issue on a virtual machine with IE7. Sorry for not letting you know. I've been busy all day debugging. It seems IE7's implementation of cloneNode and removeAttribute is buggy. For instance the following code crashes the browser: {{html}} script type=text/javascript function testRemoveAttribute(element, attributeName) { var clone = element.cloneNode(); clone.removeAttribute(attributeName); var attrNode = element.getAttributeNode(attributeName); return !!attrNode ? attrNode.specified : 'missing'; } function action(hook) { var attrName = 'foobar'; var element = document.createElement('span'); element.setAttribute(attrName, 'xwiki'); alert(testRemoveAttribute(element, attrName)); alert(testRemoveAttribute(element, attrName)); alert(testRemoveAttribute(element, attrName)); } /script button onclick=action(this)Action/button {{/html}} The behavior is really strange. I'm just cloning an element and removing an attribute from the clone. The first time the original element still has the attribute, the second time the attribute appears as unspecified, and the third time the browser crashes. I rely on cloneNode and removeAttribute for serializing the content before submitting it. I still don't understand why the serialization doesn't fail all the time but just when you edit the text around the link. I'm still investigating. I'll try to fix this issue asap. since i made you admin of Claudio space. The site is quite slow, due to a couple of bounces before the real server (proxying mod_jk), but i assure you that i face the same behaviour going directly to it. Site is in https, but after logon you'll be redirected to the http version, that doesn't work from outside my company (public site cannot be touched). Simply change the protocol back to https and you'll be in again. You can use marius for both username and password. Thanks again for your support. I hope to have a fix asap. I'll continue debugging on my virtual machine. Thanks, Marius As said, the issue is with IE7. I got version 7.0.5730.13 running on XP sp3. Every other browsers work fine. Thanks again, claudio ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Where to improve the translation, resource file or l10i.xwiki.org
Hi, I have some question about translation. 1. Is the ApplicationResources_zh.properties exported from l10i.xwiki.org? But I find the resources file in xwiki 2.2.1 release package is not the same as the resource file I get from l10i.xwiki.org. 2. I think the (Total translations = Empty translations + Outdated translations + Translations to review), but in the site I found it is not equal all the time, for example, Simplified Chinese (zh), Total translations: 2425 Empty translations: 477 Outdated translations: 29 Translations to review: 1454 477 + 29 + 1454 = 1960 != 2425. Does this mean the missing 465 items are Validated? What is the relationship between total empty and outdate translations. 3. If I want to improve the translation. Do I modify the resource file and submit a patch or I just edit l10i.xwiki.org. Thanks. Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Where to improve the translation, resource file or l10i.xwiki.org
Hi, I have some question about translation. 1. Is the ApplicationResources_zh.properties exported from l10i.xwiki.org? But I find the resources file in xwiki 2.2.1 release package is not the same as the resource file I get from l10i.xwiki.org. *.properties file generated from l10i.xwiki.org is the most recent one. IMHO it is regularly imported to the xwiki releases, but if active localization is going, it is always older. 2. I think the (Total translations = Empty translations + Outdated translations + Translations to review), but in the site I found it is not equal all the time, for example, Simplified Chinese (zh), Total translations: 2425 Empty translations: 477 Outdated translations: 29 Translations to review: 1454 477 + 29 + 1454 = 1960 != 2425. Does this mean the missing 465 items are Validated? What is the relationship between total empty and outdate translations. I'm not mathematician and don't care abut sums. I care only care about empty and outdated ones. 3. If I want to improve the translation. Do I modify the resource file and submit a patch or I just edit l10i.xwiki.org. IMHO xwikians don't have elegant tool and they do it manually, so incremental updates are better done online in l10i.xwiki.org site. Valdis Thanks. Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Where to improve the translation, resource file or l10i.xwiki.org
On Sun, Feb 28, 2010 at 15:58, Wang Ning daning...@gmail.com wrote: Hi, I have some question about translation. 1. Is the ApplicationResources_zh.properties exported from l10i.xwiki.org? But I find the resources file in xwiki 2.2.1 release package is not the same as the resource file I get from l10i.xwiki.org. It just mean someone added/modified some translations since 2.2.1 was released. 2. I think the (Total translations = Empty translations + Outdated translations + Translations to review), but in the site I found it is not equal all the time, for example, Simplified Chinese (zh), Total translations: 2425 Empty translations: 477 Outdated translations: 29 Translations to review: 1454 477 + 29 + 1454 = 1960 != 2425. Does this mean the missing 465 items are Validated? What is the relationship between total empty and outdate translations. Yes validated translations does not have their own column because it's useless. As Valdis said what's important is what needs to be done. In fact I'm not even sure Total translations is useful. It does not bring any value IMO. Note that this number also contains dead translations (useless translations because some keys has been removed from default language resource file), i need to fix that sometimes (if i don't simply remove the column). 3. If I want to improve the translation. Do I modify the resource file and submit a patch or I just edit l10i.xwiki.org. Just edit http://l10n.xwiki.org Thanks. Wang Ning ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users