summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile2
-rw-r--r--apps/Applications/addressbook.desktop1
-rw-r--r--apps/Applications/calculator.desktop1
-rw-r--r--apps/Applications/citytime.desktop1
-rw-r--r--apps/Applications/clock.desktop1
-rw-r--r--apps/Applications/datebook.desktop1
-rw-r--r--apps/Applications/filebrowser.desktop1
-rw-r--r--apps/Applications/helpbrowser.desktop1
-rw-r--r--apps/Applications/keypebble.desktop1
-rw-r--r--apps/Applications/mpegplayer.desktop1
-rw-r--r--apps/Applications/opieftp.desktop1
-rw-r--r--apps/Applications/showimg.desktop1
-rw-r--r--apps/Applications/spreadsheet.desktop1
-rw-r--r--apps/Applications/sysinfo.desktop1
-rw-r--r--apps/Applications/tableviewer.desktop1
-rw-r--r--apps/Applications/textedit.desktop1
-rw-r--r--apps/Applications/today.desktop1
-rw-r--r--apps/Applications/todo.desktop1
-rw-r--r--apps/Games/kcheckers.desktop1
-rw-r--r--apps/Games/minesweep.desktop1
-rw-r--r--apps/Games/patience.desktop1
-rw-r--r--apps/Games/snake.desktop1
-rw-r--r--apps/Games/tictac.desktop1
-rw-r--r--apps/Games/wordgame.desktop1
-rw-r--r--apps/Settings/.directory1
-rw-r--r--apps/Settings/Appearance.desktop1
-rw-r--r--apps/Settings/Calibrate.desktop1
-rw-r--r--apps/Settings/Language.desktop1
-rw-r--r--apps/Settings/Light.desktop1
-rw-r--r--apps/Settings/Rotation.desktop1
-rw-r--r--apps/Settings/Security.desktop3
-rw-r--r--apps/Settings/Sound.desktop1
-rw-r--r--apps/Settings/datetime.desktop1
-rw-r--r--apps/Settings/netsetup.desktop3
-rw-r--r--apps/Settings/qipkg.desktop3
-rw-r--r--apps/Settings/quit.desktop1
-rw-r--r--apps/__9quit.desktop1
-rw-r--r--core/applets/batteryapplet/batteryapplet.pro1
-rw-r--r--core/applets/clipboardapplet/clipboardapplet.pro2
-rw-r--r--core/applets/clockapplet/clockapplet.pro1
-rw-r--r--core/applets/screenshotapplet/screenshotapplet.pro1
-rw-r--r--core/applets/vmemo/vmemo.cpp262
-rw-r--r--core/applets/vmemo/vmemo.pro1
-rw-r--r--core/applets/volumeapplet/volumeapplet.pro1
-rwxr-xr-xcore/apps/embeddedkonsole/embeddedkonsole.pro1
-rw-r--r--core/apps/helpbrowser/helpbrowser.pro1
-rw-r--r--core/apps/textedit/textedit.pro3
-rw-r--r--core/launcher/launcher.pro91
-rw-r--r--core/multimedia/opieplayer/libmad/libmad.pro2
-rw-r--r--core/multimedia/opieplayer/mpegplayer.pro1
-rw-r--r--core/pim/addressbook/addressbook.pro1
-rw-r--r--core/pim/datebook/datebook.pro1
-rw-r--r--core/pim/today/today.pro1
-rw-r--r--core/pim/todo/todo.pro1
-rw-r--r--core/settings/citytime/citytime.pro1
-rw-r--r--core/settings/light-and-power/light-and-power.pro1
-rw-r--r--core/settings/security/security.pro1
-rw-r--r--inputmethods/dvorak/dvorak.pro2
-rw-r--r--inputmethods/handwriting/handwriting.pro2
-rw-r--r--inputmethods/keyboard/keyboard.pro2
-rw-r--r--inputmethods/pickboard/pickboard.pro1
-rw-r--r--inputmethods/unikeyboard/unikeyboard.pro1
-rw-r--r--library/library.pro1
-rw-r--r--noncore/apps/tableviewer/tableviewer.pro2
-rw-r--r--noncore/comm/keypebble/keypebble.pro1
-rw-r--r--noncore/games/chess/chess.pro2
-rw-r--r--noncore/games/fifteen/fifteen.pro2
-rw-r--r--noncore/games/go/go.pro4
-rw-r--r--noncore/games/kcheckers/kcheckers.pro2
-rw-r--r--noncore/games/mindbreaker/mindbreaker.pro2
-rw-r--r--noncore/games/minesweep/minesweep.pro1
-rw-r--r--noncore/games/parashoot/parashoot.pro1
-rw-r--r--noncore/games/qasteroids/qasteroids.pro1
-rw-r--r--noncore/games/snake/snake.pro1
-rwxr-xr-xnoncore/games/solitaire/solitaire.pro1
-rw-r--r--noncore/games/tetrix/tetrix.pro2
-rw-r--r--noncore/games/tictac/tictac.pro2
-rw-r--r--noncore/games/wordgame/wordgame.pro1
-rw-r--r--noncore/multimedia/showimg/showimg.pro1
-rw-r--r--noncore/net/opieftp/opieftp.cpp10
-rw-r--r--noncore/net/opieftp/opieftp.pro1
-rw-r--r--noncore/settings/language/language.pro1
-rw-r--r--noncore/settings/sound/sound.pro2
-rw-r--r--noncore/settings/sound/soundsettings.cpp4
-rw-r--r--noncore/settings/sysinfo/sysinfo.pro1
-rw-r--r--noncore/tools/calc2/calc.pro1
-rw-r--r--noncore/tools/calculator/calculator.pro1
-rw-r--r--noncore/tools/clock/clock.pro1
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.pro4
-rw-r--r--noncore/unsupported/oipkg/qipkg.pro1
90 files changed, 316 insertions, 165 deletions
diff --git a/Makefile b/Makefile
index 132f9a9..677369e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,71 +1,71 @@
default: dynamic
all: default docs
LIBS=library libopie
COMPONENTS=$(LOCALCOMPONENTS) inputmethods/keyboard \
inputmethods/pickboard \
inputmethods/handwriting \
inputmethods/unikeyboard \
inputmethods/jumpx \
inputmethods/dvorak \
taskbar/batteryapplet \
taskbar/volumeapplet \
taskbar/clockapplet \
taskbar/netmonapplet \
taskbar/screenshotapplet \
taskbar/vmemo \
netsetup/dialup \
netsetup/lan \
opiemail/ifaces/pop3 opiemail/ifaces/smtp \
mpegplayer/libmpeg3 \
mpegplayer/libmad \
mpegplayer/wavplugin \
cardmon \
sdmon
APPS=$(LOCALAPPS) addressbook calculator clock datebook \
filebrowser helpbrowser minesweep mpegplayer \
settings/light-and-power \
settings/language \
settings/rotation \
settings/appearance \
settings/security \
settings/sound \
settings/systemtime \
solitaire spreadsheet tetrix textedit \
todo wordgame embeddedkonsole taskbar sysinfo \
parashoot snake citytime showimg netsetup tableviewer \
qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \
- noncore/tictac noncore/opieftp
+ noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers
DOCS = docs/src/opie-policy
single: mpegplayer/libmpeg3
dynamic: $(APPS)
docs: $(DOCS)
$(COMPONENTS): $(LIBS)
$(APPS): $(LIBS) $(COMPONENTS)
$(LIBS) $(COMPONENTS) $(APPS) $(DOCS) single:
$(MAKE) -C $@ -f Makefile
showcomponents:
@echo $(LIBS) $(APPS) $(COMPONENTS) single
clean:
$(MAKE) -C single -f Makefile $@
for dir in $(APPS) $(LIBS) $(COMPONENTS) $(DOCS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
lupdate:
for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
lrelease:
for dir in $(APPS) $(LIBS) $(COMPONENTS); do $(MAKE) -C $$dir -f Makefile $@ || exit 1; done
.PHONY: default dynamic $(LIBS) $(APPS) $(COMPONENTS) $(DOCS) single showcomponents clean
diff --git a/apps/Applications/addressbook.desktop b/apps/Applications/addressbook.desktop
index 3743752..f6ceb52 100644
--- a/apps/Applications/addressbook.desktop
+++ b/apps/Applications/addressbook.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=An Address Book Program
Exec=addressbook
Icon=AddressBook
Type=Application
Name=Contacts
+Name[pt_BR]=Endereços
Name[no]=Adressebok
Name[de]=Adressbuch
Name[hu]=Címtár
diff --git a/apps/Applications/calculator.desktop b/apps/Applications/calculator.desktop
index 6d2988b..481c592 100644
--- a/apps/Applications/calculator.desktop
+++ b/apps/Applications/calculator.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment=A Calculator Program
Exec=calculator
Icon=Calculator
Type=Application
Name=Calculator
+Name[pt_BR]=Calculadora
Name[no]=Kalkulator
Name[de]=Taschen rechner
Name[ja]=電卓
Name[hu]=Számológép
diff --git a/apps/Applications/citytime.desktop b/apps/Applications/citytime.desktop
index 9699748..e5be56b 100644
--- a/apps/Applications/citytime.desktop
+++ b/apps/Applications/citytime.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment=A World Clock and Time Zone Editor
Exec=citytime
Icon=CityTime
Type=Application
Name=City Time
+Name[pt_BR]=Hora Local
Name[no]=Verdensur
Name[de]=Weltzeituhr
Name[ja]=世界時計
Name[hu]=Idõzóna
diff --git a/apps/Applications/clock.desktop b/apps/Applications/clock.desktop
index 401bdb1..03ce794 100644
--- a/apps/Applications/clock.desktop
+++ b/apps/Applications/clock.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment=A Clock Program
Exec=clock
Icon=Clock
Type=Application
Name=Clock
+Name[pt_BR]=Relgio
Name[no]=Klokke
Name[de]=Uhr
Name[ja]=時計
Name[hu]=Óra
diff --git a/apps/Applications/datebook.desktop b/apps/Applications/datebook.desktop
index ea7d8c1..22a9400 100644
--- a/apps/Applications/datebook.desktop
+++ b/apps/Applications/datebook.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=A Calendar and Scheduling Program
Exec=datebook
Icon=DateBook
Type=Application
Name=Calendar
+Name[pt_BR]=Calendário
Name[no]=Avtalebok
Name[de]=Termin kalender
Name[hu]=Naptár
diff --git a/apps/Applications/filebrowser.desktop b/apps/Applications/filebrowser.desktop
index 6681546..20458e0 100644
--- a/apps/Applications/filebrowser.desktop
+++ b/apps/Applications/filebrowser.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment = A File Manager Program
Exec = filebrowser
File = ../apps/Applications/filebrowser
Icon = FileBrowser
Name = File Manager
+Name[pt_BR] = Gerenciador de Arquivos
Name[de] = Datei Manager
Name[no] = Filviser
Type = Application
Name[hu]=Intézõ
diff --git a/apps/Applications/helpbrowser.desktop b/apps/Applications/helpbrowser.desktop
index 86dfb56..c7a9ded 100644
--- a/apps/Applications/helpbrowser.desktop
+++ b/apps/Applications/helpbrowser.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=A HTML Help Browser Program
Exec=helpbrowser
Icon=HelpBrowser
Type=Application
Name=Help Browser
+Name[pt_BR] = Navegador de Ajuda
Name[no]=Hjelp
Name[de]=Hilfe
Name[hu]=Segítség
diff --git a/apps/Applications/keypebble.desktop b/apps/Applications/keypebble.desktop
index ee1240d..6efd001 100644
--- a/apps/Applications/keypebble.desktop
+++ b/apps/Applications/keypebble.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Comment=Virtual Network Computing (VNC) Viewer
Exec=keypebble
Icon=vnc
Type=Application
Name=VNC Viewer
+Name[pt_BR]=Cliente VNC
diff --git a/apps/Applications/mpegplayer.desktop b/apps/Applications/mpegplayer.desktop
index 2d59a81..6902ae5 100644
--- a/apps/Applications/mpegplayer.desktop
+++ b/apps/Applications/mpegplayer.desktop
@@ -1,12 +1,13 @@
[Desktop Entry]
Comment=A Media Playback Program
Exec=mpegplayer
Icon=MPEGPlayer
Type=Application
MimeType=audio/mpeg;video/mpeg;audio/x-wav;application/x-shockwave-flash;playlist/plain
MimeTypeIcons=SoundPlayer;MPEGPlayer;Sound;Sound;mpegplayer/playlist2
Name=Media Player
+Name[pt_BR] = Reprodutor de Mídia
Name[no]=MPEGspiller
Name[de]=Medienwiedergabe
Name[ja]=MPEGプレイヤー
Name[hu]=MPEG lejátszó
diff --git a/apps/Applications/opieftp.desktop b/apps/Applications/opieftp.desktop
index 9eae709..9c3f0f7 100644
--- a/apps/Applications/opieftp.desktop
+++ b/apps/Applications/opieftp.desktop
@@ -1,7 +1,6 @@
[Desktop Entry]
Comment=An Ftp Client
Exec=opieftp
Icon=opieftp
Type=Application
Name=OpieFtp
-
diff --git a/apps/Applications/showimg.desktop b/apps/Applications/showimg.desktop
index 66f9a78..b33d682 100644
--- a/apps/Applications/showimg.desktop
+++ b/apps/Applications/showimg.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=An Image Viewer
Exec=showimg
MimeType=image/*
Icon=ImageViewer
Type=Application
Name=Image Viewer
+Name[pt_BR]=Visualizador de Imagens
Name[de]=Bildbetrachter
Name[hu]=Nézõke
diff --git a/apps/Applications/spreadsheet.desktop b/apps/Applications/spreadsheet.desktop
index 24c3b20..aa7911b 100644
--- a/apps/Applications/spreadsheet.desktop
+++ b/apps/Applications/spreadsheet.desktop
@@ -1,11 +1,12 @@
[Desktop Entry]
Comment=A Spread Sheet Program
Exec=spreadsheet
Icon=Spreadsheet
Type=Application
MimeType=application/x-qpe-ss
Name=Spreadsheet
+Name[pt_BR]=Planilha
Name[no]=Regneark
Name[de]=Tabellenkalkulation
Name[ja]=表計算
Name[hu]=Táblakezelõ
diff --git a/apps/Applications/sysinfo.desktop b/apps/Applications/sysinfo.desktop
index bb9abb2..234b637 100644
--- a/apps/Applications/sysinfo.desktop
+++ b/apps/Applications/sysinfo.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Name=System Info
+Name[pt_BR]=Informações do Sistema
Name[no]=Systeminfo
Name[de]=System information
Exec=sysinfo
Type=Application
Comment=System Information
Icon=SystemInfo
Name[hu]=Rendszerinfó
diff --git a/apps/Applications/tableviewer.desktop b/apps/Applications/tableviewer.desktop
index 40d6d45..3686397 100644
--- a/apps/Applications/tableviewer.desktop
+++ b/apps/Applications/tableviewer.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Comment=A table/database viewer
Exec=tableviewer
Type=Application
Name=Table Viewer
+Name[pt_BR]=Visualizador de Tabelas
Name[hu]=Adatbázis nézõ
diff --git a/apps/Applications/textedit.desktop b/apps/Applications/textedit.desktop
index 241231f..73b07ed 100644
--- a/apps/Applications/textedit.desktop
+++ b/apps/Applications/textedit.desktop
@@ -1,14 +1,15 @@
[Desktop Entry]
Comment=A Text Editing Program
Exec=textedit
Icon=TextEditor
Type=Application
MimeType=text/*
Name=Text Editor
+Name[pt_BR]=Editor de Textos
Name[no]=Teksteditor
Name[de]=Texteditor
Name[ja]=テキストエディタ
Name[zh_CN]=文本编辑器
Name[zh_TW]=文字編輯器
Name[ko]=글월 편집기
Name[hu]=Szöveg- szerkesztõ
diff --git a/apps/Applications/today.desktop b/apps/Applications/today.desktop
index d51ddea..d8ae596 100644
--- a/apps/Applications/today.desktop
+++ b/apps/Applications/today.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Comment=Today App
Exec=today
Icon=today_icon
Type=Application
Name=Today
+Name[pt_BR]=Hoje
diff --git a/apps/Applications/todo.desktop b/apps/Applications/todo.desktop
index bc0462d..c77472a 100644
--- a/apps/Applications/todo.desktop
+++ b/apps/Applications/todo.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=A Todo List Program
Exec=todolist
Icon=TodoList
Type=Application
Name=Todo List
+Name[pt_BR]=Afazeres
Name[no]=Oppgaveliste
Name[de]=Aufgabenliste
Name[hu]=Feladatok
diff --git a/apps/Games/kcheckers.desktop b/apps/Games/kcheckers.desktop
index 4515b3a..1e4b8f8 100644
--- a/apps/Games/kcheckers.desktop
+++ b/apps/Games/kcheckers.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Comment=A Ckeckers Game
Exec=kcheckers
Icon=KCheckers
Type=Application
Name=KCheckers
+Name[pt_BR]=Damas
diff --git a/apps/Games/minesweep.desktop b/apps/Games/minesweep.desktop
index 2b38456..a1c881a 100644
--- a/apps/Games/minesweep.desktop
+++ b/apps/Games/minesweep.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment=Find the mines
Exec=minesweep
Icon=MineHunt
Type=Application
Name=Mine Hunt
+Name[pt_BR]=Caca-Minas
Name[no]=Minesøk
Name[de]=Minenjagd
Name[ja]=マインスィープ
Name[hu]=Aknakeresõ
diff --git a/apps/Games/patience.desktop b/apps/Games/patience.desktop
index 4af08b0..a277705 100644
--- a/apps/Games/patience.desktop
+++ b/apps/Games/patience.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
Comment=A Game of Patience
Exec=patience
Icon=Solitaire
Type=Application
Name=Patience
+Name[pt_BR]=Paciencia
Name[no]=Kabal
Name[de]=Patience
Name[ja]=ソリティア
Name[hu]=Passziánsz
diff --git a/apps/Games/snake.desktop b/apps/Games/snake.desktop
index 5373a62..bd21fb5 100644
--- a/apps/Games/snake.desktop
+++ b/apps/Games/snake.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=A Snake Game
Exec=snake
Icon=Snake
Type=Application
Name=Snake
+Name[pt_BR]=Cobra
Name[no]=Slange
Name[de]=Schlange
Name[hu]=Kígyó
diff --git a/apps/Games/tictac.desktop b/apps/Games/tictac.desktop
index cef9c75..e2ee7af 100644
--- a/apps/Games/tictac.desktop
+++ b/apps/Games/tictac.desktop
@@ -1,5 +1,6 @@
[Desktop Entry]
Exec=tictac
Icon=Tictac
Type=Application
Name=Tictac
+Name[pt_BR]=Jogo da Velha
diff --git a/apps/Games/wordgame.desktop b/apps/Games/wordgame.desktop
index c48a70f..2474a5f 100644
--- a/apps/Games/wordgame.desktop
+++ b/apps/Games/wordgame.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=A word arranging game
Exec=wordgame
Icon=WordGame
Type=Application
Name=Word Game
+Name[pt_BR]=Palavras Cruzadas
Name[no]=Kryss-Ord
Name[de]=Wortspiel
Name[hu]=Szójáték
diff --git a/apps/Settings/.directory b/apps/Settings/.directory
index c51f0d6..99d7710 100644
--- a/apps/Settings/.directory
+++ b/apps/Settings/.directory
@@ -1,6 +1,7 @@
[Desktop Entry]
Name=Settings
Name[no]=Innstillinger
Name[de]=Einstellungen
Icon=SettingsIcon
Name[hu]=Beállítások
+Name[pt_BR]=Configuraoes
diff --git a/apps/Settings/Appearance.desktop b/apps/Settings/Appearance.desktop
index 3588d75..08cbdfe 100644
--- a/apps/Settings/Appearance.desktop
+++ b/apps/Settings/Appearance.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=appearance
Icon=Appearance
Name=Appearance
+Name[pt_BR]=Aparencia
Name[no]=Utseende
Name[de]=Erscheinungsbild
Name[hu]=Megjelenés
diff --git a/apps/Settings/Calibrate.desktop b/apps/Settings/Calibrate.desktop
index bf1f36f..ccf5436 100644
--- a/apps/Settings/Calibrate.desktop
+++ b/apps/Settings/Calibrate.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=calibrate
Icon=Calibrate
Name=Recalibrate
+Name[pt_BR]=Recalibrar
Name[de]=Kalibrieren
Name[no]=Kalibrer
Name[hu]=Kalibráció
diff --git a/apps/Settings/Language.desktop b/apps/Settings/Language.desktop
index c84c157..41a226e 100644
--- a/apps/Settings/Language.desktop
+++ b/apps/Settings/Language.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=language
Icon=Language
Name=Language
+Name[pt_BR]=Linguagem
Name[no]=Språk
Name[de]=Sprache
Name[hu]=Nyelv
diff --git a/apps/Settings/Light.desktop b/apps/Settings/Light.desktop
index b6e8231..1b63f54 100644
--- a/apps/Settings/Light.desktop
+++ b/apps/Settings/Light.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=light-and-power
Icon=Light
Name=Light & Power
+Name[pt_BR]=Iluminacao e Energia
Name[no]=Lys
Name[de]=Helligkeit
Name[hu]=Fényerõ
diff --git a/apps/Settings/Rotation.desktop b/apps/Settings/Rotation.desktop
index f91b926..75143bc 100644
--- a/apps/Settings/Rotation.desktop
+++ b/apps/Settings/Rotation.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=rotation
Icon=Rotation
Name=Rotation
+Name[pt_BR]=Rotao
Name[no]=Rotasjon
Name[de]=Rotation
Name[hu]=Forgatás
diff --git a/apps/Settings/Security.desktop b/apps/Settings/Security.desktop
index 213c073..dc9bec8 100644
--- a/apps/Settings/Security.desktop
+++ b/apps/Settings/Security.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Type=Application
Exec=security
Icon=Security
Name=Security
-Name[de]=Sicherheits einstellungen \ No newline at end of file
+Name[de]=Sicherheits einstellungen
+Name[pt_BR]=Seguranca
diff --git a/apps/Settings/Sound.desktop b/apps/Settings/Sound.desktop
index 951f8d4..5791308 100644
--- a/apps/Settings/Sound.desktop
+++ b/apps/Settings/Sound.desktop
@@ -1,5 +1,6 @@
[Desktop Entry]
Type=Application
Exec=sound
Icon=Sound
Name=Sound
+Name[pt_BR]=Som
diff --git a/apps/Settings/datetime.desktop b/apps/Settings/datetime.desktop
index 8888f7f..711cfdb 100644
--- a/apps/Settings/datetime.desktop
+++ b/apps/Settings/datetime.desktop
@@ -1,9 +1,10 @@
[Desktop Entry]
Comment=Set date and time
Exec=systemtime
Icon=DateTime
Type=Application
Name=Date/Time
+Name[pt_BR]=Data/Hora
Name[no]=Dato/Tid
Name[de]=Datum/Zeit
Name[hu]=Dátum/Idõ
diff --git a/apps/Settings/netsetup.desktop b/apps/Settings/netsetup.desktop
index b622a15..123117b 100644
--- a/apps/Settings/netsetup.desktop
+++ b/apps/Settings/netsetup.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
Exec=netsetup
Icon=PPPConnect
Type=Application
Name=Network
-Name[de]=Netzwerk \ No newline at end of file
+Name[pt_BR]=Rede
+Name[de]=Netzwerk
diff --git a/apps/Settings/qipkg.desktop b/apps/Settings/qipkg.desktop
index 6ef2202..dda5ce7 100644
--- a/apps/Settings/qipkg.desktop
+++ b/apps/Settings/qipkg.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=qipkg
MimeType=application/ipkg
Icon=Ipkg
Name=Add/Remove Software
+Name[pt_BR]=Adicionar/Remover Software
Name[hu]=Csomag- kezelõ
-Name[de]=Software \ No newline at end of file
+Name[de]=Software
diff --git a/apps/Settings/quit.desktop b/apps/Settings/quit.desktop
index dbc7220..a25fb0b 100644
--- a/apps/Settings/quit.desktop
+++ b/apps/Settings/quit.desktop
@@ -1,8 +1,9 @@
[Desktop Entry]
Type=Application
Exec=shutdown
Icon=Shutdown
Name=Shutdown
+Name[pt_BR]=Desligar
Name[no]=Skru av
Name[de]=Beenden
Name[hu]=Leállítás
diff --git a/apps/__9quit.desktop b/apps/__9quit.desktop
index ed024b0..856097d 100644
--- a/apps/__9quit.desktop
+++ b/apps/__9quit.desktop
@@ -1,5 +1,6 @@
[Desktop Entry]
Type=Application
Exec=suspend
Icon=Shutdown
Name=Suspend
+Name[pt_BR]=Suspender
diff --git a/core/applets/batteryapplet/batteryapplet.pro b/core/applets/batteryapplet/batteryapplet.pro
index dcb606d..d139e58 100644
--- a/core/applets/batteryapplet/batteryapplet.pro
+++ b/core/applets/batteryapplet/batteryapplet.pro
@@ -1,12 +1,13 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = battery.h batterystatus.h batteryappletimpl.h
SOURCES = battery.cpp batterystatus.cpp batteryappletimpl.cpp
TARGET = batteryapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libbatteryapplet.ts
+TRANSLATIONS = ../../i18n/pt_BR/libbatteryapplet.ts
diff --git a/core/applets/clipboardapplet/clipboardapplet.pro b/core/applets/clipboardapplet/clipboardapplet.pro
index 9832984..f71c787 100644
--- a/core/applets/clipboardapplet/clipboardapplet.pro
+++ b/core/applets/clipboardapplet/clipboardapplet.pro
@@ -1,10 +1,12 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = clipboard.h clipboardappletimpl.h
SOURCES = clipboard.cpp clipboardappletimpl.cpp
TARGET = clipboardapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
+
+TRANSLATIONS = ../../i18n/pt_BR/libclipboardapplet.ts
diff --git a/core/applets/clockapplet/clockapplet.pro b/core/applets/clockapplet/clockapplet.pro
index 1392680..0397340 100644
--- a/core/applets/clockapplet/clockapplet.pro
+++ b/core/applets/clockapplet/clockapplet.pro
@@ -1,12 +1,13 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = clock.h clockappletimpl.h
SOURCES = clock.cpp clockappletimpl.cpp
TARGET = clockapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libclockapplet.ts
+TRANSLATIONS = ../../i18n/pt_BR/libclockapplet.ts
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro
index 095cce2..d03bacc 100644
--- a/core/applets/screenshotapplet/screenshotapplet.pro
+++ b/core/applets/screenshotapplet/screenshotapplet.pro
@@ -1,13 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = screenshot.h screenshotappletimpl.h
SOURCES = screenshot.cpp screenshotappletimpl.cpp
TARGET = screenshotapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
MOC_DIR=opieobj
OBJECTS_DIR=opieobj
+TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 48dd193..9d69130 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -1,382 +1,434 @@
/************************************************************************************
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
************************************************************************************/
/*
* $Id$
*/
-
+// Sun 03-17-2002 L.J.Potter <ljp@llornkcor.com>
#include <sys/utsname.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
#include <string.h>
#include <stdlib.h>
typedef struct _waveheader {
u_long main_chunk; /* 'RIFF' */
u_long length; /* filelen */
u_long chunk_type; /* 'WAVE' */
u_long sub_chunk; /* 'fmt ' */
u_long sc_len; /* length of sub_chunk, =16
(chunckSize) format len */
u_short format; /* should be 1 for PCM-code (formatTag) */
u_short modus; /* 1 Mono, 2 Stereo (channels) */
u_long sample_fq; /* samples per second (samplesPerSecond) */
u_long byte_p_sec; /* avg bytes per second (avgBytePerSecond) */
u_short byte_p_spl; /* samplesize; 1 or 2 bytes (blockAlign) */
u_short bit_p_spl; /* 8, 12 or 16 bit (bitsPerSample) */
u_long data_chunk; /* 'data' */
u_long data_length;/* samplecount */
} WaveHeader;
#define RIFF 0x46464952
#define WAVE 0x45564157
#define FMT 0x20746D66
#define DATA 0x61746164
#define PCM_CODE 1
#define WAVE_MONO 1
#define WAVE_STEREO 2
#include "vmemo.h"
#include <qpe/qpeapplication.h>
#include <qpe/resource.h>
#include <qpe/config.h>
#include <qpainter.h>
#include <qdatetime.h>
#include <qsound.h>
#include <qfile.h>
#include <qmessagebox.h>
int seq = 0;
/* XPM */
static char * vmemo_xpm[] = {
"14 14 47 1",
" c None",
". c #101010",
"+ c #0D0D0D",
"@ c #0B0B0B",
"# c #393939",
"$ c #6C6C6C",
"% c #5D5D5D",
"& c #4E4E4E",
"* c #1C1C1C",
"= c #131313",
"- c #7B7B7B",
"; c #303030",
"> c #383838",
", c #3F3F3F",
"' c #343434",
") c #060606",
"! c #444444",
"~ c #646464",
"{ c #505050",
"] c #717171",
"^ c #1B1B1B",
"/ c #585858",
"( c #4C4C4C",
"_ c #353535",
": c #0E0E0E",
"< c #080808",
"[ c #262626",
"} c #121212",
"| c #7F7F7F",
"1 c #464646",
"2 c #0C0C0C",
"3 c #727272",
"4 c #292929",
"5 c #656565",
"6 c #565656",
"7 c #434343",
"8 c #272727",
"9 c #0F0F0F",
"0 c #3A3A3A",
"a c #090909",
"b c #535353",
"c c #545454",
"d c #494949",
"e c #7A7A7A",
"f c #202020",
"g c #3D3D3D",
"h c #1F1F1F",
" .+@ ",
" #$%&* ",
" =-;>,')",
" .$;!~,)",
" ;#{]!)",
" ^~/(_)",
" ./:@<[)",
" }. .|]1;;2 ",
" #-$;^/3&;;4@ ",
".$;;#5:67;89 ",
":%;0%&ab;8. ",
"@cd%e!fg49 ",
" h0,!_;2@ ",
" ))))) "};
VMemo::VMemo( QWidget *parent, const char *name )
: QWidget( parent, name )
{
setFixedHeight( 18 );
setFixedWidth( 14 );
recording = FALSE;
- myChannel = new QCopChannel( "QPE/VMemo", this );
- connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)),
- this, SLOT(receive(const QCString&, const QByteArray&)) );
-
- struct utsname name; /* check for embedix kernel running on the zaurus, if
- lineo change string, this break
- */
- if (uname(&name) != -1)
- {
- QString release=name.release;
- if(release.find("embedix",0,TRUE) !=-1)
- systemZaurus=TRUE;
- else
- {
- systemZaurus=FALSE;
-
- // Register the REC key press.
- QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)");
- e << 4096;
- e << QString("QPE/VMemo");
- e << QString("toggleRecord()");
- }
- }
+ struct utsname name; /* check for embedix kernel running on the zaurus*/
+ if (uname(&name) != -1) {
+ QString release=name.release;
+ if(release.find("embedix",0,TRUE) !=-1)
+ systemZaurus=TRUE;
+ else {
+ systemZaurus=FALSE;
+// myChannel = new QCopChannel( "QPE/VMemo", this );
+// connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)),
+// this, SLOT(receive(const QCString&, const QByteArray&)) );
+
+// // Register the REC key press, for ipaq only
+// QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)");
+// e << 4096;
+// e << QString("QPE/VMemo");
+// e << QString("toggleRecord()");
+ }
+ }
}
VMemo::~VMemo()
{
}
void VMemo::receive( const QCString &msg, const QByteArray &data )
{
QDataStream stream( data, IO_ReadOnly );
if (msg == "toggleRecord()")
- {
- if (recording)
- mouseReleaseEvent(NULL);
- else
- mousePressEvent(NULL);
- }
+ {
+ if (recording)
+ mouseReleaseEvent(NULL);
+ else
+ mousePressEvent(NULL);
+ }
}
void VMemo::paintEvent( QPaintEvent* )
{
QPainter p(this);
p.drawPixmap( 0, 1,( const char** ) vmemo_xpm );
}
void VMemo::mousePressEvent( QMouseEvent *me )
{
// just to be safe
if (recording)
- {
- recording = FALSE;
- return;
- }
+ {
+ recording = FALSE;
+ return;
+ }
/*
- No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
- mousePressEvent and mouseReleaseEvent with a NULL parameter.
+ No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
+ mousePressEvent and mouseReleaseEvent with a NULL parameter.
*/
- if (!systemZaurus && me != NULL)
- return;
+// if (!systemZaurus && me != NULL)
+// return;
QSound::play(Resource::findSound("vmemob"));
-
+ qDebug("Start recording");
recording = TRUE;
if (openDSP() == -1)
- {
- QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort");
- recording = FALSE;
- return;
- }
+ {
+ QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort");
+ recording = FALSE;
+ return;
+ }
Config vmCfg("VMemo");
vmCfg.setGroup("Defaults");
QDateTime dt = QDateTime::currentDateTime();
QString fileName;
if(systemZaurus)
- fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs
+ fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs
else
- fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/");
+ fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/");
fileName += "vm_";
fileName += dt.toString();
fileName += ".wav";
// No spaces in the filename
fileName.replace(QRegExp("'"),"");
fileName.replace(QRegExp(" "),"_");
fileName.replace(QRegExp(":"),".");
fileName.replace(QRegExp(","),"");
if(openWAV(fileName.latin1()) == -1)
- {
- QString err("Could not open the output file: ");
- err += fileName;
+ {
+ QString err("Could not open the output file: ");
+ err += fileName;
- QMessageBox::critical(0, "VMemo", err, "Abort");
- close(dsp);
- return;
- }
+ QMessageBox::critical(0, "VMemo", err, "Abort");
+ close(dsp);
+ return;
+ }
QArray<int> cats(1);
cats[0] = vmCfg.readNumEntry("Category", 0);
QString dlName("vm_");
dlName += dt.toString();
DocLnk l;
l.setFile(fileName);
l.setName(dlName);
l.setType("audio/x-wav");
l.setCategories(cats);
l.writeLink();
record();
}
void VMemo::mouseReleaseEvent( QMouseEvent * )
{
recording = FALSE;
}
int VMemo::openDSP()
{
Config cfg("Sound");
cfg.setGroup("Record");
speed = cfg.readNumEntry("SampleRate", 22050);
channels = cfg.readNumEntry("Stereo", 1) ? 2 : 1; // 1 = stereo(2), 0 = mono(1)
- if (cfg.readNumEntry("SixteenBit", 1)==1)
- {
- format = AFMT_S16_LE;
- resolution = 16;
- }
- else
- {
- format = AFMT_U8;
- resolution = 8;
- }
+ if (cfg.readNumEntry("SixteenBit", 1)==1) {
+ format = AFMT_S16_LE;
+ resolution = 16;
+ }
+// else {
+// format = AFMT_U8;
+// resolution = 8;
+// }
- if(systemZaurus)
- {
- dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1
- channels=1; //zaurus has one input channel
- }
- else
- dsp = open("/dev/dsp", O_RDWR);
+ if(systemZaurus) {
+ dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1
+ channels=1; //zaurus has one input channel
+ } else {
+ dsp = open("/dev/dsp", O_RDWR);
+ }
- if(dsp == -1)
- {
+ if(dsp == -1) {
perror("open(\"/dev/dsp\")");
return -1;
- }
+ }
- if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1)
- {
- perror("ioctl(\"SNDCTL_DSP_SETFMT\")");
- return -1;
- }
- if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1)
- {
- perror("ioctl(\"SNDCTL_DSP_CHANNELS\")");
- return -1;
- }
- if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1)
- {
- perror("ioctl(\"SNDCTL_DSP_SPEED\")");
- return -1;
- }
- if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1)
- {
- perror("ioctl(\"SOUND_PCM_READ_RATE\")");
- return -1;
- }
+ if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1) {
+ perror("ioctl(\"SNDCTL_DSP_SETFMT\")");
+ return -1;
+ }
+ if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1) {
+ perror("ioctl(\"SNDCTL_DSP_CHANNELS\")");
+ return -1;
+ }
+ if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1) {
+ perror("ioctl(\"SNDCTL_DSP_SPEED\")");
+ return -1;
+ }
+ if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1) {
+ perror("ioctl(\"SOUND_PCM_READ_RATE\")");
+ return -1;
+ }
return 1;
}
int VMemo::openWAV(const char *filename)
{
track.setName(filename);
- if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw))
- return -1;
+ if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw))
+ return -1;
wav=track.handle();
WaveHeader wh;
wh.main_chunk = RIFF;
wh.length=0;
wh.chunk_type = WAVE;
wh.sub_chunk = FMT;
wh.sc_len = 16;
wh.format = PCM_CODE;
wh.modus = channels;
wh.sample_fq = speed;
wh.byte_p_sec = speed * channels * resolution/8;
wh.byte_p_spl = channels * (resolution / 8);
wh.bit_p_spl = resolution;
wh.data_chunk = DATA;
wh.data_length= 0;
// qDebug("Write header channels %d, speed %d, b/s %d, blockalign %d, bitrate %d"
// , wh.modus, wh.sample_fq, wh.byte_p_sec, wh.byte_p_spl, wh.bit_p_spl );
write (wav, &wh, sizeof(WaveHeader));
return 1;
}
void VMemo::record(void)
{
int length=0, result, value;
- char sound[512];
+ qDebug("Recording");
+
+ if(format==AFMT_S16_LE) {
+ signed short sound[512], monoBuffer[512];
+ while(recording) {
+ result = read(dsp, sound, 512); // 8192
+ qApp->processEvents();
+ int j=0;
+ if(systemZaurus) {
+ for (int i = 0; i < result; i++) { //since Z is mono do normally
+ monoBuffer[i] = sound[i];
+ }
+ qApp->processEvents();
+ length+=write(wav, monoBuffer, result);
+ } else { //ipaq /stereo inputs
+ for (int i = 0; i < result; i+=2) {
+ monoBuffer[j] = (sound[i]+sound[i+1])/2;
+ j++;
+ }
+ qApp->processEvents();
+ length+=write(wav, monoBuffer, result/2);
+ }
+ printf("%d\r",length);
+ fflush(stdout);
+ }
+ }
+ // else { //AFMT_U8 // don't try this yet.. as player doesn't understand
+// 8bit unsigned
+ // unsigned short sound[512], monoBuffer[512];
+// while(recording)
+// {
+// result = read(dsp, sound, 512); // 8192
+// qApp->processEvents();
+// int j=0;
+// if(systemZaurus)
+// {
+// for (int i = 0; i < result; i++) { //since Z is mono do normally
+// monoBuffer[i] = sound[i];
+// }
+// qApp->processEvents();
+// length+=write(wav, monoBuffer, result);
+// } else { //ipaq /stereo inputs
+// for (int i = 0; i < result; i+=2) {
+// monoBuffer[j] = (sound[i]+sound[i+1])/2;
+// j++;
+// }
+// qApp->processEvents();
+// length+=write(wav, monoBuffer, result/2);
+// }
+// // length += result;
+// printf("%d\r",length);
+// fflush(stdout);
+
+// qApp->processEvents();
+// }
+// }
+
+
- while(recording)
- {
- result = read(dsp, sound, 512); // 8192
- qApp->processEvents();
+// char sound[512]; //char is 8 bit
+
+// while(recording)
+// {
+// result = read(dsp, sound, 512); // 8192
+// qApp->processEvents();
- write(wav, sound, result);
- length += result;
+// write(wav, sound, result);
+// length += result;
- qApp->processEvents();
- }
+// qApp->processEvents();
+// }
+// qDebug("file has length of %d lasting %d seconds",
+// length, (( length / speed) / channels) / 2 );
+// medialplayer states wrong length in secs
+
value = length+36;
lseek(wav, 4, SEEK_SET);
write(wav, &value, 4);
lseek(wav, 40, SEEK_SET);
write(wav, &length, 4);
track.close();
if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1)
- perror("ioctl(\"SNDCTL_DSP_RESET\")");
+ perror("ioctl(\"SNDCTL_DSP_RESET\")");
::close(dsp);
+// if(systemZaurus)
+ QMessageBox::message("Vmemo"," Done recording");
QSound::play(Resource::findSound("vmemoe"));
}
diff --git a/core/applets/vmemo/vmemo.pro b/core/applets/vmemo/vmemo.pro
index bf9af4b..29f99fb 100644
--- a/core/applets/vmemo/vmemo.pro
+++ b/core/applets/vmemo/vmemo.pro
@@ -1,11 +1,12 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = vmemo.h vmemoimpl.h
SOURCES = vmemo.cpp vmemoimpl.cpp
TARGET = vmemoapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
+TRANSLATIONS = ../../i18n/pt_BR/libvmemoapplet.ts
diff --git a/core/applets/volumeapplet/volumeapplet.pro b/core/applets/volumeapplet/volumeapplet.pro
index fedaed7..c5b764b 100644
--- a/core/applets/volumeapplet/volumeapplet.pro
+++ b/core/applets/volumeapplet/volumeapplet.pro
@@ -1,12 +1,13 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = volume.h volumeappletimpl.h
SOURCES = volume.cpp volumeappletimpl.cpp
TARGET = volumeapplet
DESTDIR = ../../plugins/applets
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libvolumeapplet.ts
+TRANSLATIONS = ../../i18n/pt_BR/libvolumeapplet.ts
diff --git a/core/apps/embeddedkonsole/embeddedkonsole.pro b/core/apps/embeddedkonsole/embeddedkonsole.pro
index f4e1f2d..b5e72ba 100755
--- a/core/apps/embeddedkonsole/embeddedkonsole.pro
+++ b/core/apps/embeddedkonsole/embeddedkonsole.pro
@@ -1,36 +1,37 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = TEWidget.h \
TEScreen.h \
TECommon.h \
TEHistory.h \
TEmulation.h \
TEmuVt102.h \
session.h \
keytrans.h \
konsole.h \
commandeditdialog.h \
commandeditwidget.h \
playlistselection.h \
MyPty.h
SOURCES = TEScreen.cpp \
TEWidget.cpp \
TEHistory.cpp \
TEmulation.cpp \
TEmuVt102.cpp \
session.cpp \
keytrans.cpp \
konsole.cpp \
commandeditdialog.cpp \
commandeditwidget.cpp \
playlistselection.cpp \
MyPty.cpp \
main.cpp
INTERFACES = commandeditdialogbase.ui smallcommandeditdialogbase.ui
TARGET = embeddedkonsole
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
REQUIRES = embeddedkonsole
+TRANSLATIONS = ../i18n/pt_BR/embeddedkonsole.ts
diff --git a/core/apps/helpbrowser/helpbrowser.pro b/core/apps/helpbrowser/helpbrowser.pro
index f6ede8b..05b196f 100644
--- a/core/apps/helpbrowser/helpbrowser.pro
+++ b/core/apps/helpbrowser/helpbrowser.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = helpbrowser.h
SOURCES = helpbrowser.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TRANSLATIONS = ../i18n/de/helpbrowser.ts
+TRANSLATIONS = ../i18n/pt_BR/helpbrowser.ts
diff --git a/core/apps/textedit/textedit.pro b/core/apps/textedit/textedit.pro
index f019bf7..1301aed 100644
--- a/core/apps/textedit/textedit.pro
+++ b/core/apps/textedit/textedit.pro
@@ -1,14 +1,15 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = textedit.h fileBrowser.h fontDialog.h fileSaver.h filePermissions.h inputDialog.h
-SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp
+SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = textedit
TRANSLATIONS = ../i18n/de/textedit.ts
+TRANSLATIONS = ../i18n/pt_BR/textedit.ts
diff --git a/core/launcher/launcher.pro b/core/launcher/launcher.pro
index 32cb95f..39df594 100644
--- a/core/launcher/launcher.pro
+++ b/core/launcher/launcher.pro
@@ -1,112 +1,113 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = background.h \
desktop.h \
qprocess.h \
info.h \
appicons.h \
taskbar.h \
sidething.h \
mrulist.h \
stabmon.h \
inputmethods.h \
systray.h \
wait.h \
shutdownimpl.h \
launcher.h \
launcherview.h \
../calibrate/calibrate.h \
startmenu.h \
transferserver.h \
qcopbridge.h \
packageslave.h \
irserver.h \
- $(OPIEDIR)/rsync/buf.h \
- $(OPIEDIR)/rsync/checksum.h \
- $(OPIEDIR)/rsync/command.h \
- $(OPIEDIR)/rsync/emit.h \
- $(OPIEDIR)/rsync/job.h \
- $(OPIEDIR)/rsync/netint.h \
- $(OPIEDIR)/rsync/protocol.h \
- $(OPIEDIR)/rsync/prototab.h \
- $(OPIEDIR)/rsync/rsync.h \
- $(OPIEDIR)/rsync/search.h \
- $(OPIEDIR)/rsync/stream.h \
- $(OPIEDIR)/rsync/sumset.h \
- $(OPIEDIR)/rsync/trace.h \
- $(OPIEDIR)/rsync/types.h \
- $(OPIEDIR)/rsync/util.h \
- $(OPIEDIR)/rsync/whole.h \
- $(OPIEDIR)/rsync/config_rsync.h \
- $(OPIEDIR)/rsync/qrsync.h
+ /skiff/opie/rsync/buf.h \
+ /skiff/opie/rsync/checksum.h \
+ /skiff/opie/rsync/command.h \
+ /skiff/opie/rsync/emit.h \
+ /skiff/opie/rsync/job.h \
+ /skiff/opie/rsync/netint.h \
+ /skiff/opie/rsync/protocol.h \
+ /skiff/opie/rsync/prototab.h \
+ /skiff/opie/rsync/rsync.h \
+ /skiff/opie/rsync/search.h \
+ /skiff/opie/rsync/stream.h \
+ /skiff/opie/rsync/sumset.h \
+ /skiff/opie/rsync/trace.h \
+ /skiff/opie/rsync/types.h \
+ /skiff/opie/rsync/util.h \
+ /skiff/opie/rsync/whole.h \
+ /skiff/opie/rsync/config_rsync.h \
+ /skiff/opie/rsync/qrsync.h
# quicklauncher.h \
SOURCES = background.cpp \
desktop.cpp \
qprocess.cpp qprocess_unix.cpp \
info.cpp \
appicons.cpp \
taskbar.cpp \
sidething.cpp \
mrulist.cpp \
stabmon.cpp \
inputmethods.cpp \
systray.cpp \
wait.cpp \
shutdownimpl.cpp \
launcher.cpp \
launcherview.cpp \
- $(OPIEDIR)/calibrate/calibrate.cpp \
+ /skiff/opie/calibrate/calibrate.cpp \
transferserver.cpp \
packageslave.cpp \
irserver.cpp \
qcopbridge.cpp \
startmenu.cpp \
main.cpp \
- $(OPIEDIR)/rsync/base64.c \
- $(OPIEDIR)/rsync/buf.c \
- $(OPIEDIR)/rsync/checksum.c \
- $(OPIEDIR)/rsync/command.c \
- $(OPIEDIR)/rsync/delta.c \
- $(OPIEDIR)/rsync/emit.c \
- $(OPIEDIR)/rsync/hex.c \
- $(OPIEDIR)/rsync/job.c \
- $(OPIEDIR)/rsync/mdfour.c \
- $(OPIEDIR)/rsync/mksum.c \
- $(OPIEDIR)/rsync/msg.c \
- $(OPIEDIR)/rsync/netint.c \
- $(OPIEDIR)/rsync/patch.c \
- $(OPIEDIR)/rsync/prototab.c \
- $(OPIEDIR)/rsync/readsums.c \
- $(OPIEDIR)/rsync/scoop.c \
- $(OPIEDIR)/rsync/search.c \
- $(OPIEDIR)/rsync/stats.c \
- $(OPIEDIR)/rsync/stream.c \
- $(OPIEDIR)/rsync/sumset.c \
- $(OPIEDIR)/rsync/trace.c \
- $(OPIEDIR)/rsync/tube.c \
- $(OPIEDIR)/rsync/util.c \
- $(OPIEDIR)/rsync/version.c \
- $(OPIEDIR)/rsync/whole.c \
- $(OPIEDIR)/rsync/qrsync.cpp
+ /skiff/opie/rsync/base64.c \
+ /skiff/opie/rsync/buf.c \
+ /skiff/opie/rsync/checksum.c \
+ /skiff/opie/rsync/command.c \
+ /skiff/opie/rsync/delta.c \
+ /skiff/opie/rsync/emit.c \
+ /skiff/opie/rsync/hex.c \
+ /skiff/opie/rsync/job.c \
+ /skiff/opie/rsync/mdfour.c \
+ /skiff/opie/rsync/mksum.c \
+ /skiff/opie/rsync/msg.c \
+ /skiff/opie/rsync/netint.c \
+ /skiff/opie/rsync/patch.c \
+ /skiff/opie/rsync/prototab.c \
+ /skiff/opie/rsync/readsums.c \
+ /skiff/opie/rsync/scoop.c \
+ /skiff/opie/rsync/search.c \
+ /skiff/opie/rsync/stats.c \
+ /skiff/opie/rsync/stream.c \
+ /skiff/opie/rsync/sumset.c \
+ /skiff/opie/rsync/trace.c \
+ /skiff/opie/rsync/tube.c \
+ /skiff/opie/rsync/util.c \
+ /skiff/opie/rsync/version.c \
+ /skiff/opie/rsync/whole.c \
+ /skiff/opie/rsync/qrsync.cpp
INTERFACES = shutdown.ui syncdialog.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include .
INCLUDEPATH += $(OPIEDIR)/calibrate
DEPENDPATH += $(OPIEDIR)/calibrate
INCLUDEPATH += $(OPIEDIR)/rsync
DEPENDPATH += $(OPIEDIR)/rsync
TARGET = qpe
LIBS += -lqpe -lcrypt
TRANSLATIONS = ../i18n/de/qpe.ts
+TRANSLATIONS = ../i18n/pt_BR/qpe.ts
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro
index 06e19e4..6b75d1f 100644
--- a/core/multimedia/opieplayer/libmad/libmad.pro
+++ b/core/multimedia/opieplayer/libmad/libmad.pro
@@ -1,12 +1,14 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \
layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h
SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \
layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp
TARGET = madplugin
DESTDIR = ../../plugins/codecs
INCLUDEPATH += $(OPIEDIR)/include ..
DEPENDPATH += ../$(OPIEDIR)/include ..
LIBS += -lqpe -lm
VERSION = 1.0.0
+
+TRANSLATIONS = ../../i18n/pt_BR/libmadplugin.ts
diff --git a/core/multimedia/opieplayer/mpegplayer.pro b/core/multimedia/opieplayer/mpegplayer.pro
index 5bea541..58cb34b 100644
--- a/core/multimedia/opieplayer/mpegplayer.pro
+++ b/core/multimedia/opieplayer/mpegplayer.pro
@@ -1,25 +1,26 @@
TEMPLATE = app
CONFIG = qt warn_on release
#release
DESTDIR = $(OPIEDIR)/bin
HEADERS = loopcontrol.h mediaplayerplugininterface.h playlistselection.h mediaplayerstate.h \
videowidget.h audiowidget.h playlistwidget.h mediaplayer.h audiodevice.h inputDialog.h
SOURCES = main.cpp \
loopcontrol.cpp playlistselection.cpp mediaplayerstate.cpp \
videowidget.cpp audiowidget.cpp playlistwidget.cpp mediaplayer.cpp audiodevice.cpp inputDialog.cpp
TARGET = mpegplayer
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lpthread
# INTERFACES =
# INCLUDEPATH += $(OPIEDIR)/include
# CONFIG+=static
# TMAKE_CXXFLAGS += -DQPIM_STANDALONE
# LIBS += libmpeg3/libmpeg3.a -lpthread
# LIBS += $(OPIEDIR)/plugins/codecs/liblibmadplugin.so
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
TRANSLATIONS = ../i18n/de/mpegplayer.ts
+TRANSLATIONS = ../i18n/pt_BR/mpegplayer.ts
diff --git a/core/pim/addressbook/addressbook.pro b/core/pim/addressbook/addressbook.pro
index 32e21a2..e1ab94a 100644
--- a/core/pim/addressbook/addressbook.pro
+++ b/core/pim/addressbook/addressbook.pro
@@ -1,22 +1,23 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = addressbook.h \
abeditor.h \
ablabel.h \
abtable.h \
addresssettings.h
SOURCES = main.cpp \
addressbook.cpp \
abeditor.cpp \
ablabel.cpp \
abtable.cpp \
addresssettings.cpp
INTERFACES = addresssettingsbase.ui
TARGET = addressbook
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/addressbook.ts
+TRANSLATIONS = ../i18n/pt_BR/addressbook.ts
diff --git a/core/pim/datebook/datebook.pro b/core/pim/datebook/datebook.pro
index bbe07af..416bae0 100644
--- a/core/pim/datebook/datebook.pro
+++ b/core/pim/datebook/datebook.pro
@@ -1,42 +1,43 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = datebookday.h \
datebook.h \
dateentryimpl.h \
datebookdayheaderimpl.h \
datebooksettings.h \
datebookweek.h \
datebookweeklst.h \
datebookweekheaderimpl.h \
repeatentry.h \
clickablelabel.h
SOURCES = main.cpp \
datebookday.cpp \
datebook.cpp \
dateentryimpl.cpp \
datebookdayheaderimpl.cpp \
datebooksettings.cpp \
datebookweek.cpp \
datebookweeklst.cpp \
datebookweekheaderimpl.cpp \
repeatentry.cpp \
clickablelabel.cpp
INTERFACES = dateentry.ui \
datebookdayheader.ui \
datebooksettingsbase.ui \
datebookweekheader.ui \
datebookweeklstheader.ui \
datebookweeklstdayhdr.ui \
repeatentrybase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = datebook
TRANSLATIONS = ../i18n/de/datebook.ts
+TRANSLATIONS = ../i18n/pt_BR/datebook.ts
diff --git a/core/pim/today/today.pro b/core/pim/today/today.pro
index 454b3ff..e61480c 100644
--- a/core/pim/today/today.pro
+++ b/core/pim/today/today.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
#CONFIG = qt warn_on debug
CONFIG = qt warn_on release
HEADERS = today.h TodoItem.h minidom.h todaybase.h todayconfig.h clickablelabel.h
SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp minidom.c TodoItem.cpp clickablelabel.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TARGET = today
DESTDIR = $(OPIEDIR)/bin
+TRANSLATIONS = ../i18n/pt_BR/today.ts
diff --git a/core/pim/todo/todo.pro b/core/pim/todo/todo.pro
index 5eb02a2..1cdf795 100644
--- a/core/pim/todo/todo.pro
+++ b/core/pim/todo/todo.pro
@@ -1,19 +1,20 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = mainwindow.h \
todotable.h \
todoentryimpl.h
SOURCES = main.cpp \
mainwindow.cpp \
todotable.cpp \
todoentryimpl.cpp
INTERFACES = todoentry.ui
TARGET = todolist
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/todolist.ts
+TRANSLATIONS = ../i18n/pt_BR/todolist.ts
diff --git a/core/settings/citytime/citytime.pro b/core/settings/citytime/citytime.pro
index 3420499..01dc6c9 100644
--- a/core/settings/citytime/citytime.pro
+++ b/core/settings/citytime/citytime.pro
@@ -1,13 +1,14 @@
# $Id$
CONFIG += qt warn_on release
TEMPLATE = app
DESTDIR = $(OPIEDIR)/bin
INTERFACES = citytimebase.ui
HEADERS = citytime.h zonemap.h sun.h stylusnormalizer.h
SOURCES = citytime.cpp zonemap.cpp main.cpp sun.c stylusnormalizer.cpp
TARGET = citytime
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/citytime.ts
+TRANSLATIONS = ../i18n/pt_BR/citytime.ts
diff --git a/core/settings/light-and-power/light-and-power.pro b/core/settings/light-and-power/light-and-power.pro
index 35b51a7..0465bfb 100644
--- a/core/settings/light-and-power/light-and-power.pro
+++ b/core/settings/light-and-power/light-and-power.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = settings.h
SOURCES = light.cpp main.cpp
INTERFACES = lightsettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = light-and-power
TRANSLATIONS = ../../i18n/de/light-and-power.ts
+TRANSLATIONS = ../../i18n/pt_BR/light-and-power.ts
diff --git a/core/settings/security/security.pro b/core/settings/security/security.pro
index f22e7a6..b67fe6d 100644
--- a/core/settings/security/security.pro
+++ b/core/settings/security/security.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = security.h
SOURCES = security.cpp main.cpp
INTERFACES = securitybase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = security
TRANSLATIONS = ../../i18n/de/security.ts
+TRANSLATIONS = ../../i18n/pt_BR/security.ts
diff --git a/inputmethods/dvorak/dvorak.pro b/inputmethods/dvorak/dvorak.pro
index 8d95dcb..9b4f9f5 100644
--- a/inputmethods/dvorak/dvorak.pro
+++ b/inputmethods/dvorak/dvorak.pro
@@ -1,18 +1,20 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = dvorak.h \
../pickboard/pickboardcfg.h \
../pickboard/pickboardpicks.h \
dvorakimpl.h
SOURCES = dvorak.cpp \
../pickboard/pickboardcfg.cpp \
../pickboard/pickboardpicks.cpp \
dvorakimpl.cpp
TARGET = qdvorak
DESTDIR = ../../plugins/inputmethods
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libqdvorak.ts
+TRANSLATIONS = ../../i18n/pt_BR/libqdvorak.ts
+
diff --git a/inputmethods/handwriting/handwriting.pro b/inputmethods/handwriting/handwriting.pro
index 9bccbb9..e7705d9 100644
--- a/inputmethods/handwriting/handwriting.pro
+++ b/inputmethods/handwriting/handwriting.pro
@@ -1,33 +1,35 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = qimpenchar.h \
qimpenprofile.h \
qimpencombining.h \
qimpenhelp.h \
qimpeninput.h \
qimpenmatch.h \
qimpensetup.h \
qimpenstroke.h \
qimpenwidget.h \
qimpenwordpick.h \
handwritingimpl.h
SOURCES = qimpenchar.cpp \
qimpenprofile.cpp \
qimpencombining.cpp \
qimpenhelp.cpp \
qimpeninput.cpp \
qimpenmatch.cpp \
qimpensetup.cpp \
qimpenstroke.cpp \
qimpenwidget.cpp \
qimpenwordpick.cpp \
handwritingimpl.cpp
INTERFACES = qimpenprefbase.ui
TARGET = qhandwriting
DESTDIR = ../../plugins/inputmethods
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libqhandwriting.ts
+TRANSLATIONS = ../../i18n/pt_BR/libqhandwriting.ts
+
diff --git a/inputmethods/keyboard/keyboard.pro b/inputmethods/keyboard/keyboard.pro
index 6e9df79..eb653a7 100644
--- a/inputmethods/keyboard/keyboard.pro
+++ b/inputmethods/keyboard/keyboard.pro
@@ -1,18 +1,20 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = keyboard.h \
../pickboard/pickboardcfg.h \
../pickboard/pickboardpicks.h \
keyboardimpl.h
SOURCES = keyboard.cpp \
../pickboard/pickboardcfg.cpp \
../pickboard/pickboardpicks.cpp \
keyboardimpl.cpp
TARGET = qkeyboard
DESTDIR = ../../plugins/inputmethods
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libqkeyboard.ts
+TRANSLATIONS = ../../i18n/pt_BR/libqkeyboard.ts
+
diff --git a/inputmethods/pickboard/pickboard.pro b/inputmethods/pickboard/pickboard.pro
index ad86370..f57016a 100644
--- a/inputmethods/pickboard/pickboard.pro
+++ b/inputmethods/pickboard/pickboard.pro
@@ -1,12 +1,13 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = pickboard.h pickboardcfg.h pickboardimpl.h pickboardpicks.h
SOURCES = pickboard.cpp pickboardcfg.cpp pickboardimpl.cpp pickboardpicks.cpp
TARGET = qpickboard
DESTDIR = ../../plugins/inputmethods
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libqpickboard.ts
+TRANSLATIONS = ../../i18n/pt_BR/libqpickboard.ts
diff --git a/inputmethods/unikeyboard/unikeyboard.pro b/inputmethods/unikeyboard/unikeyboard.pro
index 509db07..bea1ce3 100644
--- a/inputmethods/unikeyboard/unikeyboard.pro
+++ b/inputmethods/unikeyboard/unikeyboard.pro
@@ -1,12 +1,13 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = unikeyboard.h unikeyboardimpl.h
SOURCES = unikeyboard.cpp unikeyboardimpl.cpp
TARGET = qunikeyboard
DESTDIR = ../../plugins/inputmethods
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
LIBS += -lqpe
VERSION = 1.0.0
TRANSLATIONS += ../../i18n/de/libqunikeyboard.ts
+TRANSLATIONS = ../../i18n/pt_BR/libqunikeyboard.ts
diff --git a/library/library.pro b/library/library.pro
index e71e5a0..4352e6a 100644
--- a/library/library.pro
+++ b/library/library.pro
@@ -1,130 +1,131 @@
TEMPLATE = lib
CONFIG += qt warn_on release
HEADERS = calendar.h \
global.h \
resource.h \
xmlreader.h \
mimetype.h \
menubutton.h \
network.h \
networkinterface.h \
filemanager.h \
fontmanager.h \
qdawg.h \
datebookmonth.h \
fileselector.h \
fileselector_p.h \
imageedit.h \
qcopenvelope_qws.h \
qpedecoration_qws.h \
qpeapplication.h \
qpestyle.h \
qpedialog.h \
lightstyle.h \
config.h \
applnk.h \
sound.h \
tzselect.h \
qmath.h \
datebookdb.h \
alarmserver.h \
process.h \
password.h \
timestring.h \
fontfactoryinterface.h \
fontdatabase.h \
power.h \
storage.h \
qpemessagebox.h \
backend/timeconversion.h \
qpedebug.h \
qpemenubar.h \
qpetoolbar.h \
backend/categories.h \
backend/stringutil.h \
backend/palmtopuid.h \
backend/palmtoprecord.h \
backend/task.h \
backend/event.h \
backend/contact.h\
categorymenu.h \
categoryedit_p.h \
categoryselect.h \
categorywidget.h \
ir.h \
backend/vobject_p.h \
findwidget_p.h \
finddialog.h \
lnkproperties.h
SOURCES = calendar.cpp \
global.cpp \
xmlreader.cpp \
mimetype.cpp \
menubutton.cpp \
network.cpp \
networkinterface.cpp \
filemanager.cpp \
fontmanager.cpp \
qdawg.cpp \
datebookmonth.cpp \
fileselector.cpp \
imageedit.cpp \
resource.cpp \
qpedecoration_qws.cpp \
qcopenvelope_qws.cpp \
qpeapplication.cpp \
qpestyle.cpp \
qpedialog.cpp \
lightstyle.cpp \
config.cpp \
applnk.cpp \
sound.cpp \
tzselect.cpp \
qmath.c \
datebookdb.cpp \
alarmserver.cpp \
password.cpp \
process.cpp \
process_unix.cpp \
timestring.cpp \
fontdatabase.cpp \
power.cpp \
storage.cpp \
qpemessagebox.cpp \
backend/timeconversion.cpp \
qpedebug.cpp \
qpemenubar.cpp \
qpetoolbar.cpp \
backend/categories.cpp \
backend/stringutil.cpp \
backend/palmtoprecord.cpp \
backend/task.cpp \
backend/event.cpp \
backend/contact.cpp \
categorymenu.cpp \
categoryedit_p.cpp \
categoryselect.cpp \
categorywidget.cpp \
ir.cpp \
backend/vcc_yacc.cpp \
backend/vobject.cpp \
findwidget_p.cpp \
finddialog.cpp \
lnkproperties.cpp
# Qt 3 compatibility
qt2:HEADERS += quuid.h qcom.h qlibrary.h qlibrary_p.h
qt2:SOURCES += quuid.cpp qlibrary.cpp qlibrary_unix.cpp
INCLUDEPATH += $(OPIEDIR)/include backend
LIBS += -ldl -lcrypt -lm
INTERFACES = passwordbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkpropertiesbase_p.ui
TARGET = qpe
DESTDIR = $(QTDIR)/lib$(PROJMAK)
# This is set by configure$(OPIEDIR).
VERSION = 1.5.0
TRANSLATIONS = ../i18n/de/libqpe.ts
+TRANSLATIONS = ../i18n/pt_BR/libqpe.ts
diff --git a/noncore/apps/tableviewer/tableviewer.pro b/noncore/apps/tableviewer/tableviewer.pro
index c9d068e..943e3d4 100644
--- a/noncore/apps/tableviewer/tableviewer.pro
+++ b/noncore/apps/tableviewer/tableviewer.pro
@@ -1,36 +1,38 @@
TEMPLATE = app
CONFIG = qt warn_on debug
DESTDIR = ../bin
SUBDIRS = db ui
HEADERS = tableviewer.h \
ui/commonwidgets.h \
ui/tvbrowseview.h \
ui/tvlistview.h \
ui/tvfilterview.h \
ui/tveditview.h \
ui/browsekeyentry.h \
ui/filterkeyentry.h \
ui/tvkeyedit.h \
db/datacache.h \
db/common.h \
db/xmlsource.h \
db/csvsource.h
SOURCES = main.cpp \
tableviewer.cpp \
ui/commonwidgets.cpp \
ui/tvbrowseview.cpp \
ui/tvfilterview.cpp \
ui/browsekeyentry.cpp \
ui/filterkeyentry.cpp \
ui/tvlistview.cpp \
ui/tveditview.cpp \
ui/tvkeyedit.cpp \
db/datacache.cpp \
db/xmlsource.cpp \
db/csvsource.cpp \
db/common.cpp
INTERFACES = ui/tvkeyedit_gen.ui
TARGET = tableviewer
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+
+TRANSLATIONS = ../i18n/pt_BR/tableviewer.ts
diff --git a/noncore/comm/keypebble/keypebble.pro b/noncore/comm/keypebble/keypebble.pro
index c0efc4f..cc6c6e9 100644
--- a/noncore/comm/keypebble/keypebble.pro
+++ b/noncore/comm/keypebble/keypebble.pro
@@ -1,38 +1,39 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../bin
HEADERS = d3des.h \
krfbbuffer.h \
krfbcanvas.h \
krfbconnection.h \
krfbdecoder.h \
krfblogin.h \
krfboptions.h \
krfbserverinfo.h \
kvnc.h \
kvncconnectdlg.h \
kvncoptionsdlg.h \
version.h \
vncauth.h
SOURCES = d3des.c \
vncauth.c \
krfbbuffer.cpp \
krfbcanvas.cpp \
krfbconnection.cpp \
krfbdecoder.cpp \
krfblogin.cpp \
krfboptions.cpp \
kvnc.cpp \
kvncconnectdlg.cpp \
kvncoptionsdlg.cpp \
main.cpp
INTERFACES = vncoptionsbase.ui
TARGET = keypebble
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+TRANSLATIONS = ../i18n/pt_BR/keypebble.ts
diff --git a/noncore/games/chess/chess.pro b/noncore/games/chess/chess.pro
index 9053809..b246767 100644
--- a/noncore/games/chess/chess.pro
+++ b/noncore/games/chess/chess.pro
@@ -1,14 +1,16 @@
SOURCES += chess.cpp main.cpp
HEADERS += chess.h
DESTDIR = ../bin
TARGET = chess
DEPENDPATH += $(OPIEDIR)/include
INTERFACES = mainwindow.ui
IMAGES = images/new.png images/repeat.png images/txt.png images/back.png
TEMPLATE =app
CONFIG += qt warn_on release
INCLUDEPATH += $(OPIEDIR)/include
LIBS += -lqpe
DBFILE = chess.db
LANGUAGE = C++
CPP_ALWAYS_CREATE_SOURCE = TRUE
+
+TRANSLATIONS = ../i18n/pt_BR/chess.ts
diff --git a/noncore/games/fifteen/fifteen.pro b/noncore/games/fifteen/fifteen.pro
index 92072ab..5dfe519 100644
--- a/noncore/games/fifteen/fifteen.pro
+++ b/noncore/games/fifteen/fifteen.pro
@@ -1,10 +1,12 @@
DESTDIR = ../bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = fifteen.h
SOURCES = fifteen.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = fifteen
+
+TRANSLATIONS = ../i18n/pt_BR/fifteen.ts
diff --git a/noncore/games/go/go.pro b/noncore/games/go/go.pro
index b39b5b4..cba2400 100644
--- a/noncore/games/go/go.pro
+++ b/noncore/games/go/go.pro
@@ -1,19 +1,21 @@
DESTDIR = ../bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = amigo.h \
go.h \
goplayutils.h \
gowidget.h
SOURCES = amigo.c \
goplayer.c \
goplayutils.c \
killable.c \
gowidget.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = go
-TRANSLATIONS = ../i18n/de/go.ts \ No newline at end of file
+TRANSLATIONS = ../i18n/de/go.ts
+TRANSLATIONS = ../i18n/pt_BR/go.ts
+
diff --git a/noncore/games/kcheckers/kcheckers.pro b/noncore/games/kcheckers/kcheckers.pro
index 6ed8c1c..fbc12d4 100644
--- a/noncore/games/kcheckers/kcheckers.pro
+++ b/noncore/games/kcheckers/kcheckers.pro
@@ -1,19 +1,21 @@
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = checkers.h \
echeckers.h \
field.h \
kcheckers.h \
rcheckers.h
SOURCES = checkers.cpp \
echeckers.cpp \
field.cpp \
kcheckers.cpp \
main.cpp \
rcheckers.cpp
INTERFACES =
INCLUDEPATH += . \
$(OPIEDIR)/include
LIBS += -lqpe
DESTDIR = $(OPIEDIR)/bin
TARGET = kcheckers
+
+TRANSLATIONS = ../../i18n/pt_BR/kcheckers.ts
diff --git a/noncore/games/mindbreaker/mindbreaker.pro b/noncore/games/mindbreaker/mindbreaker.pro
index fa7dc0c..95c4b98 100644
--- a/noncore/games/mindbreaker/mindbreaker.pro
+++ b/noncore/games/mindbreaker/mindbreaker.pro
@@ -1,12 +1,14 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = mindbreaker.h
SOURCES = main.cpp \
mindbreaker.cpp
TARGET = mindbreaker
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/mindbreaker.ts
+TRANSLATIONS = ../i18n/pt_BR/mindbreaker.ts
+
diff --git a/noncore/games/minesweep/minesweep.pro b/noncore/games/minesweep/minesweep.pro
index 85f626a..8a34551 100644
--- a/noncore/games/minesweep/minesweep.pro
+++ b/noncore/games/minesweep/minesweep.pro
@@ -1,14 +1,15 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = minefield.h \
minesweep.h
SOURCES = main.cpp \
minefield.cpp \
minesweep.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TRANSLATIONS = ../i18n/de/minesweep.ts
+TRANSLATIONS = ../i18n/pt_BR/minesweep.ts
diff --git a/noncore/games/parashoot/parashoot.pro b/noncore/games/parashoot/parashoot.pro
index a7a01b2..ad77985 100644
--- a/noncore/games/parashoot/parashoot.pro
+++ b/noncore/games/parashoot/parashoot.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = interface.h man.h cannon.h base.h bullet.h helicopter.h
SOURCES = main.cpp interface.cpp man.cpp cannon.cpp base.cpp bullet.cpp helicopter.cpp
TARGET = parashoot
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/parashoot.ts
+TRANSLATIONS = ../i18n/pt_BR/parashoot.ts
diff --git a/noncore/games/qasteroids/qasteroids.pro b/noncore/games/qasteroids/qasteroids.pro
index 2f5b2e4..3f91cdb 100644
--- a/noncore/games/qasteroids/qasteroids.pro
+++ b/noncore/games/qasteroids/qasteroids.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = ledmeter.h sprites.h toplevel.h view.h
SOURCES = ledmeter.cpp toplevel.cpp view.cpp main.cpp
TARGET = qasteroids
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/qasteroids.ts
+TRANSLATIONS = ../i18n/pt_BR/qasteroids.ts
diff --git a/noncore/games/snake/snake.pro b/noncore/games/snake/snake.pro
index 38b4023..dcbf1ee 100644
--- a/noncore/games/snake/snake.pro
+++ b/noncore/games/snake/snake.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = snake.h target.h obstacle.h interface.h codes.h
SOURCES = snake.cpp target.cpp obstacle.cpp interface.cpp main.cpp
TARGET = snake
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/snake.ts
+TRANSLATIONS = ../i18n/pt_BR/snake.ts
diff --git a/noncore/games/solitaire/solitaire.pro b/noncore/games/solitaire/solitaire.pro
index 1c90c94..698c607 100755
--- a/noncore/games/solitaire/solitaire.pro
+++ b/noncore/games/solitaire/solitaire.pro
@@ -1,18 +1,19 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = canvascard.h canvasshapes.h cardgame.h cardgamelayout.h cardpile.h card.h carddeck.h canvascardgame.h freecellcardgame.h patiencecardgame.h canvascardwindow.h
SOURCES = canvascard.cpp canvasshapes.cpp cardgame.cpp cardgamelayout.cpp cardpile.cpp card.cpp carddeck.cpp canvascardgame.cpp freecellcardgame.cpp patiencecardgame.cpp canvascardwindow.cpp main.cpp
TARGET = patience
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
REQUIRES = patience
TRANSLATIONS = ../i18n/de/patience.ts
+TRANSLATIONS = ../i18n/pt_BR/patience.ts
diff --git a/noncore/games/tetrix/tetrix.pro b/noncore/games/tetrix/tetrix.pro
index 533fab0..9079bc4 100644
--- a/noncore/games/tetrix/tetrix.pro
+++ b/noncore/games/tetrix/tetrix.pro
@@ -1,17 +1,19 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = ../bin
HEADERS = minefield.h \
gtetrix.h \
qtetrix.h \
qtetrixb.h \
tpiece.h
SOURCES = main.cpp \
gtetrix.cpp \
qtetrix.cpp \
qtetrixb.cpp \
tpiece.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
+
+TRANSLATIONS = ../i18n/pt_BR/tetrix.ts
diff --git a/noncore/games/tictac/tictac.pro b/noncore/games/tictac/tictac.pro
index cb65b00..c82e1ca 100644
--- a/noncore/games/tictac/tictac.pro
+++ b/noncore/games/tictac/tictac.pro
@@ -1,11 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
HEADERS = tictac.h
SOURCES = main.cpp \
tictac.cpp
TARGET = tictac
REQUIRES=medium-config
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
DESTDIR = $(OPIEDIR)/bin
+
+TRANSLATIONS = ../../i18n/pt_BR/tictac.ts
diff --git a/noncore/games/wordgame/wordgame.pro b/noncore/games/wordgame/wordgame.pro
index 64f4832..7ae06ad 100644
--- a/noncore/games/wordgame/wordgame.pro
+++ b/noncore/games/wordgame/wordgame.pro
@@ -1,13 +1,14 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = wordgame.h
SOURCES = main.cpp \
wordgame.cpp
INTERFACES = newgamebase.ui rulesbase.ui
TARGET = wordgame
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/wordgame.ts
+TRANSLATIONS = ../i18n/pt_BR/wordgame.ts
diff --git a/noncore/multimedia/showimg/showimg.pro b/noncore/multimedia/showimg/showimg.pro
index 29da458..f98e0fc 100644
--- a/noncore/multimedia/showimg/showimg.pro
+++ b/noncore/multimedia/showimg/showimg.pro
@@ -1,19 +1,20 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = showimg.h
SOURCES = main.cpp \
showimg.cpp
TARGET = showimg
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
REQUIRES = showimg
TRANSLATIONS = ../i18n/de/showimg.ts
+TRANSLATIONS = ../i18n/pt_BR/showimg.ts
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index a3b29a1..814d706 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -298,609 +298,609 @@ void OpieFtp::localUpload()
FtpOptions(FTPLIB_IDLETIME, (long) 1000, conn);
FtpOptions(FTPLIB_CALLBACKARG, (long) &fsz, conn);
FtpOptions(FTPLIB_CALLBACKBYTES, (long) fsz/10, conn);
qDebug("Put: %s, %s",localFile.latin1(),remoteFile.latin1());
if( !FtpPut( localFile.latin1(), remoteFile.latin1(),FTPLIB_IMAGE, conn ) ) {
QString msg;
msg.sprintf("Unable to upload\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
// FtpQuit(conn);
}
ProgressBar->reset();
nullifyCallBack();
} else {
QMessageBox::message("Note","Cannot upload directories");
}
TabWidget->setCurrentPage(1);
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
QCopEnvelope ( "QPE/System", "notBusy()" );
}
void OpieFtp::nullifyCallBack()
{
FtpOptions(FTPLIB_CALLBACK, NULL, conn);
FtpOptions(FTPLIB_IDLETIME, NULL, conn);
FtpOptions(FTPLIB_CALLBACKARG, NULL, conn);
FtpOptions(FTPLIB_CALLBACKBYTES, NULL, conn);
}
void OpieFtp::remoteDownload()
{
int fsz;
QCopEnvelope ( "QPE/System", "busy()" );
qApp->processEvents();
QString strItem = Remote_View->currentItem()->text(0);
// strItem=strItem.right(strItem.length()-1);
QString localFile = currentDir.canonicalPath()+strItem;
// QString localFile = currentDir.canonicalPath()+"/"+strItem;
QString remoteFile= currentRemoteDir+strItem;
if (!FtpSize( remoteFile.latin1(), &fsz, FTPLIB_ASCII, conn))
fsz = 0;
QString temp;
temp.sprintf( remoteFile+" "+" %dkb", fsz);
ProgressBar->setTotalSteps(fsz);
FtpOptions(FTPLIB_CALLBACK, (long) log_progress, conn);
FtpOptions(FTPLIB_IDLETIME, (long) 1000, conn);
FtpOptions(FTPLIB_CALLBACKARG, (long) &fsz, conn);
FtpOptions(FTPLIB_CALLBACKBYTES, (long) fsz/10, conn);
qDebug("Get: %s, %s",localFile.latin1(),remoteFile.latin1());
if(!FtpGet( localFile.latin1(), remoteFile.latin1(),FTPLIB_IMAGE, conn ) ) {
QString msg;
msg.sprintf("Unable to download \n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
// FtpQuit(conn);
}
ProgressBar->reset();
nullifyCallBack();
TabWidget->setCurrentPage(0);
populateLocalView();
QCopEnvelope ( "QPE/System", "notBusy()" );
}
void OpieFtp::newConnection()
{
TabWidget->setCurrentPage(2);
}
void OpieFtp::connector()
{
QCopEnvelope ( "QPE/System", "busy()" );
qApp->processEvents();
currentRemoteDir=remotePath->text();
if(ServerComboBox->currentText().isEmpty()) {
QMessageBox::warning(this,"Ftp","Please set the server info","Ok",0,0);
TabWidget->setCurrentPage(2);
ServerComboBox->setFocus();
return;
}
FtpInit();
TabWidget->setCurrentPage(1);
QString ftp_host = ServerComboBox->currentText();
QString ftp_user = UsernameComboBox->currentText();
QString ftp_pass = PasswordEdit->text();
QString port=PortSpinBox->cleanText();
port.stripWhiteSpace();
if(ftp_host.find("ftp://",0, TRUE) != -1 )
ftp_host=ftp_host.right(ftp_host.length()-6);
ftp_host+=":"+port;
if (!FtpConnect( ftp_host.latin1(), &conn)) {
QMessageBox::message("Note","Unable to connect to\n"+ftp_host);
return ;
}
if (!FtpLogin( ftp_user.latin1(), ftp_pass.latin1(),conn )) {
QString msg;
msg.sprintf("Unable to log in\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
FtpQuit(conn);
return ;
}
remoteDirList("/") ;
setCaption(ftp_host);
QCopEnvelope ( "QPE/System", "notBusy()" );
}
void OpieFtp::disConnector()
{
FtpQuit(conn);
setCaption("OpieFtp");
currentRemoteDir="/";
Remote_View->clear();
}
bool OpieFtp::remoteDirList(const QString &dir)
{
QString tmp = QDir::homeDirPath();
if(tmp.right(1) != "/")
tmp+="/._temp";
else
tmp+="._temp";
// qDebug("Listing remote dir "+tmp);
QCopEnvelope ( "QPE/System", "busy()" );
if (!FtpDir( tmp.latin1(), dir.latin1(), conn) ) {
QString msg;
msg.sprintf("Unable to list the directory\n"+dir+"\n%s",FtpLastResponse(conn) );
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
// FtpQuit(conn);
return false;
}
populateRemoteView() ;
QCopEnvelope ( "QPE/System", "notBusy()" );
return true;
}
bool OpieFtp::remoteChDir(const QString &dir)
{
QCopEnvelope ( "QPE/System", "busy()" );
if (!FtpChdir( dir.latin1(), conn )) {
QString msg;
msg.sprintf("Unable to change directories\n"+dir+"\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
qDebug(msg);
// FtpQuit(conn);
QCopEnvelope ( "QPE/System", "notBusy()" );
return FALSE;
}
QCopEnvelope ( "QPE/System", "notBusy()" );
return TRUE;
}
void OpieFtp::populateLocalView()
{
Local_View->clear();
currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst);
currentDir.setMatchAllDirs(TRUE);
currentDir.setNameFilter(filterStr);
QString fileL, fileS, fileDate;
bool isDir=FALSE;
const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/);
QFileInfoListIterator it(*list);
QFileInfo *fi;
while ( (fi=it.current()) ) {
if (fi->isSymLink() ){
QString symLink=fi->readLink();
// qDebug("Symlink detected "+symLink);
QFileInfo sym( symLink);
fileS.sprintf( "%10li", sym.size() );
fileL.sprintf( "%s -> %s", sym.fileName().data(),sym.absFilePath().data() );
fileDate = sym.lastModified().toString();
} else {
// qDebug("Not a dir: "+currentDir.canonicalPath()+fileL);
fileS.sprintf( "%10li", fi->size() );
fileL.sprintf( "%s",fi->fileName().data() );
fileDate= fi->lastModified().toString();
if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) {
fileL+="/";
isDir=TRUE;
// qDebug( fileL);
}
}
if(fileL !="./") {
item = new QListViewItem( Local_View,fileL,fileS, fileDate);
- if(isDir)
+ if(isDir || fileL.find("/",0,TRUE) != -1)
item->setPixmap( 0, Resource::loadPixmap( "folder" ));
else
item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
}
isDir=FALSE;
++it;
}
Local_View->setSorting( 3,FALSE);
currentPathEdit->setText( currentDir.canonicalPath() );
}
bool OpieFtp::populateRemoteView( )
{
// qDebug("populate remoteview");
QString sfile=QDir::homeDirPath();
if(sfile.right(1) != "/")
sfile+="/._temp";
else
sfile+="._temp";
QFile file( sfile);
Remote_View->clear();
QString s, File_Name;
QListViewItem *itemDir=NULL, *itemFile=NULL;
QString fileL, fileS, fileDate;
if ( file.open(IO_ReadOnly)) {
QTextStream t( &file ); // use a text stream
while ( !t.eof()) {
s = t.readLine();
fileL = s.right(s.length()-55);
fileL = fileL.stripWhiteSpace();
if(s.left(1) == "d")
fileL = fileL+"/";
// fileL = "/"+fileL+"/";
fileS = s.mid( 30, 42-30);
fileS = fileS.stripWhiteSpace();
fileDate = s.mid( 42, 55-42);
fileDate = fileDate.stripWhiteSpace();
if(fileL.find("total",0,TRUE) == -1) {
QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate);
- if(s.left(1) == "d") {
+ if(s.left(1) == "d" || fileL.find("/",0,TRUE) != -1) {
item->setPixmap( 0, Resource::loadPixmap( "folder" ));
if(itemDir)
item->moveItem(itemDir);
itemDir=item;
} else {
item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
if(itemFile)
item->moveItem(itemFile);
itemFile=item;
}
}
}
QListViewItem * item1 = new QListViewItem( Remote_View, "../");
item1->setPixmap( 0, Resource::loadPixmap( "folder" ));
file.close();
if( file.exists())
file. remove();
} else
qDebug("temp file not opened successfullly "+sfile);
Remote_View->setSorting( 4,TRUE);
return true;
}
void OpieFtp::remoteListClicked(QListViewItem *selectedItem)
{
QCopEnvelope ( "QPE/System", "busy()" );
QString oldRemoteCurrentDir = currentRemoteDir;
QString strItem=selectedItem->text(0);
strItem=strItem.simplifyWhiteSpace();
if(strItem == "../") { // the user wants to go ^
if( FtpCDUp( conn) == 0) {
QString msg;
msg.sprintf("Unable to cd up\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
qDebug(msg);
}
char path[256];
if( FtpPwd( path,sizeof(path),conn) == 0) { //this is easier than fudging the string
QString msg;
msg.sprintf("Unable to get working dir\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
qDebug(msg);
}
currentRemoteDir=path;
} else {
if(strItem.find("->",0,TRUE) != -1) { //symlink on some servers
strItem=strItem.right( strItem.length() - strItem.find("->",0,TRUE) - 2 );
strItem = strItem.stripWhiteSpace();
currentRemoteDir = strItem;
if( !remoteChDir( (const QString &)strItem)) {
currentRemoteDir = oldRemoteCurrentDir;
strItem="";
qDebug("RemoteCurrentDir1 "+oldRemoteCurrentDir);
}
} else if(strItem.find("/",0,TRUE) != -1) { // this is a directory
qDebug("trying directory");
if( !remoteChDir( (const QString &)currentRemoteDir + strItem)) {
currentRemoteDir = oldRemoteCurrentDir;
strItem="";
qDebug("RemoteCurrentDir1 "+oldRemoteCurrentDir);
} else {
currentRemoteDir = currentRemoteDir+strItem;
}
} else {
qDebug("download "+strItem);
}
}
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
if(currentRemoteDir.right(1) !="/")
currentRemoteDir +="/";
currentPathEdit->setText( currentRemoteDir );
QCopEnvelope ( "QPE/System", "notBusy()" );
}
void OpieFtp::localListClicked(QListViewItem *selectedItem)
{
QString strItem=selectedItem->text(0);
QString strSize=selectedItem->text(1);
strSize=strSize.stripWhiteSpace();
if(strItem.find("@",0,TRUE) !=-1 || strItem.find("->",0,TRUE) !=-1 ) { //if symlink
// is symlink
QString strItem2 = strItem.right( (strItem.length() - strItem.find("->",0,TRUE)) - 4);
if(QDir(strItem2).exists() ) {
currentDir.cd(strItem2, TRUE);
populateLocalView();
}
} else { // not a symlink
if(strItem.find(". .",0,TRUE) && strItem.find("/",0,TRUE)!=-1 ) {
if(QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem)).exists() ) {
strItem=QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem);
currentDir.cd(strItem,FALSE);
populateLocalView();
} else {
currentDir.cdUp();
populateLocalView();
}
if(QDir(strItem).exists()){
currentDir.cd(strItem, TRUE);
populateLocalView();
}
} else {
strItem=QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem);
if( QFile::exists(strItem ) ) {
qDebug("upload "+strItem);
}
} //end not symlink
chdir(strItem.latin1());
}
}
void OpieFtp::doLocalCd()
{
localListClicked( Local_View->currentItem());
}
void OpieFtp:: doRemoteCd()
{
remoteListClicked( Remote_View->currentItem());
}
void OpieFtp::showHidden()
{
if (!b) {
currentDir.setFilter( QDir::Files | QDir::Dirs | QDir::Hidden | QDir::All);
localMenu->setItemChecked(localMenu->idAt(0),TRUE);
// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst);
b=TRUE;
} else {
currentDir.setFilter( QDir::Files | QDir::Dirs/* | QDir::Hidden*/ | QDir::All);
localMenu->setItemChecked(localMenu->idAt(0),FALSE);
// currentDir.setSorting(/* QDir::Size*/ /*| QDir::Reversed | */QDir::DirsFirst);
b=FALSE;
}
populateLocalView();
}
void OpieFtp::ListPressed( int mouse, QListViewItem *item, const QPoint &point, int i)
{
switch (mouse) {
case 1:
break;
case 2:
showLocalMenu(item);
break;
};
}
void OpieFtp::RemoteListPressed( int mouse, QListViewItem *item, const QPoint &point, int i)
{
switch (mouse) {
case 1:
break;
case 2:
showRemoteMenu(item);
break;
};
}
void OpieFtp::showRemoteMenu(QListViewItem * item)
{
QPopupMenu m;// = new QPopupMenu( Local_View );
- if(item->text(0).right(1) == "/")
- m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() ));
+ if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
+ m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() ));
else
m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() ));
m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() ));
m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() ));
m.insertSeparator();
m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() ));
m.exec( QCursor::pos() );
}
void OpieFtp::showLocalMenu(QListViewItem * item)
{
QPopupMenu m;
m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() ));
m.insertSeparator();
- if(item->text(0).right(1) == "/")
+ if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() ));
else
m.insertItem( tr( "Upload" ), this, SLOT( localUpload() ));
m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() ));
m.insertItem( tr( "Rename" ), this, SLOT( localRename() ));
m.insertSeparator();
m.insertItem( tr( "Delete" ), this, SLOT( localDelete() ));
m.setCheckable(TRUE);
if (b)
m.setItemChecked(m.idAt(0),TRUE);
else
m.setItemChecked(m.idAt(0),FALSE);
m.exec( QCursor::pos() );
}
void OpieFtp::localMakDir()
{
InputDialog *fileDlg;
fileDlg = new InputDialog(this,"Make Directory",TRUE, 0);
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString filename = fileDlg->LineEdit1->text();
currentDir.mkdir( currentDir.canonicalPath()+"/"+filename);
}
populateLocalView();
}
void OpieFtp::localDelete()
{
QString f = Local_View->currentItem()->text(0);
if(QDir(f).exists() ) {
switch ( QMessageBox::warning(this,"Delete","Do you really want to delete\n"+f+
" ?\nIt must be empty","Yes","No",0,0,1) ) {
case 0: {
f=currentDir.canonicalPath()+"/"+f;
QString cmd="rmdir "+f;
system( cmd.latin1());
populateLocalView();
}
break;
case 1:
// exit
break;
};
} else {
switch ( QMessageBox::warning(this,"Delete","Do you really want to delete\n"+f
+" ?","Yes","No",0,0,1) ) {
case 0: {
f=currentDir.canonicalPath()+"/"+f;
QString cmd="rm "+f;
system( cmd.latin1());
populateLocalView();
}
break;
case 1:
// exit
break;
};
}
}
void OpieFtp::remoteMakDir()
{
InputDialog *fileDlg;
fileDlg = new InputDialog(this,"Make Directory",TRUE, 0);
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString filename = fileDlg->LineEdit1->text();//+".playlist";
QString tmp=currentRemoteDir+filename;
QCopEnvelope ( "QPE/System", "busy()" );
if(FtpMkdir( tmp.latin1(), conn) == 0) {
QString msg;
msg.sprintf("Unable to make directory\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
}
QCopEnvelope ( "QPE/System", "notBusy()" );
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
}
}
void OpieFtp::remoteDelete()
{
QString f = Remote_View->currentItem()->text(0);
QCopEnvelope ( "QPE/System", "busy()" );
if( f.right(1) =="/") {
QString path= currentRemoteDir+f;
switch ( QMessageBox::warning(this,"Delete","Do you really want to delete\n"+f+"?"
,"Yes","No",0,0,1) ) {
case 0: {
f=currentDir.canonicalPath()+"/"+f;
if(FtpRmdir( path.latin1(), conn) ==0) {
QString msg;
msg.sprintf("Unable to remove directory\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
}
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
}
break;
};
} else {
switch ( QMessageBox::warning(this,"Delete","Do you really want to delete\n"+f+"?"
,"Yes","No",0,0,1) ) {
case 0: {
QString path= currentRemoteDir+f;
if(FtpDelete( path.latin1(), conn)==0) {
QString msg;
msg.sprintf("Unable to delete file\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
}
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
}
break;
};
}
QCopEnvelope ( "QPE/System", "notBusy()" );
}
void OpieFtp::remoteRename()
{
QString curFile = Remote_View->currentItem()->text(0);
InputDialog *fileDlg;
fileDlg = new InputDialog(this,"Rename",TRUE, 0);
fileDlg->inputText = curFile;
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString oldName = currentRemoteDir +"/"+ curFile;
QString newName = currentRemoteDir +"/"+ fileDlg->LineEdit1->text();//+".playlist";
QCopEnvelope ( "QPE/System", "busy()" );
if(FtpRename( oldName.latin1(), newName.latin1(),conn) == 0) {
QString msg;
msg.sprintf("Unable to rename file\n%s",FtpLastResponse(conn));
msg.replace(QRegExp(":"),"\n");
QMessageBox::message("Note",msg);
}
QCopEnvelope ( "QPE/System", "notBusy()" );
remoteDirList( (const QString &)currentRemoteDir); //this also calls populate
}
}
void OpieFtp::localRename()
{
QString curFile = Local_View->currentItem()->text(0);
InputDialog *fileDlg;
fileDlg = new InputDialog(this,"Rename",TRUE, 0);
fileDlg->inputText = curFile;
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString oldname = currentDir.canonicalPath() + "/" + curFile;
QString newName = currentDir.canonicalPath() + "/" + fileDlg->LineEdit1->text();//+".playlist";
if( rename(oldname.latin1(), newName.latin1())== -1)
QMessageBox::message("Note","Could not rename");
}
populateLocalView();
}
void OpieFtp::currentPathEditChanged()
{
QString oldRemoteCurrentDir = currentRemoteDir;
// qDebug("oldRemoteCurrentDir "+oldRemoteCurrentDir);
if (TabWidget->currentPageIndex() == 0) {
if(QDir( currentPathEdit->text()).exists()) {
currentDir.setPath( currentPathEdit->text() );
populateLocalView();
} else {
QMessageBox::message("Note","That directory does not exist");
}
}
if (TabWidget->currentPageIndex() == 1) {
currentRemoteDir = currentPathEdit->text();
if(currentRemoteDir.right(1) !="/") {
currentRemoteDir = currentRemoteDir +"/";
currentPathEdit->setText( currentRemoteDir );
}
if( !remoteChDir( (const QString &)currentRemoteDir) ) {
currentRemoteDir = oldRemoteCurrentDir;
currentPathEdit->setText( currentRemoteDir );
}
remoteDirList( (const QString &)currentRemoteDir);
}
}
void OpieFtp::switchToLocalTab()
{
TabWidget->setCurrentPage(0);
}
diff --git a/noncore/net/opieftp/opieftp.pro b/noncore/net/opieftp/opieftp.pro
index b4d0b4c..f485cdf 100644
--- a/noncore/net/opieftp/opieftp.pro
+++ b/noncore/net/opieftp/opieftp.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
HEADERS = opieftp.h inputDialog.h ftplib.h
SOURCES = opieftp.cpp inputDialog.cpp ftplib.c main.cpp
TARGET = opieftp
REQUIRES=medium-config
DESTDIR = $(OPIEDIR)/bin
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+TRANSLATIONS = ../../i18n/pt_BR/opieftp.ts
diff --git a/noncore/settings/language/language.pro b/noncore/settings/language/language.pro
index c01ffc8..a1d54f8 100644
--- a/noncore/settings/language/language.pro
+++ b/noncore/settings/language/language.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = settings.h
SOURCES = language.cpp main.cpp
INTERFACES = languagesettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = language
TRANSLATIONS = ../../i18n/de/language.ts
+TRANSLATIONS = ../../i18n/pt_BR/language.ts
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro
index 44eff44..8b33ff2 100644
--- a/noncore/settings/sound/sound.pro
+++ b/noncore/settings/sound/sound.pro
@@ -1,10 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = soundsettings.h
SOURCES = soundsettings.cpp main.cpp
INTERFACES = soundsettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = sound
+
+TRANSLATIONS = ../../i18n/pt_BR/sound.ts
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index c2bf405..55f6c99 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -1,132 +1,132 @@
/**********************************************************************
** Copyright (C) 2000 Trolltech AS. All rights reserved.
**
** This file is part of Qtopia Environment.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "soundsettings.h"
#include <qpe/config.h>
#include <qpe/qcopenvelope_qws.h>
#include <qapplication.h>
#include <qslider.h>
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qcombobox.h>
SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl )
: SoundSettingsBase( parent, name, TRUE, fl )
{
Config config( "Sound" );
config.setGroup( "System" );
volume->setValue(100-config.readNumEntry("Volume"));
mic->setValue(100-config.readNumEntry("Mic"));
touchsound->setChecked(config.readBoolEntry("Touch"));
keysound->setChecked(config.readBoolEntry("Key"));
config.setGroup("Record");
int rate=config.readNumEntry("SampleRate", 11025);
if(rate == 11025)
sampleRate->setCurrentItem(0);
else if(rate == 22050)
sampleRate->setCurrentItem(1);
else if(rate==44100)
sampleRate->setCurrentItem(2);
- stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
- sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
+ stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
+ sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1));
connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int)));
connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int)));
connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) );
connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) );
}
void SoundSettings::reject()
{
Config config( "Sound" );
config.setGroup( "System" );
setVolume(100-config.readNumEntry("Volume"));
setMic(100-config.readNumEntry("Mic"));
config.setGroup("Record");
int rate=config.readNumEntry("SampleRate", 11025);
if(rate == 11025)
sampleRate->setCurrentItem(0);
else if(rate == 22050)
sampleRate->setCurrentItem(1);
else if(rate==44100)
sampleRate->setCurrentItem(2);
stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
QDialog::reject();
}
void SoundSettings::accept()
{
Config config( "Sound" );
config.setGroup( "System" );
config.writeEntry("Volume",100-volume->value());
config.writeEntry("Mic",100-mic->value());
config.writeEntry("Touch",touchsound->isChecked());
config.writeEntry("Key",keysound->isChecked());
setVolume(volume->value());
setMic(mic->value());
config.setGroup("Record");
config.writeEntry("SampleRate",sampleRate->currentText());
config.writeEntry("Stereo",stereoCheckBox->isChecked());
config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked());
QDialog::accept();
}
void SoundSettings::setVolume(int v)
{
Config config( "Sound" );
config.setGroup( "System" );
config.writeEntry("Volume",100-v);
#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP)
QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
#endif
}
void SoundSettings::setMic(int m)
{
Config config( "Sound" );
config.setGroup( "System" );
config.writeEntry("Mic",100-m);
#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP)
QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE;
#endif
}
void SoundSettings::volumeChanged( bool )
{
Config config( "Sound" );
config.setGroup( "System" );
volume->setValue(100-config.readNumEntry("Volume"));
}
void SoundSettings::micChanged( bool )
{
Config config( "Sound" );
config.setGroup( "System" );
mic->setValue(100-config.readNumEntry("Mic"));
}
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro
index f14716e..95278ee 100644
--- a/noncore/settings/sysinfo/sysinfo.pro
+++ b/noncore/settings/sysinfo/sysinfo.pro
@@ -1,29 +1,30 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = memory.h \
graph.h \
load.h \
storage.h \
processinfo.h \
processdetail.h \
versioninfo.h \
sysinfo.h
SOURCES = main.cpp \
memory.cpp \
graph.cpp \
load.cpp \
storage.cpp \
processinfo.cpp \
processdetail.cpp \
versioninfo.cpp \
sysinfo.cpp
INTERFACES =
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = sysinfo
TRANSLATIONS = ../i18n/de/sysinfo.ts
+TRANSLATIONS = ../i18n/pt_BR/sysinfo.ts
diff --git a/noncore/tools/calc2/calc.pro b/noncore/tools/calc2/calc.pro
index 00e13b7..260c75d 100644
--- a/noncore/tools/calc2/calc.pro
+++ b/noncore/tools/calc2/calc.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt release
# Input
HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h
SOURCES += calc.cpp main.cpp engine.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -Wl,-export-dynamic
+TRANSLATIONS = ../i18n/pt_BR/calc.ts
diff --git a/noncore/tools/calculator/calculator.pro b/noncore/tools/calculator/calculator.pro
index 9554d2a..b5d37e1 100644
--- a/noncore/tools/calculator/calculator.pro
+++ b/noncore/tools/calculator/calculator.pro
@@ -1,13 +1,14 @@
DESTDIR = $(OPIEDIR)/bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = calculatorimpl.h
SOURCES = calculatorimpl.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES = calculator.ui
TARGET = calculator
TRANSLATIONS = ../i18n/de/calculator.ts
+TRANSLATIONS = ../i18n/pt_BR/calculator.ts
diff --git a/noncore/tools/clock/clock.pro b/noncore/tools/clock/clock.pro
index 10d375f..cf64517 100644
--- a/noncore/tools/clock/clock.pro
+++ b/noncore/tools/clock/clock.pro
@@ -1,13 +1,14 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = clock.h setAlarm.h
SOURCES = clock.cpp setAlarm.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TARGET = clock
TRANSLATIONS = ../i18n/de/clock.ts
+TRANSLATIONS = ../i18n/pt_BR/clock.ts
diff --git a/noncore/unsupported/filebrowser/filebrowser.pro b/noncore/unsupported/filebrowser/filebrowser.pro
index 65e51a5..e9d2b49 100644
--- a/noncore/unsupported/filebrowser/filebrowser.pro
+++ b/noncore/unsupported/filebrowser/filebrowser.pro
@@ -1,9 +1,11 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = inlineedit.h filebrowser.h filePermissions.h
SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
-INTERFACES =
+INTERFACES =
+TRANSLATIONS = ../i18n/de/filebrowser.ts
+TRANSLATIONS = ../i18n/pt_BR/filebrowser.ts
diff --git a/noncore/unsupported/oipkg/qipkg.pro b/noncore/unsupported/oipkg/qipkg.pro
index 22a37ee..6472fee 100644
--- a/noncore/unsupported/oipkg/qipkg.pro
+++ b/noncore/unsupported/oipkg/qipkg.pro
@@ -1,13 +1,14 @@
DESTDIR = $(OPIEDIR)/bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = packagemanager.h
SOURCES = packagemanager.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES = packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui
TARGET = qipkg
TRANSLATIONS = ../i18n/de/qipkg.ts
+TRANSLATIONS = ../i18n/pt_BR/qipkg.ts