mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
series index representation fixed: 10 instead of 1E+1
This commit is contained in:
parent
0ba4fc22ea
commit
a6147ce43d
4 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
===== 1.8 (May ??, 2013) =====
|
||||||
|
|
||||||
|
* Fixed series index representation: 10 instead 1E+1
|
||||||
|
|
||||||
===== 1.7.9 (Apr 23, 2013) =====
|
===== 1.7.9 (Apr 23, 2013) =====
|
||||||
* Fixed Ukrainian hyphenations
|
* Fixed Ukrainian hyphenations
|
||||||
* Fixed missing paragraph before new section issue (in some book formats)
|
* Fixed missing paragraph before new section issue (in some book formats)
|
||||||
|
|
|
@ -243,7 +243,7 @@ public class BookInfoActivity extends Activity {
|
||||||
setupInfoPair(R.id.book_series, "series", series == null ? null : series.Series.getTitle());
|
setupInfoPair(R.id.book_series, "series", series == null ? null : series.Series.getTitle());
|
||||||
String seriesIndexString = null;
|
String seriesIndexString = null;
|
||||||
if (series != null && series.Index != null) {
|
if (series != null && series.Index != null) {
|
||||||
seriesIndexString = series.Index.toString();
|
seriesIndexString = series.Index.toPlainString();
|
||||||
}
|
}
|
||||||
setupInfoPair(R.id.book_series_index, "indexInSeries", seriesIndexString);
|
setupInfoPair(R.id.book_series_index, "indexInSeries", seriesIndexString);
|
||||||
|
|
||||||
|
|
|
@ -607,7 +607,7 @@ final class SQLiteBooksDatabase extends BooksDatabase {
|
||||||
myInsertBookSeriesStatement.bindLong(2, seriesId);
|
myInsertBookSeriesStatement.bindLong(2, seriesId);
|
||||||
SQLiteUtil.bindString(
|
SQLiteUtil.bindString(
|
||||||
myInsertBookSeriesStatement, 3,
|
myInsertBookSeriesStatement, 3,
|
||||||
seriesInfo.Index != null ? seriesInfo.Index.toString() : null
|
seriesInfo.Index != null ? seriesInfo.Index.toPlainString() : null
|
||||||
);
|
);
|
||||||
myInsertBookSeriesStatement.execute();
|
myInsertBookSeriesStatement.execute();
|
||||||
}
|
}
|
||||||
|
|
|
@ -205,7 +205,7 @@ class XMLSerializer extends AbstractSerializer {
|
||||||
if (seriesInfo != null) {
|
if (seriesInfo != null) {
|
||||||
appendTagWithContent(buffer, "calibre:series", seriesInfo.Series.getTitle());
|
appendTagWithContent(buffer, "calibre:series", seriesInfo.Series.getTitle());
|
||||||
if (seriesInfo.Index != null) {
|
if (seriesInfo.Index != null) {
|
||||||
appendTagWithContent(buffer, "calibre:series_index", seriesInfo.Index);
|
appendTagWithContent(buffer, "calibre:series_index", seriesInfo.Index.toPlainString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue