Commit graph

61 commits

Author SHA1 Message Date
Alberto D'Agostini fa23572225 Enhance italian translation. 2014-01-13 18:02:49 +01:00
Sébastien Lucas f7ecb87af5 Update german translation. Thanks to glimm from Mobileread. 2014-01-04 22:06:32 +01:00
Sébastien Lucas 61f3bdc928 Updated spanish translation. Thanks to Marcos. 2014-01-02 10:05:37 +01:00
Sébastien Lucas 1e165fb574 Fix the languages string to add consistancy (plural form). re #34 2013-12-19 08:24:02 +01:00
Sébastien Lucas c71f443356 The ignored categories is now in the customize UI page. re #34
It's far from complete but it works. I'll have to check the strings consistancy.
2013-12-17 22:45:51 +01:00
Sébastien Lucas f940f50120 Fix translations strings for publishers. Add french translation. re #123 2013-12-05 15:41:44 +01:00
Sébastien Lucas 2d4ee94e05 Fix russian translation 2013-12-05 12:19:03 +01:00
At-Libitum 9efcd661a0 **2012-11-22**
**Added global support for publishers**

Files modified:

*base.php*

-   changed class Entry,

	-   adding a constant ```cops:publishers``` to the icon array for the feed.

-   changed class Page

	-   added branches to the page selector switch

-   changed Page->public function InitializeContent

	-   added call to pull publisher count from database

-   changed class PageAllBooks

	-   changed it so ```getCurrentOption``` is actually used...

-   added page descendant class ```PageAllPublishers```

	-   handles pulling the publishers category from database

-   added page descendant class ```PagePublisherDetail```

	-   handles pulling the books per publisher data from database

-   changed class PageQueryResult

	-   added constant and switches for publisher search scope

-   abstract class Base

	-   added constants for the publisher pages

*book.php*

-   added require statement for publisher.php
-   added ```SQL_BOOKS_BY_PUBLISHER``` query to retrieve books by publisher.

-   changed class Book

	-   added query constant
	-   added publisher item
	-   added test in case no known publisher
	-   added publishername and url array elements for the JSON output
	-   added public function ```getPublisher```
	-   added public static function ```getBooksByPublisher``` to fire the query

-   changed function getJson

	-   added publisher category to search
	-   added publishername (single) and publishertitle(plural) localization entries to i18n translation array

*index.php*

-   added require statement for publisher.php

*lang/Localization_en.json

-   added new localization entries for publisher labels (see below)
```
"publisher.alphabetical.many":"Alphabetical index of the {0} publishers",
"publisher.alphabetical.none":"Alphabetical index of absolutely no publisher",
"publisher.alphabetical.one":"Alphabetical index of the single publisher",
"publisher.name":"Publisher",
"publisher.title":"Publishers",
"publisherword.many":"{0} publishers",
"publisherword.none":"No publisher",
"publisherword.one":"1 publisher",

"search.result.publisher":"Search result for *{0}* in publishers",
```

*templates\bookdetail.html*

-   added publisher label and item to bookdetail popup

*test\bookTest.php*

-   added indices and names of publishers added to testdatabase as comment
-   added test function ```testGetBooksByPublisher```
-   changed test function testGetBookById to add assertion for publisher name
-   changed test function testTypeaheadSearch to add search on partial publisher name.

*test\pageTest.php*

-   changed test function testPageIndex to insert publisher category and adjust page indices
-   changed test function testPageIndexWithCustomColum to adjust for the changed page indices
-   added test function testPageAllPublishers
-   added test function testPagePublishersDetail
-   added test function testPageSearchScopePublishers

*test\BaseWithSomeBooks\metadata.db*

-   added 5 publishers spread across all 14 books, replacing the original publisher Feedbooks

Files added:

*publisher.php*
2013-11-22 22:08:09 +01:00
wikiped b35e66d1b7 Update Localization_ru.json
Simplified the plurals for "tags" and other "authors".
2013-11-20 09:30:56 -08:00
wikiped 806f6e22c4 Update Localization_ru.json 2013-11-20 08:08:00 -08:00
Rune Mathisen aff5c43dd8 Update Localization_nb.json 2013-11-09 15:31:27 +01:00
Sébastien Lucas d5c666fd61 Fix some small problems in Chinese translation. re #37 2013-10-18 09:28:04 +02:00
Sébastien Lucas a1adb045dd Enhance Dutch translation. Thanks to Mariosipad (@MobileRead). re #37 2013-10-18 09:27:24 +02:00
wogong 6f8e7eae41 error in series translation fixed 2013-10-17 10:55:43 +08:00
wogong 60141757da Update chinese translation 2013-10-17 10:38:07 +08:00
Pablo Aguiar 6e6ee046f1 Translate new strings and fix other two (re #37) 2013-10-10 04:08:02 -03:00
Sébastien Lucas 23129b9c9e The search page title is now more precise in case a scope is provided. re #34 2013-10-06 18:08:26 +02:00
Sébastien Lucas 8f2b53f336 Update German translation. Thanks to Glimm (@MobileRead). re #37 2013-09-30 10:04:11 +02:00
Sébastien Lucas 733afc2b4c Update the new strings for all languages. re #34 2013-09-28 20:56:46 +02:00
Sébastien Lucas d7aa7af16e Add new strings for the future search. re #34 2013-09-27 17:15:00 +02:00
Sébastien Lucas a42cda521d Enhance Dutch translation. Thanks to Mariosipad (@MobileRead). re #37 2013-09-19 15:14:26 +02:00
Alberto D'Agostini ac48704cc2 Enhance italian translation. re #37 2013-09-18 20:42:10 +02:00
Sébastien Lucas 18decb3cc1 Localize a missing string (cog alternate text). re #37 2013-09-17 16:30:19 +02:00
Sébastien Lucas a46bc7d05a Update all translations to be sure to only have strings really used in COPS. re #39 2013-09-16 20:34:50 +02:00
Pablo Aguiar c5c83522aa Add Portuguese localization file 2013-09-07 03:11:33 -03:00
Sébastien Lucas a3a293630e Fix language prefix for Portuguese. Reported by le_ 2013-07-29 10:19:48 +02:00
Sébastien Lucas cf26e7438c localize many message from mail. re #53 2013-07-23 07:20:58 +02:00
Sébastien Lucas 948c1cb3fa Add a way to enable tag filter directly in the customize page. re #46 2013-07-13 08:29:17 +02:00
Sébastien Lucas bb0ba69c09 Add the email in the customize page. re #53 2013-07-03 23:40:08 +02:00
Sébastien Lucas 15237ee78d Add paging to the customize page. 2013-06-26 21:28:04 +02:00
Sébastien Lucas 3cdab07670 Update some french strings. re #66 2013-06-04 21:17:00 +02:00
Sébastien Lucas e44d242af3 localize some string. re #25 2013-06-04 21:08:11 +02:00
Sébastien Lucas b0a8b6439a Remove again some smiley. fix #71 2013-06-04 15:25:14 +02:00
Sébastien Lucas c74b1b9396 Remove the smiley and some "smart ass" sentences in strings re #71 2013-06-04 15:23:11 +02:00
Sébastien Lucas 86eb135373 Merge pull request #69 from bitjungle/patch-1
Fix the language string
2013-06-03 23:37:20 -07:00
Rune Mathisen 9b835cbaac Removed un-translated strings 2013-06-01 13:18:12 +03:00
Sébastien Lucas faaf4ca43c almost finish CSS change. re #25 2013-05-29 21:30:37 +02:00
bitjungle f96dcb5897 Fix the language string 2013-05-24 14:06:38 +02:00
Rune Mathisen 3dbfdcdcef Create Localization_nb.json
Norwegian bokmål translation
2013-05-24 06:44:12 +02:00
Sébastien Lucas 0825aae6b6 Fix the language string. re #66 2013-05-23 18:32:44 +02:00
ipuiu cdc2114bd8 Added localization for languages. 2013-05-21 21:39:25 +03:00
ipuiu f4e365ce96 Merged Language Feature. 2013-05-21 20:49:21 +03:00
wogong 4c3f9b2820 zh localize almost done 2013-05-07 16:29:17 +08:00
wogong a63e3aded3 update zh 2013-05-07 09:40:21 +08:00
wogong 9908d8e8fa update Localization_zh.json 2013-05-07 09:30:03 +08:00
wogong e2dd39dfdd Chinese localize basicly OK 2013-05-04 11:53:21 +08:00
wogong cc0dcd59c4 add Chinese localozation file 2013-05-04 10:53:55 +08:00
Sébastien Lucas b3cd76d0b5 Fix some missing translation. re #37 2013-04-28 08:23:37 +02:00
Sébastien Lucas e6560be28c Localize all alternate text. re #37 2013-04-21 16:22:26 +02:00
Sébastien Lucas 059f05fac1 Fix some strings. re #37 2013-04-21 15:47:32 +02:00