Changeset 7223 for extensions
- Timestamp:
- Oct 16, 2010, 1:56:54 PM (14 years ago)
- Location:
- extensions/jiwigo/trunk/src/main
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/transverse/ImagesManagement.java
r7221 r7223 78 78 */ 79 79 public static int privacyLevel = 1; 80 81 /** 82 * boolean that defines if the application is sending files 83 * 84 */ 85 public static boolean sendingFiles = false; 80 86 81 87 -
extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/ThumbnailCategoryPanel.java
r7222 r7223 5 5 import java.awt.Graphics; 6 6 import java.io.File; 7 import java.io.IOException; 7 8 import javax.swing.JOptionPane; 8 9 import javax.swing.JPanel; … … 94 95 new DialogPrivacyLevel(); 95 96 } 96 new Thread(new ThreadEnvoiPhoto(files)).start(); 97 97 if (ImagesManagement.sendingFiles) { 98 JOptionPane.showMessageDialog(null, Messages.getMessage("alreadySendingError"), Messages.getMessage("error"), 99 JOptionPane.ERROR_MESSAGE); 100 } else { 101 new Thread(new ThreadEnvoiPhoto(files)).start(); 102 } 98 103 } 99 104 }); … … 144 149 int nb = 1; 145 150 JPanel panelh = new JPanel(new FlowLayout()); 151 try { 152 ImagesManagement.LIST_IMAGE = ImageService.getInstance().listerParCategory(categoryId, false); 153 } catch (IOException e1) { 154 e1.printStackTrace(); 155 } 146 156 for (Image image : ImagesManagement.LIST_IMAGE) { 147 157 try { … … 214 224 @Override 215 225 public void run() { 216 226 ImagesManagement.sendingFiles = true; 217 227 for (int i = 0; i < files.length; i++) { 218 228 MainFrame.getInstance().setAdditionalMessage("<html><i>" + (i + 1) + "/" + files.length + " : </i></html>"); … … 236 246 rafraichir(categoryId, true); 237 247 MainFrame.getInstance().getProgressBar().setValue(0); 248 ImagesManagement.sendingFiles = false; 238 249 } 239 250 } -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages.properties
r7070 r7223 4 4 error=Error 5 5 welcomeMessage=Welcome to Jiwigo 6 version=0.1 36 version=0.14 7 7 commentaires=Comments 8 8 loading=Loading... … … 57 57 listingTagsError=Error while getting tags 58 58 addingTagsError=Error while adding tags 59 alreadySendingError=The application is already sending files. Please wait before sending other files. 59 60 60 61 ##################################################### -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_de.properties
r6995 r7223 4 4 error=Fehler 5 5 welcomeMessage=Willkommen bei Jiwigo 6 version=0.1 36 version=0.14 7 7 commentaires=Kommentare 8 8 loading=Ladet... -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_en.properties
r7070 r7223 4 4 error=Error 5 5 welcomeMessage=Welcome to Jiwigo 6 version=0.1 36 version=0.14 7 7 commentaires=Comments 8 8 loading=Loading... … … 57 57 listingTagsError=Error while getting tags 58 58 addingTagsError=Error while adding tags 59 alreadySendingError=The application is already sending files. Please wait before sending other files. 59 60 60 61 ##################################################### -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_es.properties
r6998 r7223 4 4 error=Error 5 5 welcomeMessage=Bienvenidos a Jiwigo 6 version=0.1 1b6 version=0.14 7 7 commentaires=Comentarios 8 8 loading=Descarga... -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_fr.properties
r7070 r7223 4 4 error=Erreur 5 5 welcomeMessage=Bienvenue dans Jiwigo 6 version=0.1 36 version=0.14 7 7 commentaires=Commentaires 8 8 loading=Chargement... … … 57 57 listingTagsError=Erreur lors de la récupération des tags 58 58 addingTagsError=Erreur lors de l'ajout de tags 59 alreadySendingError=Un envoi de photo est en cours. Veuillez attendre qu'il soit fini. 59 60 60 61 ##################################################### -
extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_it.properties
r6995 r7223 4 4 error=Errore 5 5 welcomeMessage=Benvenuti su Jiwigo 6 version=0.1 36 version=0.14 7 7 commentaires=Commenti 8 8 loading=Caricamento in corso...
Note: See TracChangeset
for help on using the changeset viewer.