We are performing a system maintenance on Wednesday 2021-09-22. Translatewiki.net will be inaccessible for short periods of time.

Difference between revisions of "Thread:Support/Error on Wikimedia:Citationhunt-instructions details/zh-hans/reply (2)"

From translatewiki.net
Jump to navigation Jump to search
 
m
 
Line 3: Line 3:
 
There's just a couple of things to watch out for, because this string handling code in Citation Hunt is not great:
 
There's just a couple of things to watch out for, because this string handling code in Citation Hunt is not great:
   
- As you can see from the example above, there are two kinds of syntax for parameters in some strings ({this} and %s).
+
* As you can see from the example above, there are two kinds of syntax for parameters in some strings ({this} and %s).
- Due to out of date translations, some strings now have _too many_, rather than too few parameters (e.g. https://translatewiki.net/wiki/Wikimedia:Citationhunt-instructions_details/pl has three %s, which we handle in the code, but it really should be two at this point).
+
* Due to out of date translations, some strings now have _too many_, rather than too few parameters (e.g. https://translatewiki.net/wiki/Wikimedia:Citationhunt-instructions_details/pl has three %s, which we handle in the code, but it really should be two at this point).
   
 
But if those are OK on TranslateWiki, it's all good on my end.
 
But if those are OK on TranslateWiki, it's all good on my end.

Latest revision as of 21:40, 30 November 2020

Thank you! Yes, I think it would make sense to make it an error please. I suppose that means those strings will never be exported to the repository, right?

There's just a couple of things to watch out for, because this string handling code in Citation Hunt is not great:

  • As you can see from the example above, there are two kinds of syntax for parameters in some strings ({this} and %s).
  • Due to out of date translations, some strings now have _too many_, rather than too few parameters (e.g. https://translatewiki.net/wiki/Wikimedia:Citationhunt-instructions_details/pl has three %s, which we handle in the code, but it really should be two at this point).

But if those are OK on TranslateWiki, it's all good on my end.