[kune-commits] r1722 - in trunk/src/main/java/cc/kune: core/client/auth core/client/i18n core/client/sn core/public core/server/content events/client/actions events/client/viewer gspace/client/armor/impl gspace/client/options/tools tasks/client

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Wed Feb 29 11:13:53 CET 2012


Author: vjrj_
Date: 2012-02-29 11:13:51 +0100 (Wed, 29 Feb 2012)
New Revision: 1722

Modified:
   trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
   trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java
   trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties
   trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties
   trunk/src/main/java/cc/kune/core/client/sn/AbstractSNPanel.java
   trunk/src/main/java/cc/kune/core/public/ws.css
   trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java
   trunk/src/main/java/cc/kune/events/client/actions/Calendar1DayViewSelectBtn.java
   trunk/src/main/java/cc/kune/events/client/actions/Calendar3DaysViewSelectBtn.java
   trunk/src/main/java/cc/kune/events/client/actions/Calendar7DaysViewSelectBtn.java
   trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
   trunk/src/main/java/cc/kune/gspace/client/armor/impl/GSpaceArmorImpl.ui.xml
   trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPanel.java
   trunk/src/main/java/cc/kune/tasks/client/TasksClientTool.java
Log:
CLOSED - # 198: Add Drag and Drop from users to contents and vice versa 
http://kune.ourproject.org/issues/ticket/198
NEW - # 193: Add a tool intro tutorial instead of the sample contents 
http://kune.ourproject.org/issues/ticket/193

Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -41,12 +41,14 @@
 import cc.kune.core.shared.dto.SubscriptionMode;
 import cc.kune.core.shared.dto.TimeZoneDTO;
 import cc.kune.core.shared.dto.UserDTO;
+import cc.kune.gspace.client.actions.ShowHelpContainerEvent;
 
 import com.google.gwt.event.dom.client.ClickEvent;
 import com.google.gwt.event.dom.client.ClickHandler;
 import com.google.gwt.event.logical.shared.CloseEvent;
 import com.google.gwt.event.logical.shared.CloseHandler;
 import com.google.gwt.event.shared.EventBus;
+import com.google.gwt.user.client.Timer;
 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.ui.PopupPanel;
 import com.google.inject.Inject;
@@ -200,6 +202,13 @@
                   } else {
                     showWelcolmeDialogNoHomepage();
                   }
+                  new Timer() {
+                    @Override
+                    public void run() {
+                      ShowHelpContainerEvent.fire(getEventBus(),
+                          session.getCurrentStateToken().getTool());
+                    }
+                  }.schedule(2000);
                 }
               });
         }

Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -26,6 +26,10 @@
 
   String actions();
 
+  String add();
+
+  String addAnAppointment();
+
   String addANewBuddy();
 
   String addAsABuddy();
@@ -42,6 +46,8 @@
 
   String allowModificationsOfYourWork();
 
+  String almostImmediately();
+
   String aLongTermTaskSample();
 
   String aMidTermTaskSample();
@@ -66,6 +72,10 @@
 
   String aShortTermTaskSample();
 
+  String atMostDaily();
+
+  String atMostHourly();
+
   String autoAcceptRequestToJoin();
 
   String available();
@@ -74,6 +84,8 @@
 
   String away();
 
+  String backgroupChanged();
+
   String backUsedInButton();
 
   String barters();
@@ -134,6 +146,8 @@
 
   String chatWithYourBuddy();
 
+  String checkYourEmailForTheConfirmationLink();
+
   String choose();
 
   String clear();
@@ -158,6 +172,8 @@
 
   String community();
 
+  String confirm();
+
   String confirmNewBuddy();
 
   String confirmPlease();
@@ -212,6 +228,8 @@
 
   String delete();
 
+  String descriptionOfTheAppointment();
+
   String documents();
 
   String donTHaveAnAccount();
@@ -224,8 +242,12 @@
 
   String doYouWantToAddParamToYourContacts();
 
