summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-18 01:56:12 (UTC)
committer llornkcor <llornkcor>2002-03-18 01:56:12 (UTC)
commit2ed59c2eb1694b3dda2ab709f54a4ad25a24c6cc (patch) (unidiff)
treef14f5f50b091add26e880e6268bde46e836864af
parentc09cb25eb6bbf31bed0d4a415802469cfd1efedf (diff)
downloadopie-2ed59c2eb1694b3dda2ab709f54a4ad25a24c6cc.zip
opie-2ed59c2eb1694b3dda2ab709f54a4ad25a24c6cc.tar.gz
opie-2ed59c2eb1694b3dda2ab709f54a4ad25a24c6cc.tar.bz2
added Portuguese translations from 'covarde_anonimo' on #opie
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
@@ -35,13 +35,13 @@ APPS=$(LOCALAPPS) addressbook calculator clock datebook \
35 settings/sound \ 35 settings/sound \
36 settings/systemtime \ 36 settings/systemtime \
37 solitaire spreadsheet tetrix textedit \ 37 solitaire spreadsheet tetrix textedit \
38 todo wordgame embeddedkonsole taskbar sysinfo \ 38 todo wordgame embeddedkonsole taskbar sysinfo \
39 parashoot snake citytime showimg netsetup tableviewer \ 39 parashoot snake citytime showimg netsetup tableviewer \
40 qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \ 40 qipkg mindbreaker go qasteroids qcop fifteen keypebble today opiemail/converter opiemail \
41 noncore/tictac noncore/opieftp 41 noncore/tictac noncore/opieftp noncore/drawpad noncore/kcheckers
42 42
43DOCS = docs/src/opie-policy 43DOCS = docs/src/opie-policy
44single: mpegplayer/libmpeg3 44single: mpegplayer/libmpeg3
45 45
46dynamic: $(APPS) 46dynamic: $(APPS)
47 47
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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=An Address Book Program 2Comment=An Address Book Program
3Exec=addressbook 3Exec=addressbook
4Icon=AddressBook 4Icon=AddressBook
5Type=Application 5Type=Application
6Name=Contacts 6Name=Contacts
7Name[pt_BR]=Endereços
7Name[no]=Adressebok 8Name[no]=Adressebok
8Name[de]=Adressbuch 9Name[de]=Adressbuch
9Name[hu]=Címtár 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Calculator Program 2Comment=A Calculator Program
3Exec=calculator 3Exec=calculator
4Icon=Calculator 4Icon=Calculator
5Type=Application 5Type=Application
6Name=Calculator 6Name=Calculator
7Name[pt_BR]=Calculadora
7Name[no]=Kalkulator 8Name[no]=Kalkulator
8Name[de]=Taschen rechner 9Name[de]=Taschen rechner
9Name[ja]=電卓 10Name[ja]=電卓
10Name[hu]=Számológép 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A World Clock and Time Zone Editor 2Comment=A World Clock and Time Zone Editor
3Exec=citytime 3Exec=citytime
4Icon=CityTime 4Icon=CityTime
5Type=Application 5Type=Application
6Name=City Time 6Name=City Time
7Name[pt_BR]=Hora Local
7Name[no]=Verdensur 8Name[no]=Verdensur
8Name[de]=Weltzeituhr 9Name[de]=Weltzeituhr
9Name[ja]=世界時計 10Name[ja]=世界時計
10Name[hu]=Idõzóna 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Clock Program 2Comment=A Clock Program
3Exec=clock 3Exec=clock
4Icon=Clock 4Icon=Clock
5Type=Application 5Type=Application
6Name=Clock 6Name=Clock
7Name[pt_BR]=Relgio
7Name[no]=Klokke 8Name[no]=Klokke
8Name[de]=Uhr 9Name[de]=Uhr
9Name[ja]=時計 10Name[ja]=時計
10Name[hu]=Óra 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Calendar and Scheduling Program 2Comment=A Calendar and Scheduling Program
3Exec=datebook 3Exec=datebook
4Icon=DateBook 4Icon=DateBook
5Type=Application 5Type=Application
6Name=Calendar 6Name=Calendar
7Name[pt_BR]=Calendário
7Name[no]=Avtalebok 8Name[no]=Avtalebok
8Name[de]=Termin kalender 9Name[de]=Termin kalender
9Name[hu]=Naptár 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment = A File Manager Program 2Comment = A File Manager Program
3Exec = filebrowser 3Exec = filebrowser
4File = ../apps/Applications/filebrowser 4File = ../apps/Applications/filebrowser
5Icon = FileBrowser 5Icon = FileBrowser
6Name = File Manager 6Name = File Manager
7Name[pt_BR] = Gerenciador de Arquivos
7Name[de] = Datei Manager 8Name[de] = Datei Manager
8Name[no] = Filviser 9Name[no] = Filviser
9Type = Application 10Type = Application
10Name[hu]=Intézõ 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A HTML Help Browser Program 2Comment=A HTML Help Browser Program
3Exec=helpbrowser 3Exec=helpbrowser
4Icon=HelpBrowser 4Icon=HelpBrowser
5Type=Application 5Type=Application
6Name=Help Browser 6Name=Help Browser
7Name[pt_BR] = Navegador de Ajuda
7Name[no]=Hjelp 8Name[no]=Hjelp
8Name[de]=Hilfe 9Name[de]=Hilfe
9Name[hu]=Segítség 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=Virtual Network Computing (VNC) Viewer 2Comment=Virtual Network Computing (VNC) Viewer
3Exec=keypebble 3Exec=keypebble
4Icon=vnc 4Icon=vnc
5Type=Application 5Type=Application
6Name=VNC Viewer 6Name=VNC Viewer
7Name[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
@@ -3,10 +3,11 @@ Comment=A Media Playback Program
3Exec=mpegplayer 3Exec=mpegplayer
4Icon=MPEGPlayer 4Icon=MPEGPlayer
5Type=Application 5Type=Application
6MimeType=audio/mpeg;video/mpeg;audio/x-wav;application/x-shockwave-flash;playlist/plain 6MimeType=audio/mpeg;video/mpeg;audio/x-wav;application/x-shockwave-flash;playlist/plain
7MimeTypeIcons=SoundPlayer;MPEGPlayer;Sound;Sound;mpegplayer/playlist2 7MimeTypeIcons=SoundPlayer;MPEGPlayer;Sound;Sound;mpegplayer/playlist2
8Name=Media Player 8Name=Media Player
9Name[pt_BR] = Reprodutor de Mídia
9Name[no]=MPEGspiller 10Name[no]=MPEGspiller
10Name[de]=Medienwiedergabe 11Name[de]=Medienwiedergabe
11Name[ja]=MPEGプレイヤー 12Name[ja]=MPEGプレイヤー
12Name[hu]=MPEG lejátszó 13Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=An Ftp Client 2Comment=An Ftp Client
3Exec=opieftp 3Exec=opieftp
4Icon=opieftp 4Icon=opieftp
5Type=Application 5Type=Application
6Name=OpieFtp 6Name=OpieFtp
7
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
@@ -2,8 +2,9 @@
2Comment=An Image Viewer 2Comment=An Image Viewer
3Exec=showimg 3Exec=showimg
4MimeType=image/* 4MimeType=image/*
5Icon=ImageViewer 5Icon=ImageViewer
6Type=Application 6Type=Application
7Name=Image Viewer 7Name=Image Viewer
8Name[pt_BR]=Visualizador de Imagens
8Name[de]=Bildbetrachter 9Name[de]=Bildbetrachter
9Name[hu]=Nézõke 10Name[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
@@ -2,10 +2,11 @@
2Comment=A Spread Sheet Program 2Comment=A Spread Sheet Program
3Exec=spreadsheet 3Exec=spreadsheet
4Icon=Spreadsheet 4Icon=Spreadsheet
5Type=Application 5Type=Application
6MimeType=application/x-qpe-ss 6MimeType=application/x-qpe-ss
7Name=Spreadsheet 7Name=Spreadsheet
8Name[pt_BR]=Planilha
8Name[no]=Regneark 9Name[no]=Regneark
9Name[de]=Tabellenkalkulation 10Name[de]=Tabellenkalkulation
10Name[ja]=表計算 11Name[ja]=表計算
11Name[hu]=Táblakezelõ 12Name[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,8 +1,9 @@
1[Desktop Entry] 1[Desktop Entry]
2Name=System Info 2Name=System Info
3Name[pt_BR]=Informações do Sistema
3Name[no]=Systeminfo 4Name[no]=Systeminfo
4Name[de]=System information 5Name[de]=System information
5Exec=sysinfo 6Exec=sysinfo
6Type=Application 7Type=Application
7Comment=System Information 8Comment=System Information
8Icon=SystemInfo 9Icon=SystemInfo
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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A table/database viewer 2Comment=A table/database viewer
3Exec=tableviewer 3Exec=tableviewer
4Type=Application 4Type=Application
5Name=Table Viewer 5Name=Table Viewer
6Name[pt_BR]=Visualizador de Tabelas
6Name[hu]=Adatbázis nézõ 7Name[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
@@ -2,12 +2,13 @@
2Comment=A Text Editing Program 2Comment=A Text Editing Program
3Exec=textedit 3Exec=textedit
4Icon=TextEditor 4Icon=TextEditor
5Type=Application 5Type=Application
6MimeType=text/* 6MimeType=text/*
7Name=Text Editor 7Name=Text Editor
8Name[pt_BR]=Editor de Textos
8Name[no]=Teksteditor 9Name[no]=Teksteditor
9Name[de]=Texteditor 10Name[de]=Texteditor
10Name[ja]=テキストエディタ 11Name[ja]=テキストエディタ
11Name[zh_CN]=文本编辑器 12Name[zh_CN]=文本编辑器
12Name[zh_TW]=文字編輯器 13Name[zh_TW]=文字編輯器
13Name[ko]=글월 편집기 14Name[ko]=글월 편집기
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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=Today App 2Comment=Today App
3Exec=today 3Exec=today
4Icon=today_icon 4Icon=today_icon
5Type=Application 5Type=Application
6Name=Today 6Name=Today
7Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Todo List Program 2Comment=A Todo List Program
3Exec=todolist 3Exec=todolist
4Icon=TodoList 4Icon=TodoList
5Type=Application 5Type=Application
6Name=Todo List 6Name=Todo List
7Name[pt_BR]=Afazeres
7Name[no]=Oppgaveliste 8Name[no]=Oppgaveliste
8Name[de]=Aufgabenliste 9Name[de]=Aufgabenliste
9Name[hu]=Feladatok 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Ckeckers Game 2Comment=A Ckeckers Game
3Exec=kcheckers 3Exec=kcheckers
4Icon=KCheckers 4Icon=KCheckers
5Type=Application 5Type=Application
6Name=KCheckers 6Name=KCheckers
7Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=Find the mines 2Comment=Find the mines
3Exec=minesweep 3Exec=minesweep
4Icon=MineHunt 4Icon=MineHunt
5Type=Application 5Type=Application
6Name=Mine Hunt 6Name=Mine Hunt
7Name[pt_BR]=Caca-Minas
7Name[no]=Minesøk 8Name[no]=Minesøk
8Name[de]=Minenjagd 9Name[de]=Minenjagd
9Name[ja]=マインスィープ 10Name[ja]=マインスィープ
10Name[hu]=Aknakeresõ 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Game of Patience 2Comment=A Game of Patience
3Exec=patience 3Exec=patience
4Icon=Solitaire 4Icon=Solitaire
5Type=Application 5Type=Application
6Name=Patience 6Name=Patience
7Name[pt_BR]=Paciencia
7Name[no]=Kabal 8Name[no]=Kabal
8Name[de]=Patience 9Name[de]=Patience
9Name[ja]=ソリティア 10Name[ja]=ソリティア
10Name[hu]=Passziánsz 11Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A Snake Game 2Comment=A Snake Game
3Exec=snake 3Exec=snake
4Icon=Snake 4Icon=Snake
5Type=Application 5Type=Application
6Name=Snake 6Name=Snake
7Name[pt_BR]=Cobra
7Name[no]=Slange 8Name[no]=Slange
8Name[de]=Schlange 9Name[de]=Schlange
9Name[hu]=Kígyó 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Exec=tictac 2Exec=tictac
3Icon=Tictac 3Icon=Tictac
4Type=Application 4Type=Application
5Name=Tictac 5Name=Tictac
6Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=A word arranging game 2Comment=A word arranging game
3Exec=wordgame 3Exec=wordgame
4Icon=WordGame 4Icon=WordGame
5Type=Application 5Type=Application
6Name=Word Game 6Name=Word Game
7Name[pt_BR]=Palavras Cruzadas
7Name[no]=Kryss-Ord 8Name[no]=Kryss-Ord
8Name[de]=Wortspiel 9Name[de]=Wortspiel
9Name[hu]=Szójáték 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Name=Settings 2Name=Settings
3Name[no]=Innstillinger 3Name[no]=Innstillinger
4Name[de]=Einstellungen 4Name[de]=Einstellungen
5Icon=SettingsIcon 5Icon=SettingsIcon
6Name[hu]=Beállítások 6Name[hu]=Beállítások
7Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=appearance 3Exec=appearance
4Icon=Appearance 4Icon=Appearance
5Name=Appearance 5Name=Appearance
6Name[pt_BR]=Aparencia
6Name[no]=Utseende 7Name[no]=Utseende
7Name[de]=Erscheinungsbild 8Name[de]=Erscheinungsbild
8Name[hu]=Megjelenés 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=calibrate 3Exec=calibrate
4Icon=Calibrate 4Icon=Calibrate
5Name=Recalibrate 5Name=Recalibrate
6Name[pt_BR]=Recalibrar
6Name[de]=Kalibrieren 7Name[de]=Kalibrieren
7Name[no]=Kalibrer 8Name[no]=Kalibrer
8Name[hu]=Kalibráció 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=language 3Exec=language
4Icon=Language 4Icon=Language
5Name=Language 5Name=Language
6Name[pt_BR]=Linguagem
6Name[no]=Språk 7Name[no]=Språk
7Name[de]=Sprache 8Name[de]=Sprache
8Name[hu]=Nyelv 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=light-and-power 3Exec=light-and-power
4Icon=Light 4Icon=Light
5Name=Light & Power 5Name=Light & Power
6Name[pt_BR]=Iluminacao e Energia
6Name[no]=Lys 7Name[no]=Lys
7Name[de]=Helligkeit 8Name[de]=Helligkeit
8Name[hu]=Fényerõ 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=rotation 3Exec=rotation
4Icon=Rotation 4Icon=Rotation
5Name=Rotation 5Name=Rotation
6Name[pt_BR]=Rotao
6Name[no]=Rotasjon 7Name[no]=Rotasjon
7Name[de]=Rotation 8Name[de]=Rotation
8Name[hu]=Forgatás 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=security 3Exec=security
4Icon=Security 4Icon=Security
5Name=Security 5Name=Security
6Name[de]=Sicherheits einstellungen \ No newline at end of file 6Name[de]=Sicherheits einstellungen
7Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=sound 3Exec=sound
4Icon=Sound 4Icon=Sound
5Name=Sound 5Name=Sound
6Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Comment=Set date and time 2Comment=Set date and time
3Exec=systemtime 3Exec=systemtime
4Icon=DateTime 4Icon=DateTime
5Type=Application 5Type=Application
6Name=Date/Time 6Name=Date/Time
7Name[pt_BR]=Data/Hora
7Name[no]=Dato/Tid 8Name[no]=Dato/Tid
8Name[de]=Datum/Zeit 9Name[de]=Datum/Zeit
9Name[hu]=Dátum/Idõ 10Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Exec=netsetup 2Exec=netsetup
3Icon=PPPConnect 3Icon=PPPConnect
4Type=Application 4Type=Application
5Name=Network 5Name=Network
6Name[de]=Netzwerk \ No newline at end of file 6Name[pt_BR]=Rede
7Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=qipkg 3Exec=qipkg
4MimeType=application/ipkg 4MimeType=application/ipkg
5Icon=Ipkg 5Icon=Ipkg
6Name=Add/Remove Software 6Name=Add/Remove Software
7Name[pt_BR]=Adicionar/Remover Software
7Name[hu]=Csomag- kezelõ 8Name[hu]=Csomag- kezelõ
8Name[de]=Software \ No newline at end of file 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=shutdown 3Exec=shutdown
4Icon=Shutdown 4Icon=Shutdown
5Name=Shutdown 5Name=Shutdown
6Name[pt_BR]=Desligar
6Name[no]=Skru av 7Name[no]=Skru av
7Name[de]=Beenden 8Name[de]=Beenden
8Name[hu]=Leállítás 9Name[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 @@
1[Desktop Entry] 1[Desktop Entry]
2Type=Application 2Type=Application
3Exec=suspend 3Exec=suspend
4Icon=Shutdown 4Icon=Shutdown
5Name=Suspend 5Name=Suspend
6Name[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
@@ -7,6 +7,7 @@ DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include .. 8DEPENDPATH += ../$(OPIEDIR)/include ..
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS += ../../i18n/de/libbatteryapplet.ts 12TRANSLATIONS += ../../i18n/de/libbatteryapplet.ts
13TRANSLATIONS = ../../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
@@ -5,6 +5,8 @@ SOURCES = clipboard.cpp clipboardappletimpl.cpp
5 TARGET = clipboardapplet 5 TARGET = clipboardapplet
6 DESTDIR = ../../plugins/applets 6 DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include 8DEPENDPATH += ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11
12TRANSLATIONS = ../../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
@@ -7,6 +7,7 @@ DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include .. 8DEPENDPATH += ../$(OPIEDIR)/include ..
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS += ../../i18n/de/libclockapplet.ts 12TRANSLATIONS += ../../i18n/de/libclockapplet.ts
13TRANSLATIONS = ../../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
@@ -8,6 +8,7 @@ INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include 8DEPENDPATH += ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10VERSION = 1.0.0 10VERSION = 1.0.0
11MOC_DIR=opieobj 11MOC_DIR=opieobj
12OBJECTS_DIR=opieobj 12OBJECTS_DIR=opieobj
13 13
14TRANSLATIONS = ../../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
@@ -10,13 +10,13 @@
10** 10**
11************************************************************************************/ 11************************************************************************************/
12 12
13/* 13/*
14 * $Id$ 14 * $Id$
15 */ 15 */
16 16// Sun 03-17-2002 L.J.Potter <ljp@llornkcor.com>
17#include <sys/utsname.h> 17#include <sys/utsname.h>
18#include <sys/time.h> 18#include <sys/time.h>
19#include <sys/types.h> 19#include <sys/types.h>
20#include <unistd.h> 20#include <unistd.h>
21#include <stdio.h> 21#include <stdio.h>
22#include <sys/stat.h> 22#include <sys/stat.h>
@@ -138,115 +138,110 @@ VMemo::VMemo( QWidget *parent, const char *name )
138{ 138{
139 setFixedHeight( 18 ); 139 setFixedHeight( 18 );
140 setFixedWidth( 14 ); 140 setFixedWidth( 14 );
141 141
142 recording = FALSE; 142 recording = FALSE;
143 143
144 myChannel = new QCopChannel( "QPE/VMemo", this ); 144 struct utsname name; /* check for embedix kernel running on the zaurus*/
145 connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)), 145 if (uname(&name) != -1) {
146 this, SLOT(receive(const QCString&, const QByteArray&)) ); 146 QString release=name.release;
147 147 if(release.find("embedix",0,TRUE) !=-1)
148 struct utsname name; /* check for embedix kernel running on the zaurus, if 148 systemZaurus=TRUE;
149 lineo change string, this break 149 else {
150 */ 150 systemZaurus=FALSE;
151 if (uname(&name) != -1) 151// myChannel = new QCopChannel( "QPE/VMemo", this );
152 { 152// connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)),
153 QString release=name.release; 153// this, SLOT(receive(const QCString&, const QByteArray&)) );
154 if(release.find("embedix",0,TRUE) !=-1) 154
155 systemZaurus=TRUE; 155// // Register the REC key press, for ipaq only
156 else 156// QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)");
157 { 157// e << 4096;
158 systemZaurus=FALSE; 158// e << QString("QPE/VMemo");
159 159// e << QString("toggleRecord()");
160 // Register the REC key press. 160 }
161 QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)"); 161 }
162 e << 4096;
163 e << QString("QPE/VMemo");
164 e << QString("toggleRecord()");
165 }
166 }
167} 162}
168 163
169VMemo::~VMemo() 164VMemo::~VMemo()
170{ 165{
171} 166}
172 167
173void VMemo::receive( const QCString &msg, const QByteArray &data ) 168void VMemo::receive( const QCString &msg, const QByteArray &data )
174{ 169{
175 QDataStream stream( data, IO_ReadOnly ); 170 QDataStream stream( data, IO_ReadOnly );
176 if (msg == "toggleRecord()") 171 if (msg == "toggleRecord()")
177 { 172 {
178 if (recording) 173 if (recording)
179 mouseReleaseEvent(NULL); 174 mouseReleaseEvent(NULL);
180 else 175 else
181 mousePressEvent(NULL); 176 mousePressEvent(NULL);
182 } 177 }
183} 178}
184 179
185void VMemo::paintEvent( QPaintEvent* ) 180void VMemo::paintEvent( QPaintEvent* )
186{ 181{
187 QPainter p(this); 182 QPainter p(this);
188 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm ); 183 p.drawPixmap( 0, 1,( const char** ) vmemo_xpm );
189} 184}
190 185
191void VMemo::mousePressEvent( QMouseEvent *me ) 186void VMemo::mousePressEvent( QMouseEvent *me )
192{ 187{
193 // just to be safe 188 // just to be safe
194 if (recording) 189 if (recording)
195 { 190 {
196 recording = FALSE; 191 recording = FALSE;
197 return; 192 return;
198 } 193 }
199 194
200 /* 195 /*
201 No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions 196 No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions
202 mousePressEvent and mouseReleaseEvent with a NULL parameter. 197 mousePressEvent and mouseReleaseEvent with a NULL parameter.
203 */ 198 */
204 if (!systemZaurus && me != NULL) 199// if (!systemZaurus && me != NULL)
205 return; 200// return;
206 201
207 QSound::play(Resource::findSound("vmemob")); 202 QSound::play(Resource::findSound("vmemob"));
208 203 qDebug("Start recording");
209 recording = TRUE; 204 recording = TRUE;
210 if (openDSP() == -1) 205 if (openDSP() == -1)
211 { 206 {
212 QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort"); 207 QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort");
213 recording = FALSE; 208 recording = FALSE;
214 return; 209 return;
215 } 210 }
216 211
217 Config vmCfg("VMemo"); 212 Config vmCfg("VMemo");
218 vmCfg.setGroup("Defaults"); 213 vmCfg.setGroup("Defaults");
219 214
220 QDateTime dt = QDateTime::currentDateTime(); 215 QDateTime dt = QDateTime::currentDateTime();
221 QString fileName; 216 QString fileName;
222 217
223 if(systemZaurus) 218 if(systemZaurus)
224 fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs 219 fileName=vmCfg.readEntry("Dir", "/mnt/cf/"); // zaurus does not have /mnt/ramfs
225 else 220 else
226 fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/"); 221 fileName=vmCfg.readEntry("Dir", "/mnt/ramfs/");
227 222
228 fileName += "vm_"; 223 fileName += "vm_";
229 fileName += dt.toString(); 224 fileName += dt.toString();
230 fileName += ".wav"; 225 fileName += ".wav";
231 226
232 // No spaces in the filename 227 // No spaces in the filename
233 fileName.replace(QRegExp("'"),""); 228 fileName.replace(QRegExp("'"),"");
234 fileName.replace(QRegExp(" "),"_"); 229 fileName.replace(QRegExp(" "),"_");
235 fileName.replace(QRegExp(":"),"."); 230 fileName.replace(QRegExp(":"),".");
236 fileName.replace(QRegExp(","),""); 231 fileName.replace(QRegExp(","),"");
237 232
238 if(openWAV(fileName.latin1()) == -1) 233 if(openWAV(fileName.latin1()) == -1)
239 { 234 {
240 QString err("Could not open the output file: "); 235 QString err("Could not open the output file: ");
241 err += fileName; 236 err += fileName;
242 237
243 QMessageBox::critical(0, "VMemo", err, "Abort"); 238 QMessageBox::critical(0, "VMemo", err, "Abort");
244 close(dsp); 239 close(dsp);
245 return; 240 return;
246 } 241 }
247 242
248 QArray<int> cats(1); 243 QArray<int> cats(1);
249 cats[0] = vmCfg.readNumEntry("Category", 0); 244 cats[0] = vmCfg.readNumEntry("Category", 0);
250 245
251 QString dlName("vm_"); 246 QString dlName("vm_");
252 dlName += dt.toString(); 247 dlName += dt.toString();
@@ -269,66 +264,58 @@ int VMemo::openDSP()
269{ 264{
270 Config cfg("Sound"); 265 Config cfg("Sound");
271 cfg.setGroup("Record"); 266 cfg.setGroup("Record");
272 267
273 speed = cfg.readNumEntry("SampleRate", 22050); 268 speed = cfg.readNumEntry("SampleRate", 22050);
274 channels = cfg.readNumEntry("Stereo", 1) ? 2 : 1; // 1 = stereo(2), 0 = mono(1) 269 channels = cfg.readNumEntry("Stereo", 1) ? 2 : 1; // 1 = stereo(2), 0 = mono(1)
275 if (cfg.readNumEntry("SixteenBit", 1)==1) 270 if (cfg.readNumEntry("SixteenBit", 1)==1) {
276 { 271 format = AFMT_S16_LE;
277 format = AFMT_S16_LE; 272 resolution = 16;
278 resolution = 16; 273 }
279 } 274// else {
280 else 275// format = AFMT_U8;
281 { 276// resolution = 8;
282 format = AFMT_U8; 277// }
283 resolution = 8;
284 }
285 278
286 if(systemZaurus) 279 if(systemZaurus) {
287 { 280 dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1
288 dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1 281 channels=1; //zaurus has one input channel
289 channels=1; //zaurus has one input channel 282 } else {
290 } 283 dsp = open("/dev/dsp", O_RDWR);
291 else 284 }
292 dsp = open("/dev/dsp", O_RDWR);
293 285
294 if(dsp == -1) 286 if(dsp == -1) {
295 {
296 perror("open(\"/dev/dsp\")"); 287 perror("open(\"/dev/dsp\")");
297 return -1; 288 return -1;
298 } 289 }
299 290
300 if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1) 291 if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1) {
301 { 292 perror("ioctl(\"SNDCTL_DSP_SETFMT\")");
302 perror("ioctl(\"SNDCTL_DSP_SETFMT\")"); 293 return -1;
303 return -1; 294 }
304 } 295 if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1) {
305 if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1) 296 perror("ioctl(\"SNDCTL_DSP_CHANNELS\")");
306 { 297 return -1;
307 perror("ioctl(\"SNDCTL_DSP_CHANNELS\")"); 298 }
308 return -1; 299 if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1) {
309 } 300 perror("ioctl(\"SNDCTL_DSP_SPEED\")");
310 if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1) 301 return -1;
311 { 302 }
312 perror("ioctl(\"SNDCTL_DSP_SPEED\")"); 303 if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1) {
313 return -1; 304 perror("ioctl(\"SOUND_PCM_READ_RATE\")");
314 } 305 return -1;
315 if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1) 306 }
316 {
317 perror("ioctl(\"SOUND_PCM_READ_RATE\")");
318 return -1;
319 }
320 307
321 return 1; 308 return 1;
322} 309}
323 310
324int VMemo::openWAV(const char *filename) 311int VMemo::openWAV(const char *filename)
325{ 312{
326 track.setName(filename); 313 track.setName(filename);
327 if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw)) 314 if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw))
328 return -1; 315 return -1;
329 316
330 wav=track.handle(); 317 wav=track.handle();
331 318
332 WaveHeader wh; 319 WaveHeader wh;
333 320
334 wh.main_chunk = RIFF; 321 wh.main_chunk = RIFF;
@@ -351,32 +338,97 @@ int VMemo::openWAV(const char *filename)
351 return 1; 338 return 1;
352} 339}
353 340
354void VMemo::record(void) 341void VMemo::record(void)
355{ 342{
356 int length=0, result, value; 343 int length=0, result, value;
357 char sound[512]; 344 qDebug("Recording");
345
346 if(format==AFMT_S16_LE) {
347 signed short sound[512], monoBuffer[512];
348 while(recording) {
349 result = read(dsp, sound, 512); // 8192
350 qApp->processEvents();
351 int j=0;
352 if(systemZaurus) {
353 for (int i = 0; i < result; i++) { //since Z is mono do normally
354 monoBuffer[i] = sound[i];
355 }
356 qApp->processEvents();
357 length+=write(wav, monoBuffer, result);
358 } else { //ipaq /stereo inputs
359 for (int i = 0; i < result; i+=2) {
360 monoBuffer[j] = (sound[i]+sound[i+1])/2;
361 j++;
362 }
363 qApp->processEvents();
364 length+=write(wav, monoBuffer, result/2);
365 }
366 printf("%d\r",length);
367 fflush(stdout);
368 }
369 }
370 // else { //AFMT_U8 // don't try this yet.. as player doesn't understand
371// 8bit unsigned
372 // unsigned short sound[512], monoBuffer[512];
373// while(recording)
374// {
375// result = read(dsp, sound, 512); // 8192
376// qApp->processEvents();
377// int j=0;
378// if(systemZaurus)
379// {
380// for (int i = 0; i < result; i++) { //since Z is mono do normally
381// monoBuffer[i] = sound[i];
382// }
383// qApp->processEvents();
384// length+=write(wav, monoBuffer, result);
385// } else { //ipaq /stereo inputs
386// for (int i = 0; i < result; i+=2) {
387// monoBuffer[j] = (sound[i]+sound[i+1])/2;
388// j++;
389// }
390// qApp->processEvents();
391// length+=write(wav, monoBuffer, result/2);
392// }
393// // length += result;
394// printf("%d\r",length);
395// fflush(stdout);
396
397// qApp->processEvents();
398// }
399// }
400
401
358 402
359 while(recording) 403// char sound[512]; //char is 8 bit
360 { 404
361 result = read(dsp, sound, 512); // 8192 405// while(recording)
362 qApp->processEvents(); 406// {
407// result = read(dsp, sound, 512); // 8192
408// qApp->processEvents();
363 409
364 write(wav, sound, result); 410// write(wav, sound, result);
365 length += result; 411// length += result;
366 412
367 qApp->processEvents(); 413// qApp->processEvents();
368 } 414// }
415// qDebug("file has length of %d lasting %d seconds",
416// length, (( length / speed) / channels) / 2 );
417// medialplayer states wrong length in secs
418
369 419
370 value = length+36; 420 value = length+36;
371 lseek(wav, 4, SEEK_SET); 421 lseek(wav, 4, SEEK_SET);
372 write(wav, &value, 4); 422 write(wav, &value, 4);
373 lseek(wav, 40, SEEK_SET); 423 lseek(wav, 40, SEEK_SET);
374 write(wav, &length, 4); 424 write(wav, &length, 4);
375 track.close(); 425 track.close();
376 426
377 if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1) 427 if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1)
378 perror("ioctl(\"SNDCTL_DSP_RESET\")"); 428 perror("ioctl(\"SNDCTL_DSP_RESET\")");
379 ::close(dsp); 429 ::close(dsp);
430// if(systemZaurus)
431 QMessageBox::message("Vmemo"," Done recording");
380 432
381 QSound::play(Resource::findSound("vmemoe")); 433 QSound::play(Resource::findSound("vmemoe"));
382} 434}
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
@@ -6,6 +6,7 @@ TARGET = vmemoapplet
6 DESTDIR = ../../plugins/applets 6 DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include 8DEPENDPATH += ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS = ../../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
@@ -7,6 +7,7 @@ DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include 8DEPENDPATH += ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS += ../../i18n/de/libvolumeapplet.ts 12TRANSLATIONS += ../../i18n/de/libvolumeapplet.ts
13TRANSLATIONS = ../../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
@@ -31,6 +31,7 @@ INTERFACES = commandeditdialogbase.ui smallcommandeditdialogbase.ui
31TARGET = embeddedkonsole 31TARGET = embeddedkonsole
32INCLUDEPATH += $(OPIEDIR)/include 32INCLUDEPATH += $(OPIEDIR)/include
33DEPENDPATH += $(OPIEDIR)/include 33DEPENDPATH += $(OPIEDIR)/include
34LIBS += -lqpe 34LIBS += -lqpe
35REQUIRES = embeddedkonsole 35REQUIRES = embeddedkonsole
36 36
37TRANSLATIONS = ../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
@@ -7,6 +7,7 @@ SOURCES = helpbrowser.cpp \
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 INTERFACES= 10 INTERFACES=
11 11
12TRANSLATIONS = ../i18n/de/helpbrowser.ts 12TRANSLATIONS = ../i18n/de/helpbrowser.ts
13TRANSLATIONS = ../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 @@
1TEMPLATE = app 1TEMPLATE = app
2CONFIG += qt warn_on release 2CONFIG += qt warn_on release
3 3
4DESTDIR = $(OPIEDIR)/bin 4DESTDIR = $(OPIEDIR)/bin
5HEADERS = textedit.h fileBrowser.h fontDialog.h fileSaver.h filePermissions.h inputDialog.h 5HEADERS = textedit.h fileBrowser.h fontDialog.h fileSaver.h filePermissions.h inputDialog.h
6SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp 6SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp
7 7
8INCLUDEPATH += $(OPIEDIR)/include 8INCLUDEPATH += $(OPIEDIR)/include
9DEPENDPATH += $(OPIEDIR)/include 9DEPENDPATH += $(OPIEDIR)/include
10LIBS += -lqpe 10LIBS += -lqpe
11 11
12TARGET = textedit 12TARGET = textedit
13 13
14TRANSLATIONS = ../i18n/de/textedit.ts 14TRANSLATIONS = ../i18n/de/textedit.ts
15TRANSLATIONS = ../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
@@ -22,30 +22,30 @@ HEADERS = background.h \
22 ../calibrate/calibrate.h \ 22 ../calibrate/calibrate.h \
23 startmenu.h \ 23 startmenu.h \
24 transferserver.h \ 24 transferserver.h \
25 qcopbridge.h \ 25 qcopbridge.h \
26 packageslave.h \ 26 packageslave.h \
27 irserver.h \ 27 irserver.h \
28 $(OPIEDIR)/rsync/buf.h \ 28 /skiff/opie/rsync/buf.h \
29 $(OPIEDIR)/rsync/checksum.h \ 29 /skiff/opie/rsync/checksum.h \
30 $(OPIEDIR)/rsync/command.h \ 30 /skiff/opie/rsync/command.h \
31 $(OPIEDIR)/rsync/emit.h \ 31 /skiff/opie/rsync/emit.h \
32 $(OPIEDIR)/rsync/job.h \ 32 /skiff/opie/rsync/job.h \
33 $(OPIEDIR)/rsync/netint.h \ 33 /skiff/opie/rsync/netint.h \
34 $(OPIEDIR)/rsync/protocol.h \ 34 /skiff/opie/rsync/protocol.h \
35 $(OPIEDIR)/rsync/prototab.h \ 35 /skiff/opie/rsync/prototab.h \
36 $(OPIEDIR)/rsync/rsync.h \ 36 /skiff/opie/rsync/rsync.h \
37 $(OPIEDIR)/rsync/search.h \ 37 /skiff/opie/rsync/search.h \
38 $(OPIEDIR)/rsync/stream.h \ 38 /skiff/opie/rsync/stream.h \
39 $(OPIEDIR)/rsync/sumset.h \ 39 /skiff/opie/rsync/sumset.h \
40 $(OPIEDIR)/rsync/trace.h \ 40 /skiff/opie/rsync/trace.h \
41 $(OPIEDIR)/rsync/types.h \ 41 /skiff/opie/rsync/types.h \
42 $(OPIEDIR)/rsync/util.h \ 42 /skiff/opie/rsync/util.h \
43 $(OPIEDIR)/rsync/whole.h \ 43 /skiff/opie/rsync/whole.h \
44 $(OPIEDIR)/rsync/config_rsync.h \ 44 /skiff/opie/rsync/config_rsync.h \
45 $(OPIEDIR)/rsync/qrsync.h 45 /skiff/opie/rsync/qrsync.h
46 # quicklauncher.h \ 46 # quicklauncher.h \
47 47
48 SOURCES = background.cpp \ 48 SOURCES = background.cpp \
49 desktop.cpp \ 49 desktop.cpp \
50 qprocess.cpp qprocess_unix.cpp \ 50 qprocess.cpp qprocess_unix.cpp \
51 info.cpp \ 51 info.cpp \
@@ -57,45 +57,45 @@ SOURCES = background.cpp \
57 inputmethods.cpp \ 57 inputmethods.cpp \
58 systray.cpp \ 58 systray.cpp \
59 wait.cpp \ 59 wait.cpp \
60 shutdownimpl.cpp \ 60 shutdownimpl.cpp \
61 launcher.cpp \ 61 launcher.cpp \
62 launcherview.cpp \ 62 launcherview.cpp \
63 $(OPIEDIR)/calibrate/calibrate.cpp \ 63 /skiff/opie/calibrate/calibrate.cpp \
64 transferserver.cpp \ 64 transferserver.cpp \
65 packageslave.cpp \ 65 packageslave.cpp \
66 irserver.cpp \ 66 irserver.cpp \
67 qcopbridge.cpp \ 67 qcopbridge.cpp \
68 startmenu.cpp \ 68 startmenu.cpp \
69 main.cpp \ 69 main.cpp \
70 $(OPIEDIR)/rsync/base64.c \ 70 /skiff/opie/rsync/base64.c \
71 $(OPIEDIR)/rsync/buf.c \ 71 /skiff/opie/rsync/buf.c \
72 $(OPIEDIR)/rsync/checksum.c \ 72 /skiff/opie/rsync/checksum.c \
73 $(OPIEDIR)/rsync/command.c \ 73 /skiff/opie/rsync/command.c \
74 $(OPIEDIR)/rsync/delta.c \ 74 /skiff/opie/rsync/delta.c \
75 $(OPIEDIR)/rsync/emit.c \ 75 /skiff/opie/rsync/emit.c \
76 $(OPIEDIR)/rsync/hex.c \ 76 /skiff/opie/rsync/hex.c \
77 $(OPIEDIR)/rsync/job.c \ 77 /skiff/opie/rsync/job.c \
78 $(OPIEDIR)/rsync/mdfour.c \ 78 /skiff/opie/rsync/mdfour.c \
79 $(OPIEDIR)/rsync/mksum.c \ 79 /skiff/opie/rsync/mksum.c \
80 $(OPIEDIR)/rsync/msg.c \ 80 /skiff/opie/rsync/msg.c \
81 $(OPIEDIR)/rsync/netint.c \ 81 /skiff/opie/rsync/netint.c \
82 $(OPIEDIR)/rsync/patch.c \ 82 /skiff/opie/rsync/patch.c \
83 $(OPIEDIR)/rsync/prototab.c \ 83 /skiff/opie/rsync/prototab.c \
84 $(OPIEDIR)/rsync/readsums.c \ 84 /skiff/opie/rsync/readsums.c \
85 $(OPIEDIR)/rsync/scoop.c \ 85 /skiff/opie/rsync/scoop.c \
86 $(OPIEDIR)/rsync/search.c \ 86 /skiff/opie/rsync/search.c \
87 $(OPIEDIR)/rsync/stats.c \ 87 /skiff/opie/rsync/stats.c \
88 $(OPIEDIR)/rsync/stream.c \ 88 /skiff/opie/rsync/stream.c \
89 $(OPIEDIR)/rsync/sumset.c \ 89 /skiff/opie/rsync/sumset.c \
90 $(OPIEDIR)/rsync/trace.c \ 90 /skiff/opie/rsync/trace.c \
91 $(OPIEDIR)/rsync/tube.c \ 91 /skiff/opie/rsync/tube.c \
92 $(OPIEDIR)/rsync/util.c \ 92 /skiff/opie/rsync/util.c \
93 $(OPIEDIR)/rsync/version.c \ 93 /skiff/opie/rsync/version.c \
94 $(OPIEDIR)/rsync/whole.c \ 94 /skiff/opie/rsync/whole.c \
95 $(OPIEDIR)/rsync/qrsync.cpp 95 /skiff/opie/rsync/qrsync.cpp
96 96
97 INTERFACES= shutdown.ui syncdialog.ui 97 INTERFACES= shutdown.ui syncdialog.ui
98 98
99INCLUDEPATH += $(OPIEDIR)/include 99INCLUDEPATH += $(OPIEDIR)/include
100 DEPENDPATH+= $(OPIEDIR)/include . 100 DEPENDPATH+= $(OPIEDIR)/include .
101 101
@@ -107,6 +107,7 @@ DEPENDPATH += $(OPIEDIR)/rsync
107 107
108 TARGET = qpe 108 TARGET = qpe
109 109
110 LIBS += -lqpe -lcrypt 110 LIBS += -lqpe -lcrypt
111 111
112TRANSLATIONS = ../i18n/de/qpe.ts 112TRANSLATIONS = ../i18n/de/qpe.ts
113TRANSLATIONS = ../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
@@ -7,6 +7,8 @@ SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c dec
7TARGET = madplugin 7TARGET = madplugin
8DESTDIR = ../../plugins/codecs 8DESTDIR = ../../plugins/codecs
9INCLUDEPATH += $(OPIEDIR)/include .. 9INCLUDEPATH += $(OPIEDIR)/include ..
10DEPENDPATH += ../$(OPIEDIR)/include .. 10DEPENDPATH += ../$(OPIEDIR)/include ..
11LIBS += -lqpe -lm 11LIBS += -lqpe -lm
12VERSION = 1.0.0 12VERSION = 1.0.0
13
14TRANSLATIONS = ../../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
@@ -20,6 +20,7 @@ LIBS += -lqpe -lpthread
20# LIBS += $(OPIEDIR)/plugins/codecs/liblibmadplugin.so 20# LIBS += $(OPIEDIR)/plugins/codecs/liblibmadplugin.so
21 21
22INCLUDEPATH += $(OPIEDIR)/include 22INCLUDEPATH += $(OPIEDIR)/include
23DEPENDPATH += $(OPIEDIR)/include 23DEPENDPATH += $(OPIEDIR)/include
24 24
25TRANSLATIONS = ../i18n/de/mpegplayer.ts 25TRANSLATIONS = ../i18n/de/mpegplayer.ts
26TRANSLATIONS = ../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
@@ -17,6 +17,7 @@ INTERFACES = addresssettingsbase.ui
17 TARGET = addressbook 17 TARGET = addressbook
18INCLUDEPATH += $(OPIEDIR)/include 18INCLUDEPATH += $(OPIEDIR)/include
19 DEPENDPATH+= $(OPIEDIR)/include 19 DEPENDPATH+= $(OPIEDIR)/include
20LIBS += -lqpe 20LIBS += -lqpe
21 21
22TRANSLATIONS = ../i18n/de/addressbook.ts 22TRANSLATIONS = ../i18n/de/addressbook.ts
23TRANSLATIONS = ../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
@@ -37,6 +37,7 @@ INCLUDEPATH += $(OPIEDIR)/include
37 DEPENDPATH+= $(OPIEDIR)/include 37 DEPENDPATH+= $(OPIEDIR)/include
38LIBS += -lqpe 38LIBS += -lqpe
39 39
40 TARGET = datebook 40 TARGET = datebook
41 41
42TRANSLATIONS = ../i18n/de/datebook.ts 42TRANSLATIONS = ../i18n/de/datebook.ts
43TRANSLATIONS = ../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
@@ -7,6 +7,7 @@ SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp minidom.c TodoItem.c
7 INCLUDEPATH+= $(OPIEDIR)/include 7 INCLUDEPATH+= $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 INTERFACES= 10 INTERFACES=
11 TARGET = today 11 TARGET = today
12 DESTDIR = $(OPIEDIR)/bin 12 DESTDIR = $(OPIEDIR)/bin
13TRANSLATIONS = ../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
@@ -14,6 +14,7 @@ INTERFACES = todoentry.ui
14 TARGET = todolist 14 TARGET = todolist
15INCLUDEPATH += $(OPIEDIR)/include 15INCLUDEPATH += $(OPIEDIR)/include
16 DEPENDPATH+= $(OPIEDIR)/include 16 DEPENDPATH+= $(OPIEDIR)/include
17LIBS += -lqpe 17LIBS += -lqpe
18 18
19TRANSLATIONS = ../i18n/de/todolist.ts 19TRANSLATIONS = ../i18n/de/todolist.ts
20TRANSLATIONS = ../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
@@ -8,6 +8,7 @@ SOURCES = citytime.cpp zonemap.cpp main.cpp sun.c stylusnormalizer.cpp
8TARGET = citytime 8TARGET = citytime
9INCLUDEPATH += $(OPIEDIR)/include 9INCLUDEPATH += $(OPIEDIR)/include
10DEPENDPATH += $(OPIEDIR)/include 10DEPENDPATH += $(OPIEDIR)/include
11LIBS += -lqpe 11LIBS += -lqpe
12 12
13TRANSLATIONS = ../i18n/de/citytime.ts 13TRANSLATIONS = ../i18n/de/citytime.ts
14TRANSLATIONS = ../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
@@ -7,6 +7,7 @@ INTERFACES = lightsettingsbase.ui
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= ../$(OPIEDIR)/include 8 DEPENDPATH+= ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 TARGET = light-and-power 10 TARGET = light-and-power
11 11
12TRANSLATIONS = ../../i18n/de/light-and-power.ts 12TRANSLATIONS = ../../i18n/de/light-and-power.ts
13TRANSLATIONS = ../../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
@@ -7,6 +7,7 @@ INTERFACES = securitybase.ui
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= ../$(OPIEDIR)/include 8 DEPENDPATH+= ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 TARGET = security 10 TARGET = security
11 11
12TRANSLATIONS = ../../i18n/de/security.ts 12TRANSLATIONS = ../../i18n/de/security.ts
13TRANSLATIONS = ../../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
@@ -13,6 +13,8 @@ DESTDIR = ../../plugins/inputmethods
13INCLUDEPATH += $(OPIEDIR)/include 13INCLUDEPATH += $(OPIEDIR)/include
14DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar 14DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
15LIBS += -lqpe 15LIBS += -lqpe
16 VERSION = 1.0.0 16 VERSION = 1.0.0
17 17
18TRANSLATIONS += ../../i18n/de/libqdvorak.ts 18TRANSLATIONS += ../../i18n/de/libqdvorak.ts
19TRANSLATIONS = ../../i18n/pt_BR/libqdvorak.ts
20
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
@@ -28,6 +28,8 @@ DESTDIR = ../../plugins/inputmethods
28INCLUDEPATH += $(OPIEDIR)/include 28INCLUDEPATH += $(OPIEDIR)/include
29DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar 29DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
30LIBS += -lqpe 30LIBS += -lqpe
31 VERSION = 1.0.0 31 VERSION = 1.0.0
32 32
33TRANSLATIONS += ../../i18n/de/libqhandwriting.ts 33TRANSLATIONS += ../../i18n/de/libqhandwriting.ts
34TRANSLATIONS = ../../i18n/pt_BR/libqhandwriting.ts
35
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
@@ -13,6 +13,8 @@ DESTDIR = ../../plugins/inputmethods
13INCLUDEPATH += $(OPIEDIR)/include 13INCLUDEPATH += $(OPIEDIR)/include
14DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar 14DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
15LIBS += -lqpe 15LIBS += -lqpe
16 VERSION = 1.0.0 16 VERSION = 1.0.0
17 17
18TRANSLATIONS += ../../i18n/de/libqkeyboard.ts 18TRANSLATIONS += ../../i18n/de/libqkeyboard.ts
19TRANSLATIONS = ../../i18n/pt_BR/libqkeyboard.ts
20
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
@@ -7,6 +7,7 @@ DESTDIR = ../../plugins/inputmethods
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar 8DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS += ../../i18n/de/libqpickboard.ts 12TRANSLATIONS += ../../i18n/de/libqpickboard.ts
13TRANSLATIONS = ../../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
@@ -7,6 +7,7 @@ DESTDIR = ../../plugins/inputmethods
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar 8DEPENDPATH += ../$(OPIEDIR)/include ../../taskbar
9LIBS += -lqpe 9LIBS += -lqpe
10 VERSION = 1.0.0 10 VERSION = 1.0.0
11 11
12TRANSLATIONS += ../../i18n/de/libqunikeyboard.ts 12TRANSLATIONS += ../../i18n/de/libqunikeyboard.ts
13TRANSLATIONS = ../../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
@@ -125,6 +125,7 @@ INTERFACES = passwordbase_p.ui categoryeditbase_p.ui findwidgetbase_p.ui lnkprop
125 TARGET = qpe 125 TARGET = qpe
126 DESTDIR = $(QTDIR)/lib$(PROJMAK) 126 DESTDIR = $(QTDIR)/lib$(PROJMAK)
127# This is set by configure$(OPIEDIR). 127# This is set by configure$(OPIEDIR).
128 VERSION = 1.5.0 128 VERSION = 1.5.0
129 129
130TRANSLATIONS = ../i18n/de/libqpe.ts 130TRANSLATIONS = ../i18n/de/libqpe.ts
131TRANSLATIONS = ../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
@@ -31,6 +31,8 @@ SOURCES = main.cpp \
31 db/common.cpp 31 db/common.cpp
32 INTERFACES= ui/tvkeyedit_gen.ui 32 INTERFACES= ui/tvkeyedit_gen.ui
33 TARGET = tableviewer 33 TARGET = tableviewer
34INCLUDEPATH += $(OPIEDIR)/include 34INCLUDEPATH += $(OPIEDIR)/include
35DEPENDPATH += $(OPIEDIR)/include 35DEPENDPATH += $(OPIEDIR)/include
36 LIBS += -lqpe 36 LIBS += -lqpe
37
38TRANSLATIONS = ../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
@@ -33,6 +33,7 @@ INTERFACES = vncoptionsbase.ui
33TARGET = keypebble 33TARGET = keypebble
34 34
35INCLUDEPATH += $(OPIEDIR)/include 35INCLUDEPATH += $(OPIEDIR)/include
36DEPENDPATH += $(OPIEDIR)/include 36DEPENDPATH += $(OPIEDIR)/include
37LIBS += -lqpe 37LIBS += -lqpe
38 38
39TRANSLATIONS = ../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
@@ -9,6 +9,8 @@ TEMPLATE =app
9 CONFIG+= qt warn_on release 9 CONFIG+= qt warn_on release
10INCLUDEPATH += $(OPIEDIR)/include 10INCLUDEPATH += $(OPIEDIR)/include
11 LIBS+= -lqpe 11 LIBS+= -lqpe
12 DBFILE= chess.db 12 DBFILE= chess.db
13 LANGUAGE= C++ 13 LANGUAGE= C++
14 CPP_ALWAYS_CREATE_SOURCE= TRUE 14 CPP_ALWAYS_CREATE_SOURCE= TRUE
15
16TRANSLATIONS = ../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
@@ -5,6 +5,8 @@ HEADERS = fifteen.h
5 SOURCES = fifteen.cpp \ 5 SOURCES = fifteen.cpp \
6 main.cpp 6 main.cpp
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 TARGET = fifteen 10 TARGET = fifteen
11
12TRANSLATIONS = ../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
@@ -13,7 +13,9 @@ SOURCES = amigo.c \
13 main.cpp 13 main.cpp
14INCLUDEPATH += $(OPIEDIR)/include 14INCLUDEPATH += $(OPIEDIR)/include
15 DEPENDPATH+= $(OPIEDIR)/include 15 DEPENDPATH+= $(OPIEDIR)/include
16LIBS += -lqpe 16LIBS += -lqpe
17 TARGET = go 17 TARGET = go
18 18
19TRANSLATIONS = ../i18n/de/go.ts \ No newline at end of file 19TRANSLATIONS = ../i18n/de/go.ts
20TRANSLATIONS = ../i18n/pt_BR/go.ts
21
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
@@ -14,6 +14,8 @@ SOURCES = checkers.cpp \
14 INTERFACES= 14 INTERFACES=
15 INCLUDEPATH+= . \ 15 INCLUDEPATH+= . \
16 $(OPIEDIR)/include 16 $(OPIEDIR)/include
17 LIBS += -lqpe 17 LIBS += -lqpe
18 DESTDIR = $(OPIEDIR)/bin 18 DESTDIR = $(OPIEDIR)/bin
19 TARGET = kcheckers 19 TARGET = kcheckers
20
21TRANSLATIONS = ../../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
@@ -7,6 +7,8 @@ SOURCES = main.cpp \
7TARGET = mindbreaker 7TARGET = mindbreaker
8INCLUDEPATH += $(OPIEDIR)/include 8INCLUDEPATH += $(OPIEDIR)/include
9DEPENDPATH += $(OPIEDIR)/include 9DEPENDPATH += $(OPIEDIR)/include
10LIBS += -lqpe 10LIBS += -lqpe
11 11
12TRANSLATIONS = ../i18n/de/mindbreaker.ts 12TRANSLATIONS = ../i18n/de/mindbreaker.ts
13TRANSLATIONS = ../i18n/pt_BR/mindbreaker.ts
14
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
@@ -9,6 +9,7 @@ SOURCES = main.cpp \
9INCLUDEPATH += $(OPIEDIR)/include 9INCLUDEPATH += $(OPIEDIR)/include
10 DEPENDPATH+= $(OPIEDIR)/include 10 DEPENDPATH+= $(OPIEDIR)/include
11LIBS += -lqpe 11LIBS += -lqpe
12 INTERFACES= 12 INTERFACES=
13 13
14TRANSLATIONS = ../i18n/de/minesweep.ts 14TRANSLATIONS = ../i18n/de/minesweep.ts
15TRANSLATIONS = ../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
@@ -6,6 +6,7 @@ SOURCES = main.cpp interface.cpp man.cpp cannon.cpp base.cpp bullet.cpp helicop
6 TARGET = parashoot 6 TARGET = parashoot
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 10
11TRANSLATIONS = ../i18n/de/parashoot.ts 11TRANSLATIONS = ../i18n/de/parashoot.ts
12TRANSLATIONS = ../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
@@ -6,6 +6,7 @@ SOURCES = ledmeter.cpp toplevel.cpp view.cpp main.cpp
6 TARGET = qasteroids 6 TARGET = qasteroids
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 10
11TRANSLATIONS = ../i18n/de/qasteroids.ts 11TRANSLATIONS = ../i18n/de/qasteroids.ts
12TRANSLATIONS = ../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
@@ -6,6 +6,7 @@ SOURCES = snake.cpp target.cpp obstacle.cpp interface.cpp main.cpp
6 TARGET = snake 6 TARGET = snake
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 10
11TRANSLATIONS = ../i18n/de/snake.ts 11TRANSLATIONS = ../i18n/de/snake.ts
12TRANSLATIONS = ../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
@@ -13,6 +13,7 @@ INCLUDEPATH += $(OPIEDIR)/include
13 DEPENDPATH+= $(OPIEDIR)/include 13 DEPENDPATH+= $(OPIEDIR)/include
14LIBS += -lqpe 14LIBS += -lqpe
15 15
16 REQUIRES= patience 16 REQUIRES= patience
17 17
18TRANSLATIONS = ../i18n/de/patience.ts 18TRANSLATIONS = ../i18n/de/patience.ts
19TRANSLATIONS = ../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
@@ -12,6 +12,8 @@ SOURCES = main.cpp \
12 qtetrixb.cpp \ 12 qtetrixb.cpp \
13 tpiece.cpp 13 tpiece.cpp
14INCLUDEPATH += $(OPIEDIR)/include 14INCLUDEPATH += $(OPIEDIR)/include
15 DEPENDPATH+= $(OPIEDIR)/include 15 DEPENDPATH+= $(OPIEDIR)/include
16LIBS += -lqpe 16LIBS += -lqpe
17 INTERFACES= 17 INTERFACES=
18
19TRANSLATIONS = ../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
@@ -6,6 +6,8 @@ SOURCES = main.cpp \
6TARGET = tictac 6TARGET = tictac
7REQUIRES=medium-config 7REQUIRES=medium-config
8INCLUDEPATH += $(OPIEDIR)/include 8INCLUDEPATH += $(OPIEDIR)/include
9DEPENDPATH += $(OPIEDIR)/include 9DEPENDPATH += $(OPIEDIR)/include
10LIBS += -lqpe 10LIBS += -lqpe
11DESTDIR = $(OPIEDIR)/bin 11DESTDIR = $(OPIEDIR)/bin
12
13TRANSLATIONS = ../../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
@@ -8,6 +8,7 @@ INTERFACES = newgamebase.ui rulesbase.ui
8 TARGET = wordgame 8 TARGET = wordgame
9INCLUDEPATH += $(OPIEDIR)/include 9INCLUDEPATH += $(OPIEDIR)/include
10 DEPENDPATH+= $(OPIEDIR)/include 10 DEPENDPATH+= $(OPIEDIR)/include
11LIBS += -lqpe 11LIBS += -lqpe
12 12
13TRANSLATIONS = ../i18n/de/wordgame.ts 13TRANSLATIONS = ../i18n/de/wordgame.ts
14TRANSLATIONS = ../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
@@ -14,6 +14,7 @@ INCLUDEPATH += $(OPIEDIR)/include
14DEPENDPATH += $(OPIEDIR)/include 14DEPENDPATH += $(OPIEDIR)/include
15LIBS += -lqpe 15LIBS += -lqpe
16 16
17REQUIRES = showimg 17REQUIRES = showimg
18 18
19TRANSLATIONS = ../i18n/de/showimg.ts 19TRANSLATIONS = ../i18n/de/showimg.ts
20TRANSLATIONS = ../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
@@ -484,13 +484,13 @@ void OpieFtp::populateLocalView()
484 isDir=TRUE; 484 isDir=TRUE;
485// qDebug( fileL); 485// qDebug( fileL);
486 } 486 }
487 } 487 }
488 if(fileL !="./") { 488 if(fileL !="./") {
489 item = new QListViewItem( Local_View,fileL,fileS, fileDate); 489 item = new QListViewItem( Local_View,fileL,fileS, fileDate);
490 if(isDir) 490 if(isDir || fileL.find("/",0,TRUE) != -1)
491 item->setPixmap( 0, Resource::loadPixmap( "folder" )); 491 item->setPixmap( 0, Resource::loadPixmap( "folder" ));
492 else 492 else
493 item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); 493 item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
494 } 494 }
495 isDir=FALSE; 495 isDir=FALSE;
496 ++it; 496 ++it;
@@ -524,13 +524,13 @@ bool OpieFtp::populateRemoteView( )
524 fileS = s.mid( 30, 42-30); 524 fileS = s.mid( 30, 42-30);
525 fileS = fileS.stripWhiteSpace(); 525 fileS = fileS.stripWhiteSpace();
526 fileDate = s.mid( 42, 55-42); 526 fileDate = s.mid( 42, 55-42);
527 fileDate = fileDate.stripWhiteSpace(); 527 fileDate = fileDate.stripWhiteSpace();
528 if(fileL.find("total",0,TRUE) == -1) { 528 if(fileL.find("total",0,TRUE) == -1) {
529 QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate); 529 QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate);
530 if(s.left(1) == "d") { 530 if(s.left(1) == "d" || fileL.find("/",0,TRUE) != -1) {
531 item->setPixmap( 0, Resource::loadPixmap( "folder" )); 531 item->setPixmap( 0, Resource::loadPixmap( "folder" ));
532 if(itemDir) 532 if(itemDir)
533 item->moveItem(itemDir); 533 item->moveItem(itemDir);
534 itemDir=item; 534 itemDir=item;
535 } else { 535 } else {
536 item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); 536 item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
@@ -692,14 +692,14 @@ void OpieFtp::RemoteListPressed( int mouse, QListViewItem *item, const QPoint &p
692 }; 692 };
693} 693}
694 694
695void OpieFtp::showRemoteMenu(QListViewItem * item) 695void OpieFtp::showRemoteMenu(QListViewItem * item)
696{ 696{
697 QPopupMenu m;// = new QPopupMenu( Local_View ); 697 QPopupMenu m;// = new QPopupMenu( Local_View );
698 if(item->text(0).right(1) == "/") 698 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
699 m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() )); 699 m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() ));
700 else 700 else
701 m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() )); 701 m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() ));
702 m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() )); 702 m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() ));
703 m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() )); 703 m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() ));
704 m.insertSeparator(); 704 m.insertSeparator();
705 m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); 705 m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() ));
@@ -708,13 +708,13 @@ void OpieFtp::showRemoteMenu(QListViewItem * item)
708 708
709void OpieFtp::showLocalMenu(QListViewItem * item) 709void OpieFtp::showLocalMenu(QListViewItem * item)
710{ 710{
711 QPopupMenu m; 711 QPopupMenu m;
712 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); 712 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() ));
713 m.insertSeparator(); 713 m.insertSeparator();
714 if(item->text(0).right(1) == "/") 714 if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
715 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); 715 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() ));
716 else 716 else
717 m.insertItem( tr( "Upload" ), this, SLOT( localUpload() )); 717 m.insertItem( tr( "Upload" ), this, SLOT( localUpload() ));
718 m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() )); 718 m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() ));
719 m.insertItem( tr( "Rename" ), this, SLOT( localRename() )); 719 m.insertItem( tr( "Rename" ), this, SLOT( localRename() ));
720 m.insertSeparator(); 720 m.insertSeparator();
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
@@ -6,6 +6,7 @@ TARGET = opieftp
6REQUIRES=medium-config 6REQUIRES=medium-config
7DESTDIR = $(OPIEDIR)/bin 7DESTDIR = $(OPIEDIR)/bin
8INCLUDEPATH += $(OPIEDIR)/include 8INCLUDEPATH += $(OPIEDIR)/include
9DEPENDPATH += $(OPIEDIR)/include 9DEPENDPATH += $(OPIEDIR)/include
10LIBS += -lqpe 10LIBS += -lqpe
11 11
12TRANSLATIONS = ../../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
@@ -7,6 +7,7 @@ INTERFACES = languagesettingsbase.ui
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= ../$(OPIEDIR)/include 8 DEPENDPATH+= ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 TARGET = language 10 TARGET = language
11 11
12TRANSLATIONS = ../../i18n/de/language.ts 12TRANSLATIONS = ../../i18n/de/language.ts
13TRANSLATIONS = ../../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
@@ -5,6 +5,8 @@ HEADERS = soundsettings.h
5 SOURCES = soundsettings.cpp main.cpp 5 SOURCES = soundsettings.cpp main.cpp
6 INTERFACES= soundsettingsbase.ui 6 INTERFACES= soundsettingsbase.ui
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= ../$(OPIEDIR)/include 8 DEPENDPATH+= ../$(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 TARGET = sound 10 TARGET = sound
11
12TRANSLATIONS = ../../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
@@ -44,14 +44,14 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl )
44 sampleRate->setCurrentItem(0); 44 sampleRate->setCurrentItem(0);
45 else if(rate == 22050) 45 else if(rate == 22050)
46 sampleRate->setCurrentItem(1); 46 sampleRate->setCurrentItem(1);
47 else if(rate==44100) 47 else if(rate==44100)
48 sampleRate->setCurrentItem(2); 48 sampleRate->setCurrentItem(2);
49 49
50 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); 50 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
51 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); 51 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1));
52 52
53 connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); 53 connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int)));
54 connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); 54 connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int)));
55 connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); 55 connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) );
56 connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); 56 connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) );
57} 57}
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
@@ -24,6 +24,7 @@ INCLUDEPATH += $(OPIEDIR)/include
24DEPENDPATH += $(OPIEDIR)/include 24DEPENDPATH += $(OPIEDIR)/include
25LIBS += -lqpe 25LIBS += -lqpe
26 26
27TARGET = sysinfo 27TARGET = sysinfo
28 28
29TRANSLATIONS = ../i18n/de/sysinfo.ts 29TRANSLATIONS = ../i18n/de/sysinfo.ts
30TRANSLATIONS = ../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
@@ -6,6 +6,7 @@ HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h
6SOURCES += calc.cpp main.cpp engine.cpp 6SOURCES += calc.cpp main.cpp engine.cpp
7 7
8INCLUDEPATH += $(OPIEDIR)/include 8INCLUDEPATH += $(OPIEDIR)/include
9DEPENDPATH += $(OPIEDIR)/include 9DEPENDPATH += $(OPIEDIR)/include
10LIBS += -lqpe -Wl,-export-dynamic 10LIBS += -lqpe -Wl,-export-dynamic
11 11
12TRANSLATIONS = ../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
@@ -8,6 +8,7 @@ INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 INTERFACES= calculator.ui 10 INTERFACES= calculator.ui
11 TARGET = calculator 11 TARGET = calculator
12 12
13TRANSLATIONS = ../i18n/de/calculator.ts 13TRANSLATIONS = ../i18n/de/calculator.ts
14TRANSLATIONS = ../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
@@ -8,6 +8,7 @@ INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += $(OPIEDIR)/include 8DEPENDPATH += $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10INTERFACES = 10INTERFACES =
11TARGET = clock 11TARGET = clock
12 12
13TRANSLATIONS = ../i18n/de/clock.ts 13TRANSLATIONS = ../i18n/de/clock.ts
14TRANSLATIONS = ../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
@@ -3,7 +3,9 @@ CONFIG = qt warn_on release
3 DESTDIR = $(OPIEDIR)/bin 3 DESTDIR = $(OPIEDIR)/bin
4 HEADERS = inlineedit.h filebrowser.h filePermissions.h 4 HEADERS = inlineedit.h filebrowser.h filePermissions.h
5 SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp 5 SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp
6INCLUDEPATH += $(OPIEDIR)/include 6INCLUDEPATH += $(OPIEDIR)/include
7 DEPENDPATH+= $(OPIEDIR)/include 7 DEPENDPATH+= $(OPIEDIR)/include
8LIBS += -lqpe 8LIBS += -lqpe
9 INTERFACES= 9 INTERFACES=
10TRANSLATIONS = ../i18n/de/filebrowser.ts
11TRANSLATIONS = ../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
@@ -8,6 +8,7 @@ INCLUDEPATH += $(OPIEDIR)/include
8 DEPENDPATH+= $(OPIEDIR)/include 8 DEPENDPATH+= $(OPIEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10 INTERFACES= packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui 10 INTERFACES= packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui
11 TARGET = qipkg 11 TARGET = qipkg
12 12
13TRANSLATIONS = ../i18n/de/qipkg.ts 13TRANSLATIONS = ../i18n/de/qipkg.ts
14TRANSLATIONS = ../i18n/pt_BR/qipkg.ts