[vlma-devel] commit: Set frequency of SatChannels in Hz. (Adrien Grand )
git version control
git at videolan.org
Mon Jan 12 03:07:14 CET 2009
vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Jan 11 19:13:57 2009 +0100| [96fbf3f6ee7bc34882fce4371e8a6034748091f0] | committer: Adrien Grand
Set frequency of SatChannels in Hz.
> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=96fbf3f6ee7bc34882fce4371e8a6034748091f0
---
.../src/main/java/org/videolan/vlma/DataImpl.java | 2 +-
vlma-webapp/src/main/resources/messages.properties | 6 +++---
.../src/main/resources/messages_fr.properties | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/vlma-core/src/main/java/org/videolan/vlma/DataImpl.java b/vlma-core/src/main/java/org/videolan/vlma/DataImpl.java
index e5bee2f..6d2f7fd 100644
--- a/vlma-core/src/main/java/org/videolan/vlma/DataImpl.java
+++ b/vlma-core/src/main/java/org/videolan/vlma/DataImpl.java
@@ -335,7 +335,7 @@ public class DataImpl implements Data {
}
String country = htmlCellExtract(tdCells, 5, 0, 3);
SatChannel ch = new SatChannel();
- ch.setFrequency(frequency);
+ ch.setFrequency(frequency * 1000); // Frequency was in kHz
ch.setPolarisation(polarisation);
ch.setCoverage(coverage);
ch.setName(name);
diff --git a/vlma-webapp/src/main/resources/messages.properties b/vlma-webapp/src/main/resources/messages.properties
index e2000b6..8a94b9c 100644
--- a/vlma-webapp/src/main/resources/messages.properties
+++ b/vlma-webapp/src/main/resources/messages.properties
@@ -215,7 +215,7 @@ medias.addDTTchannel = Add a DTT channel
medias.listDTT = DTT channel list
medias.shortlistSat = Satellite channel list not crypted
medias.fulllistSat = Satellite channel list
-medias.list.frequency = Frequency
+medias.list.frequency = Frequency (Hz)
medias.list.sid = SID
medias.list.name = Name
medias.list.action = Action
@@ -280,7 +280,7 @@ medias.view.category = Category
medias.view.polarization = Polarization
medias.view.coverage = Coverage
medias.view.country = Country
-medias.view.frequency = Frequency
+medias.view.frequency = Frequency (Hz)
medias.view.sid = SID
medias.view.encryption = Encryption
medias.view.source = Source
@@ -295,7 +295,7 @@ medias.view.ip = multicast IP
medias.DTTchannel.add = Add a DTT channel
medias.DTTchannel.add.name = Name:
-medias.DTTchannel.add.frequency = Frequency:
+medias.DTTchannel.add.frequency = Frequency (Hz):
medias.DTTchannel.add.sid = SID (program):
medias.DTTchannel.empty = There is no DTT channel in the database.
diff --git a/vlma-webapp/src/main/resources/messages_fr.properties b/vlma-webapp/src/main/resources/messages_fr.properties
index 4f2cc8a..82415b0 100644
--- a/vlma-webapp/src/main/resources/messages_fr.properties
+++ b/vlma-webapp/src/main/resources/messages_fr.properties
@@ -212,7 +212,7 @@ medias.addDTTchannel = Ajouter une chaîne TNT
medias.listDTT = Liste des chaînes TNT
medias.shortlistSat = Liste des chaînes satellite non cryptées
medias.fulllistSat = Liste des chaînes satellite
-medias.list.frequency = Fréquence
+medias.list.frequency = Fréquence (Hz)
medias.list.sid = SID
medias.list.name = Nom
medias.list.action = Action
@@ -277,7 +277,7 @@ medias.view.category = Catégorie
medias.view.polarization = Polarisation
medias.view.coverage = Couverture
medias.view.country = Pays
-medias.view.frequency = Fréquence
+medias.view.frequency = Fréquence (Hz)
medias.view.sid = SID
medias.view.encryption = Chiffrement
medias.view.source = Source
@@ -292,7 +292,7 @@ medias.view.ip = IP multicast
medias.DTTchannel.add = Ajout d'une chaîne TNT
medias.DTTchannel.add.name = Nom :
-medias.DTTchannel.add.frequency = Fréquence :
+medias.DTTchannel.add.frequency = Fréquence (Hz) :
medias.DTTchannel.add.sid = SID (program) :
medias.DTTchannel.empty = Il n'y a aucune chaîne TNT dans la base de données.
More information about the vlma-devel
mailing list