Closed gocom closed 12 years ago
Hi Jukka,
Thanks for the notes.
I've made a request to have these two bits of text included in the core language strings since I think they would be universally useful. Depending on the reply then I'll either use the core text file or create a Textpack as you suggest.
The theme includes few hard-coded sentences. Woudln't it be appropriate to use language strings for those? That's very easy to do even. It's just about adding .textpack file(s) to the repository which then users can easily install from the language pane.
With this instances like
<a href="#">↑ Back to top</a>
in hive.php would become<a href="#">'.gTxt('hive_back_to_top').'</a>
.Textpacks are pretty cool I must say. If you are unsure what they are, take a look familiar repository you are following, rah_backup. I've divided each language to it's own file. For the current content Hive theme contains, a finely crafted textpack would look something like;
Prefixed as themes are also subject to guidelines, namespaces and collisions.