Skip to content

Commit 3419872

Browse files
author
jmbowman
committed
Column editor bugfix, Taiwanese updates, release preparations
1 parent dea9125 commit 3419872

10 files changed

+76
-187
lines changed

CHANGES

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2003-06-04 JMB Columns editor bugfix
2+
3+
Fixed bug in columns editor where editing a column after adding one
4+
of another type could result in incorrect data being displayed.
5+
16
2003-06-03 JMB Taiwanese translation, updated Japanese UI translation
27

38
Added a Taiwanese translation of the UI and help file provided by

README.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PortaBase 1.7 (May 2003)
1+
PortaBase 1.7 (June 2003)
22
--------------------------
33
PortaBase (portable database) is a personal database application originally
44
written for the Linux-based models of Sharp Zaurus PDA (and should work on

columneditor.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,5 @@ void ColumnEditor::updateDefaultWidget(int newType)
288288
else {
289289
defaultStack->raiseWidget(defaultLine);
290290
}
291+
lastType = typeBox->currentItem();
291292
}

debian/dirs

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ etc
22
usr/bin
33
usr/share/portabase/icons/portabase
44
usr/share/doc/portabase/ja
5+
usr/share/doc/portabase/tw

debian/rules

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ install: build
6464
cp $(CURDIR)/desktop/icons/portabase/*.xpm $(CURDIR)/debian/portabase/usr/share/portabase/icons/portabase
6565
cp $(CURDIR)/help/ja/html/portabase.html $(CURDIR)/debian/portabase/usr/share/doc/portabase/ja
6666
cp $(CURDIR)/portabase_ja.qm $(CURDIR)/debian/portabase/usr/share/doc/portabase/ja/portabase.qm
67+
cp $(CURDIR)/help/tw/html/portabase.html $(CURDIR)/debian/portabase/usr/share/doc/portabase/tw
68+
cp $(CURDIR)/portabase_tw.qm $(CURDIR)/debian/portabase/usr/share/doc/portabase/tw/portabase.qm
6769

6870

6971
# Build architecture-independent files here.

help/tw/html/portabase.html

+22-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 401 Transitional//EN">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22
<html>
33
<head>
4-
<title>PortaBase 1。6</title>
4+
<title>PortaBase 1.7</title>
55
</head>
66
<body>
77

8-
<div align="center"><h3>PortaBase 1.6</h3> - 一個可攜式的資料庫 -</div>
8+
<div align="center"><h3>PortaBase 1.7</h3> - 一個可攜式的資料庫 -</div>
99
<br>
1010
<a href="#intro">1)簡介</a><br>
1111
<a href="#file">2)檔案選取器</a><br>
@@ -42,6 +42,8 @@
4242
<li>支援以命令列模式進行格式轉換(讀取或產生XML格式,讀取或產生CSV格式,讀取MobileDB格式)</li>
4343
<li>支援Unicode</li>
4444
<li>可自由選擇字型</li>
45+
<li>使用者可自訂資料列的背景色</li>
46+
<li>簡單的計算機元件便於輸入數值資料</li>
4547
</ul>
4648
<a name="file"><b>2)檔案選取器</b></a><br>
4749
除非你直接在一個PortaBase檔案上點一下來執行PortaBase程式,否則你第一個看到的畫面就是檔案選取器。你可以在任一檔案上點一下來加以開啟(在Zaurus版本中),使用工具列或是選擇"檔案"選單下的任一選項<br>
@@ -91,6 +93,12 @@
9193
<li><i>往上</i> - 將目前選定項目往上移動一個位置 (在下拉式清單中的位置也會隨之改變)。</li>
9294
<li><i>往下</i> - 將目前選定項目往下移動一個位置 (在下拉式清單中的位置也會隨之改變)。</li>
9395
</ul>
96+
在集合名稱正下方的按鈕可以用來更改項目清單的內容:<br>
97+
<ul>
98+
<li><i>排序</i> - 依照字母順序將項目加以排序。再按一下則變成相反順序。</li>
99+
<li><i>匯入</i> - 由文字檔新增項目;此檔案每一行只能有一個項目。集合中已有的項目不會重複輸入。</li>
100+
<li><i>匯出</i> - 將目前集合的項目會出成一個文字檔;其格式為一行一個項目。</li>
101+
</ul>
94102
按下"確定"鈕使變更生效或是按下 "X"/"取消"則保持原狀不變(或是取消新增一個集合)。<br>
95103
<br>
96104
<a name="viewedit"><b>6)景觀編輯器</b></a><br>
@@ -176,7 +184,13 @@
176184
<li><i>刪除</i> - 與<a href="#rowmenu">資料列選單</a>中的"刪除"功能相同。</li>
177185
</ul>
178186
<a name="rowedit"><b>8)列編輯器</b></a><br>
179-
新增或編輯一資料列時就會啟用列編輯器。它會以一列一列的方式顯示資料庫中的每個欄位; 左邊是欄位的名稱,右邊則是目前的值。新增一資料列時,右邊顯示的是欄位預設值; 編輯資料列時,右邊顯示的是目前欄位值。要編輯日期欄位的值時,按一下目前顯示值左邊的按鈕; 則你可以使用一個小月曆來選擇新的日期。在編輯完畢後,按下"確定"鈕表示接受目前顯示的值,或按下"X"/"取消"鈕來取消新增一列(如果是新增一列)或是保持原值不變(如果是編輯資料列)。<br>
187+
新增或編輯一資料列時就會啟用列編輯器。它會以一列一列的方式顯示資料庫中的每個欄位;左邊是欄位的名稱,右邊則是目前的值。新增一資料列時,右邊顯示的是欄位預設值。編輯各資料型別之注意事項如下:
188+
<ul>
189+
<li>字串欄位可以包含多行文字;按下Enter鍵可以新增一行。</li>
190+
<li>要編輯日期欄位的值時,按一下目前顯示值左邊的按鈕;則你可以使用一個小月曆來選擇新的日期。</li>
191+
<li>按下數字欄位右邊的按鈕會叫出一個小計算機,可用於計算與輸入數字;按下"確定"鈕則數字會被放入欄位中。</li>
192+
</ul>
193+
在編輯完畢後,按下"確定"鈕表示接受目前顯示的值,或按下"X"/"取消"鈕來取消新增一列(如果是新增一列)或是保持原值不變(如果是編輯資料列)。<br>
180194
<br>
181195
<a name="rowview"><b>9)列檢視器</b></a><br>
182196
列檢視器是一個讓你方便檢視資料列的所有資料的一種對話盒。與列編輯器相同,欄位標簽在左邊而欄位值則在右邊。但是欄位值不可編輯,而且資料會自動換行。多行文字項欄位的內容會完整顯示,而非只顯示前幾個字。按一下選畫面底部的左右方向箭頭或是使用鍵盤上的左右方向鍵,即可瀏覽目前景觀中的其他資料列。按一下畫面底部的按鈕會針對目前資料列啟用列編輯器; 如果你在列編輯器中按下"確定"鈕就會回到資料檢視器,否則會回到列檢視器。<br>
@@ -223,6 +237,7 @@
223237
<ul>
224238
<li><a href="#fontprefs">字型</a></li>
225239
<li><a href="#generalprefs">一般事項</a></li>
240+
<li><a href="#rowcolors">資料列背景色</a></li>
226241
<li><a href="#datetimeprefs">日期與時間</a>(僅限PC版)</li>
227242
</ul>
228243
<a name="fontprefs"><i>字型</i></a><br>
@@ -236,6 +251,9 @@
236251
<li><i>時間格式中包含秒</i> - 此項目可決定在資料檢視器,列檢視器等等的時間欄位中是否顯示秒數。</li>
237252
<li><i>多行文字項自動換行</i> - 勾選此項目則在多行文字項編輯器/檢視器中會自動換行,不需手動輸入換行符號。預設僅在空白處換行,但是你可以強迫不論是否為空白都在最後一個位置換行。(這對於日文這一類不太使用空白的語言特別有用。)</li>
238253
</ul>
254+
<a name="rowcolors"><i>資料列背景色</i></a><br>
255+
本區段包含兩個用來選取顏色的按鈕,可用來指定資料檢視器、欄位編輯器、景觀編輯器與排序方式編輯器中資料列的背景色。每個按鈕各代表目前的一種顏色;在按鈕上按一下會出現一個選擇顏色的對話盒供你選取其他的顏色。<br>
256+
<br>
239257
<a name="datetimeprefs"><i>日期與時間</i></a><br>
240258
此區段目前僅出現於PC版的PortaBase,因為Zaurus版的PortaBase使用系統設定的日期與時間。但是對於桌上型PC來說這並不是一個好的跨平台擷取資料的方式,所以你必須指定下列的資訊:<br>
241259
<ul>

package/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: portabase
22
Priority: optional
33
Section: Applications
4-
Version: 1.6
4+
Version: 1.7
55
Architecture: arm
66
Maintainer: Jeremy Bowman <[email protected]>
77
Depends: qpe-base

package/portabase_tw.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
set LANG=tw
2+
portabase.exe

portabase.iss

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[Setup]
55
AppName=PortaBase
6-
AppVerName=PortaBase 1.6
6+
AppVerName=PortaBase 1.7
77
AppPublisher=Jeremy Bowman
88
AppPublisherURL=http://portabase.sourceforge.net
99
AppSupportURL=http://portabase.sourceforge.net
@@ -20,11 +20,14 @@ Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "A
2020
[Files]
2121
Source: "portabase.exe"; DestDir: "{app}"; Flags: ignoreversion
2222
Source: "package\portabase_ja.bat"; DestDir: "{app}"; Flags: ignoreversion
23+
Source: "package\portabase_tw.bat"; DestDir: "{app}"; Flags: ignoreversion
2324
Source: "desktop\icons\*.*"; DestDir: "{app}\icons"; Flags: ignoreversion
2425
Source: "desktop\icons\portabase\*.*"; DestDir: "{app}\icons\portabase"; Flags: ignoreversion
2526
Source: "help\html\portabase.html"; DestDir: "{app}"; Flags: ignoreversion
2627
Source: "help\ja\html\portabase.html"; DestDir: "{app}\ja"; Flags: ignoreversion
28+
Source: "help\tw\html\portabase.html"; DestDir: "{app}\tw"; Flags: ignoreversion
2729
Source: "portabase_ja.qm"; DestDir: "{app}\ja"; DestName: "portabase.qm"; Flags: ignoreversion
30+
Source: "portabase_tw.qm"; DestDir: "{app}\tw"; DestName: "portabase.qm"; Flags: ignoreversion
2831
Source: "CHANGES"; DestDir: "{app}"; Flags: ignoreversion
2932
Source: "COPYING"; DestDir: "{app}"; Flags: ignoreversion
3033
Source: "portabase.ico"; DestDir: "{app}"; Flags: ignoreversion
@@ -42,6 +45,7 @@ Filename: "{app}\portabase.url"; Section: "InternetShortcut"; Key: "URL"; String
4245
[Icons]
4346
Name: "{group}\PortaBase"; Filename: "{app}\portabase.exe"
4447
Name: "{group}\PortaBase (ja)"; Filename: "{app}\portabase_ja.bat"; WorkingDir: "{app}"; IconFilename: "{app}\portabase.ico"; Flags: runminimized
48+
Name: "{group}\PortaBase (tw)"; Filename: "{app}\portabase_tw.bat"; WorkingDir: "{app}"; IconFilename: "{app}\portabase.ico"; Flags: runminimized
4549
Name: "{group}\PortaBase Home Page"; Filename: "{app}\portabase.url"
4650
Name: "{group}\Uninstall PortaBase"; Filename: "{uninstallexe}"
4751
Name: "{userdesktop}\PortaBase"; Filename: "{app}\portabase.exe"; Tasks: desktopicon

0 commit comments

Comments
 (0)