+  String doYouWantToCollaborativelyEditYourMeetingMinutesInANewDocument();
+
   String doYouWantToJoinThisGroup();
 
+  String doYouWantToReloadThisPageToUseParamLanguage();
+
   String doYouWantToWriteAMessageToTheAdministratorsOfThisGroup();
 
   String doYouWantToWriteAMessageToTheMembersOfThisGroup();
@@ -240,8 +262,16 @@
 
   String editAndWriteHereYourFeedback();
 
+  String editTheAppointment();
+
+  String editThisToInsertResizeAndAnnotatenAnynImageFromTheWebTheImageCanBeAnnotatedDoubleClicknOnnItByAnyPar();
+
   String email();
 
+  String emailConfirmationCodeExpired();
+
+  String emailNotifications();
+
   String enterLanguage();
 
   String enterToThisGroupPublicChatRoom();
@@ -250,18 +280,28 @@
 
   String enterToThisRoom();
 
+  String enterYourNewPasswordBelow();
+
   String error();
 
   String errorConfiguringTheTool();
 
+  String errorCreatingGroup();
+
+  String errorRenaming();
+
   String errorSettingTheLogo();
 
   String errorsInfo();
 
+  String esteBlogNoTieneNingnPostCreaUno();
+
   String eurosurAThemeName();
 
   String events();
 
+  String eventsInParam();
+
   String feedbackOfParam();
 
   String finishUsedInButton();
@@ -270,6 +310,8 @@
 
   String giveUsFeedback();
 
+  String goToToday();
+
   String goUpOpenTheContainerFolder();
 
   String greenAThemeName();
@@ -302,16 +344,32 @@
 
   String hisHerNetwork();
 
+  String home();
+
+  String homePageOfParam();
+
   String hostedGroups();
 
+  String howOftenDoYouWantToReceiveEmailNotifications();
+
+  String iDonTNeedEmailNotifications();
+
+  String inbox();
+
   String inDevelopment();
 
   String infoAboutErrors();
 
+  String invalidAddressParam();
+
+  String invalidEmail();
+
   String join();
 
   String joinsIn();
 
+  String joinUsInParamPublicRoom();
+
   String keywordsOrTermsAssociatedWithThisGroup();
 
   String kuneDevelopmentSite();
@@ -340,6 +398,8 @@
 
   String longTermTasks();
 
+  String lostYourPassword();
+
   String makeThisListNotPublic();
 
   String makeThisListPublic();
@@ -358,6 +418,8 @@
 
   String memberAddedAsCollaborator();
 
+  String memberRejected();
+
   String memberRemoved();
 
   String membershipRequestedWaitingForAdminsDecision();
@@ -372,6 +434,8 @@
 
   String moderateRequestToJoin();
 
+  String month();
+
   String more();
 
   String moving();
@@ -400,6 +464,8 @@
 
   String newGadget();
 
+  String newImage();
+
   String newImageAndLetsAnnotate();
 
   String newImagePainter();
@@ -412,6 +478,8 @@
 
   String newMeeting();
 
+  String newMeetPlaner();
+
   String newMembersPolicy();
 
   String newMindmap();
@@ -440,10 +508,18 @@
 
   String newYoutubeVideo();
 
+  String next();
+
   String nextUsedInButton();
 
   String no();
 
+  String noHayListasCrearUna();
+
+  String noResults();
+
+  String noSeHaPublicadoNadaTodavaPublicaAlgo();
+
   String notes();
 
   String notPublishedYet();
@@ -468,6 +544,8 @@
 
   String onlyMembers();
 
+  String onlyMembersCanUpdateEvents();
+
   String onlyToAuthorizedTranslators();
 
   String onlyYou();
@@ -480,12 +558,16 @@
 
   String openArchive();
 
+  String openTheAppointment();
+
   String openTheConversationsArchiveOfThisRoom();
 
   String options();
 
   String organization();
 
+  String otherErrorTryingToVerifyYourPassword();
+
   String otherKindOfLicenses();
 
   String others();
