mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixes ALF-10615: Channel names must be in correct case in Social Publishing UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="facebookChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.facebook.facebook-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="facebookDeliveryChannelType" class="org.alfresco.repo.publishing.facebook.FacebookChannelType" parent="baseChannelType">
|
<bean id="facebookDeliveryChannelType" class="org.alfresco.repo.publishing.facebook.FacebookChannelType" parent="baseChannelType">
|
||||||
<property name="publishingHelper" ref="facebookPublishingHelper" />
|
<property name="publishingHelper" ref="facebookPublishingHelper" />
|
||||||
</bean>
|
</bean>
|
||||||
|
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="flickrChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.flickr.flickr-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="flickrDeliveryChannelType" class="org.alfresco.repo.publishing.flickr.FlickrChannelType" parent="baseChannelType" >
|
<bean id="flickrDeliveryChannelType" class="org.alfresco.repo.publishing.flickr.FlickrChannelType" parent="baseChannelType" >
|
||||||
<property name="connectionFactory" ref="flickrConnectionFactory" />
|
<property name="connectionFactory" ref="flickrConnectionFactory" />
|
||||||
<property name="taggingService" ref="TaggingService" />
|
<property name="taggingService" ref="TaggingService" />
|
||||||
|
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="linkedinChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.linkedin.linkedin-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="linkedInDeliveryChannelType" class="org.alfresco.repo.publishing.linkedin.LinkedInChannelType" parent="baseChannelType">
|
<bean id="linkedInDeliveryChannelType" class="org.alfresco.repo.publishing.linkedin.LinkedInChannelType" parent="baseChannelType">
|
||||||
<property name="nodeService" ref="NodeService" />
|
<property name="nodeService" ref="NodeService" />
|
||||||
<property name="connectionFactory" ref="linkedinConnectionFactory" />
|
<property name="connectionFactory" ref="linkedinConnectionFactory" />
|
||||||
|
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="slideshareChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.slideshare.slideshare-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="slidesharePublishingHelper" class="org.alfresco.repo.publishing.slideshare.SlideSharePublishingHelper">
|
<bean id="slidesharePublishingHelper" class="org.alfresco.repo.publishing.slideshare.SlideSharePublishingHelper">
|
||||||
<property name="slideshareConnector" ref="slideshareApiConnector" />
|
<property name="slideshareConnector" ref="slideshareApiConnector" />
|
||||||
<property name="encryptor" ref="metadataEncryptor" />
|
<property name="encryptor" ref="metadataEncryptor" />
|
||||||
|
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="twitterChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.twitter.twitter-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="twitterDeliveryChannelType" class="org.alfresco.repo.publishing.twitter.TwitterChannelType" parent="baseChannelType" >
|
<bean id="twitterDeliveryChannelType" class="org.alfresco.repo.publishing.twitter.TwitterChannelType" parent="baseChannelType" >
|
||||||
<property name="nodeService" ref="NodeService" />
|
<property name="nodeService" ref="NodeService" />
|
||||||
<property name="connectionFactory">
|
<property name="connectionFactory">
|
||||||
|
@@ -10,6 +10,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
|
<bean id="youtubeChannelMessageBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||||
|
<property name="resourceBundles">
|
||||||
|
<list>
|
||||||
|
<value>org.alfresco.repo.publishing.youtube.youtube-publishing</value>
|
||||||
|
</list>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="youtubePublishingHelper" class="org.alfresco.repo.publishing.youtube.YouTubePublishingHelper">
|
<bean id="youtubePublishingHelper" class="org.alfresco.repo.publishing.youtube.YouTubePublishingHelper">
|
||||||
<property name="encryptor" ref="metadataEncryptor" />
|
<property name="encryptor" ref="metadataEncryptor" />
|
||||||
</bean>
|
</bean>
|
||||||
|
@@ -35,6 +35,7 @@ import org.alfresco.service.namespace.QName;
|
|||||||
import org.alfresco.util.ParameterCheck;
|
import org.alfresco.util.ParameterCheck;
|
||||||
import org.springframework.core.io.ClassPathResource;
|
import org.springframework.core.io.ClassPathResource;
|
||||||
import org.springframework.core.io.Resource;
|
import org.springframework.core.io.Resource;
|
||||||
|
import org.springframework.extensions.surf.util.I18NUtil;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Nick Smith
|
* @author Nick Smith
|
||||||
@@ -77,6 +78,13 @@ public abstract class AbstractChannelType implements ChannelType, ChannelTypePub
|
|||||||
this.nodeService = nodeService;
|
this.nodeService = nodeService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getTitle()
|
||||||
|
{
|
||||||
|
String title = I18NUtil.getMessage("publishing.channel-type." + getId() + ".title");
|
||||||
|
return title == null ? getId() : title;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.facebook.title=Facebook
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.flickr.title=Flickr
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.linkedin.title=LinkedIn
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.slideshare.title=SlideShare
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.twitter.title=Twitter
|
@@ -0,0 +1 @@
|
|||||||
|
publishing.channel-type.youtube.title=YouTube
|
@@ -40,6 +40,13 @@ public interface ChannelType
|
|||||||
*/
|
*/
|
||||||
String getId();
|
String getId();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the title (display name) of this channel type.
|
||||||
|
* The title may be localised, but this is implementation specific
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
String getTitle();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Each channel is stored in the repository as a node. This operation returns
|
* Each channel is stored in the repository as a node. This operation returns
|
||||||
* the qualified name of the type of that node.
|
* the qualified name of the type of that node.
|
||||||
|
Reference in New Issue
Block a user