@@ -504,6 +586,10 @@
 
   String paramUnderLicenseParam();
 
+  String participate();
+
+  String participateInTheEditionOfThisPage();
+
   String password();
 
   String passwordChangedSuccessfully();
@@ -516,6 +602,10 @@
 
   String pleaseCopyPasteThisInfoToReportProblems();
 
+  String pleaseEnterYourEmailAddressYouWillReceiveALinkToCreateANewPasswordViaEmail();
+
+  String pleaseSignInAgain();
+
   String pleaseSignInOrRegisterToCreateAGroup();
 
   String pleaseSignInOrRegisterToGetFullAccessToParamToolsAndContents();
@@ -528,6 +618,8 @@
 
   String preview();
 
+  String previous();
+
   String processing();
 
   String project();
@@ -562,6 +654,8 @@
 
   String removedAsMember();
 
+  String removeThisAppointment();
+
   String removeThisMember();
 
   String renaming();
@@ -570,6 +664,10 @@
 
   String requestToJoinInThisGroup();
 
+  String resendVerificationEmail();
+
+  String resetYourPassword();
+
   String rightNowThePublicWebSpaceOfThisGroupItSUnderConstruction();
 
   String saharaAThemeName();
@@ -620,10 +718,16 @@
 
   String signIn();
 
+  String signInOrCreateAnAccountToAccessToThisRoom();
+
   String signInOrCreateAnAccountToAccessToYourInbox();
 
+  String signInOrCreateAnAccountToGiveUsFeedback();
+
   String signInOrCreateAnAccountToParticipateInThisGroup();
 
+  String signInOrCreateAnAccountToSusbscribeToThisList();
+
   String signInOrRegisterToHelpWithTheTranslation();
 
   String signInToCollaborate();
@@ -674,22 +778,34 @@
 
   String thePasswordMustBeBetween6And40Characters();
 
+  String thereIsNothingPostedYet();
+
   String thereIsNothingPostedYetPostSomething();
 
   String thereIsnTAnyBarter();
 
+  String thereIsnTAnyBarterYouCanCreateSomeHere();
+
+  String thereIsnTAnyBlog();
+
   String thereIsnTAnyBlogCreateOne();
 
+  String thereIsnTAnyList();
+
   String thereIsnTAnyListCreateOne();
 
   String thereIsnTAnyMeeting();
 
+  String thereIsnTAnyMeetingCreateOne();
+
   String thereIsnTAnyTaskCreateOne();
 
   String theSocialNetworkOfThisUserIsNotPublic();
 
   String theUsernamePasswordIsIncorrect();
 
+  String thisBlogHasnTAnyPost();
+
   String thisBlogHasnTAnyPostCreateOne();
 
   String thisDemoOfKune();
@@ -698,6 +814,10 @@
 
   String thisFolderIsEmpty();
 
+  String thisFolderIsEmptyCreateSomeWikipageOrFolder();
+
+  String thisFolderIsEmptyYouCanCreateSomeDocumentOrFolderHere();
+
   String thisIsACopyleftLicense();
 
   String thisIsAnOrphanedProjectIfYouAreInterestedInContributingPleaseRequestToJoin();
@@ -760,6 +880,8 @@
 
   String to();
 
+  String today();
+
   String toHelpWithTheTranslationOfThisSoftwarePleaseContactBeforeWithThisSiteAdministrators();
 
   String toJoinAChatroomYouNeedToBeOnline();
@@ -796,6 +918,8 @@
 
   String userOptions();
 
+  String userParamSaysParam();
+
   String usersAndGroupsCollaboratingInThisGroup();
 
   String userSpaceItShowsAListOfAllDocumentsAndContentsInWhichYouParticipate();
@@ -862,16 +986,22 @@
 
   String youCanChangeThisLicenseLater();
 
+  String youCanCollaborativelyEditTheMeetingMinutesShownInThisDocument();
+
   String youCanCollaborativelyEditThisDocumentWithTheMeetingMinutes();
 
   String youCannotDisableThisToolBecauseItSWhereYourHomePageIsLocatedToDoThatYouHaveToSelectOtherContentAsThe();
 
   String youCannotWriteToNonBuddies();
 
+  String youCanResizeTheAboveTextarea();
+
   String youDidNotSignInSoYouCanJustSeeSomePublicContentsInParamButNotEditOrCollaborateWithOthersPleaseParamO();
 
   String youDoNotHaveRightsToPerformThatAction();
 
+  String yourEmailIsNotVerifiedSoYouWillNotReceiveEmailNotifications();
+
   String yourGroups();
 
   String yourHomepage();
@@ -880,6 +1010,15 @@
 
   String yourLanguage();
 
+  String yourPasswordHasBeenResetSignIn();
+
   String yourPreferences();
 
+  String youWillNoReceiveAnEmailWithAnyNewMessagesInYourInboxAtParam();
+
+  String youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAlmostImmediately();
+
+  String youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostDaily();
+
+  String youWillReceiveAnEmailWithAnyNewMessagesInYourInboxAtParamAtMostHourly();
 }

Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants.properties	2012-02-29 10:13:51 UTC (rev 1722)
@@ -465,10 +465,7 @@
 inbox = Inbox
 today = Today
 goToToday = Go To Today
-1Day = 1 Day
-3Days = 3 Days
 previous = Previous
-7Days = 7 Days
 month = Month
 next = Next
 userParamSaysParam = User [%s] says «[%s]»
@@ -514,4 +511,9 @@
 invalidEmail = Invalid email
 onlyMembersCanUpdateEvents = Only members can update events
 backgroupChanged = Backgroup changed
-checkYourEmailForTheConfirmationLink = Check your email for the confirmation link
\ No newline at end of file
+checkYourEmailForTheConfirmationLink = Check your email for the confirmation link
+openTheAppointment = Open the appointment
+eventsInParam = Events in [%s]
+participateInTheEditionOfThisPage = Participate in the edition of this page
+signInOrCreateAnAccountToSusbscribeToThisList = Sign in or create an account to susbscribe to this list
+joinUsInParamPublicRoom = Join us in [%s] public room!
\ No newline at end of file

Modified: trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties
===================================================================
--- trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/client/i18n/KuneConstants_es.properties	2012-02-29 10:13:51 UTC (rev 1722)
@@ -472,6 +472,7 @@
 month = Mes
 next = Siguiente
 userParamSaysParam = El usuario/a [%s] dice «[%s]»
+0 = 0
 signInOrCreateAnAccountToAccessToThisRoom = Entra o crea una cuenta para acceder a esta sala
 editTheAppointment = Edita la cita
 addAnAppointment = Añade una cita
@@ -513,4 +514,9 @@
 invalidEmail = Correo electrónico inválido
 onlyMembersCanUpdateEvents = Sólo los miembros pueden actualizar eventos
 backgroupChanged = Fondo cambiado
-checkYourEmailForTheConfirmationLink = Comprueba tu correo para el enlace de confirmación
\ No newline at end of file
+checkYourEmailForTheConfirmationLink = Comprueba tu correo para el enlace de confirmación
+openTheAppointment = Abre el evento
+eventsInParam = c
+participateInTheEditionOfThisPage = Participa en la edición de esta página
+signInOrCreateAnAccountToSusbscribeToThisList = Entra o regístrate para suscribirte a esta lista
+joinUsInParamPublicRoom = ¡Unete a nosotros en la sala pública de [%s]!
\ No newline at end of file

Modified: trunk/src/main/java/cc/kune/core/client/sn/AbstractSNPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/sn/AbstractSNPanel.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/client/sn/AbstractSNPanel.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -56,7 +56,7 @@
 
   private final static int AVATARLABELMAXSIZE = 4;
   private final static int AVATARSIZE = 22;
-  private final static String CATEG_HEIGHT = "84px";
+  private final static String CATEG_HEIGHT = "86px";
   private final static String CATEG_MIN_HEIGHT = "57px";
   private static AbstractSNPanelUiBinder uiBinder = GWT.create(AbstractSNPanelUiBinder.class);
   protected final ActionSimplePanel actions;

Modified: trunk/src/main/java/cc/kune/core/public/ws.css
===================================================================
--- trunk/src/main/java/cc/kune/core/public/ws.css	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/public/ws.css	2012-02-29 10:13:51 UTC (rev 1722)
@@ -366,7 +366,7 @@
 .k-btn-sitebar,.k-btn-sitebar button,.k-sitebar button,.k-btn-sitebar div,.k-btn-sitebar button div,.k-sitebar button div
   {
   font: 13px 'Ubuntu', arial;
-  color: #B3B3B3;
+  color: #999;
   cursor: pointer;
   white-space: nowrap;
   background: none;
@@ -378,7 +378,7 @@
 .k-sitebar-wave-status {
   font: 13px 'Ubuntu', arial;
   /* font-weight: bold; */
-  color: #B3B3B3;
+  color: #999;
   white-space: nowrap;
   background: none;
   border: 0px;
@@ -1262,7 +1262,7 @@
   border: 1px solid #E4A374;
   margin: 1px 6px 0 3px;
   padding-left: 1px;
-  color: #B3B3B3;
+  color: #999;
   background: transparent;
   -moz-border-radius: 3px;
   -webkit-border-radius: 3px;

Modified: trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/core/server/content/ContentManagerDefault.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -163,7 +163,7 @@
   public boolean addParticipants(final User user, final Long contentId, final Group group,
       final SocialNetworkSubGroup whichOnes) {
     final Set<String> members = new HashSet<String>();
-    GroupServerUtils.getAllUserMembersAsString(members, group, SocialNetworkSubGroup.admins);
+    GroupServerUtils.getAllUserMembersAsString(members, group, whichOnes);
     final Content content = finder.getContent(contentId);
     return addParticipants(user, content, members.toArray(new String[members.size()]));
   }

Modified: trunk/src/main/java/cc/kune/events/client/actions/Calendar1DayViewSelectBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/Calendar1DayViewSelectBtn.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/events/client/actions/Calendar1DayViewSelectBtn.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -10,7 +10,7 @@
   @Inject
   public Calendar1DayViewSelectBtn(final CalendarViewSelectAction action,
       final I18nTranslationService i18n) {
-    super(action, i18n.t("1 Day"), 1, CalendarViews.DAY);
+    super(action, i18n.t("[%d] Day", 1), 1, CalendarViews.DAY);
   }
 
 }

Modified: trunk/src/main/java/cc/kune/events/client/actions/Calendar3DaysViewSelectBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/Calendar3DaysViewSelectBtn.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/events/client/actions/Calendar3DaysViewSelectBtn.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -10,7 +10,7 @@
   @Inject
   public Calendar3DaysViewSelectBtn(final CalendarViewSelectAction action,
       final I18nTranslationService i18n) {
-    super(action, i18n.t("3 Days"), 3, CalendarViews.DAY);
+    super(action, i18n.t("[%d] Days", 3), 3, CalendarViews.DAY);
   }
 
 }

Modified: trunk/src/main/java/cc/kune/events/client/actions/Calendar7DaysViewSelectBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/Calendar7DaysViewSelectBtn.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/events/client/actions/Calendar7DaysViewSelectBtn.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -10,7 +10,7 @@
   @Inject
   public Calendar7DaysViewSelectBtn(final CalendarViewSelectAction action,
       final I18nTranslationService i18n) {
-    super(action, i18n.t("7 Days"), 7, CalendarViews.DAY);
+    super(action, i18n.t("[%d] Days", 7), 7, CalendarViews.DAY);
   }
 
 }

Modified: trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/events/client/viewer/CalendarViewerPresenter.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -15,7 +15,6 @@
 import cc.kune.common.shared.utils.TextUtils;
 import cc.kune.core.client.rpcservices.ContentServiceAsync;
 import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
 import cc.kune.core.shared.domain.utils.StateToken;
 import cc.kune.core.shared.dto.HasContent;
 import cc.kune.core.shared.dto.StateEventContainerDTO;
@@ -115,18 +114,16 @@
   private Date onOverDate;
   private final CalendarOnOverMenu onOverMenu;
   private final Session session;
-  private final StateManager stateManager;
 
   @Inject
   public CalendarViewerPresenter(final EventBus eventBus, final CalendarViewerView view,
       final CalendarViewerProxy proxy, final FolderViewerUtils folderViewerUtils,
-      final CalendarOnOverMenu onOverMenu, final Session session, final StateManager stateManager,
-      final I18nTranslationService i18n, final Provider<ContentServiceAsync> contentService) {
+      final CalendarOnOverMenu onOverMenu, final Session session, final I18nTranslationService i18n,
+      final Provider<ContentServiceAsync> contentService) {
     super(eventBus, view, proxy);
     this.folderViewerUtils = folderViewerUtils;
     this.onOverMenu = onOverMenu;
     this.session = session;
-    this.stateManager = stateManager;
     this.i18n = i18n;
     this.contentService = contentService;
     addListeners();

Modified: trunk/src/main/java/cc/kune/gspace/client/armor/impl/GSpaceArmorImpl.ui.xml
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/armor/impl/GSpaceArmorImpl.ui.xml	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/gspace/client/armor/impl/GSpaceArmorImpl.ui.xml	2012-02-29 10:13:51 UTC (rev 1722)
@@ -94,7 +94,7 @@
                 </g:DockLayoutPanel>
               </g:center>
               <!-- east to RTL (plus css changes in corners and menus) -->
-              <g:west size="200.0">
+              <g:west size="202.0">
                 <g:DockLayoutPanel unit="PX"
                   styleName="{res.style.entityTools}" ui:field="splitEast">
                   <g:center>

Modified: trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPanel.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/gspace/client/options/tools/EntityOptToolsPanel.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -68,7 +68,7 @@
   public void add(final ToolSimpleDTO tool, final boolean enabled, final boolean checked,
       final ClickHandler handler) {
     final CheckBox checkbox = new CheckBox();
-    checkbox.setFieldLabel(tool.getRootName());
+    checkbox.setFieldLabel(i18n.t(tool.getRootName()));
     // checkbox.setFireChangeEventOnSetValue(false);
     checkbox.setValue(checked);
     setEnabled(checkbox, enabled);

Modified: trunk/src/main/java/cc/kune/tasks/client/TasksClientTool.java
===================================================================
--- trunk/src/main/java/cc/kune/tasks/client/TasksClientTool.java	2012-02-29 01:05:01 UTC (rev 1721)
+++ trunk/src/main/java/cc/kune/tasks/client/TasksClientTool.java	2012-02-29 10:13:51 UTC (rev 1722)
@@ -75,10 +75,11 @@
     registerContentTypeIcon(TYPE_TASK, navResources.task());
     registerContentTypeIcon(TYPE_TASK, ContentStatus.inTheDustbin, navResources.taskdone());
     final String noTaskLogged = i18n.t(NO_TASK + ", create one");
+    final String noTaskNotLogged = i18n.t(NO_TASK);
     registerEmptyMessages(TYPE_ROOT, noTaskLogged);
     registerEmptyMessages(TYPE_FOLDER, noTaskLogged);
-    registerEmptyMessagesNotLogged(TYPE_ROOT, NO_TASK);
-    registerEmptyMessagesNotLogged(TYPE_FOLDER, NO_TASK);
+    registerEmptyMessagesNotLogged(TYPE_ROOT, noTaskNotLogged);
+    registerEmptyMessagesNotLogged(TYPE_FOLDER, noTaskNotLogged);
     registerShowDeleted(TYPE_FOLDER, TYPE_ROOT, TYPE_TASK);
   }
 




More information about the kune-commits mailing list