Last active
January 17, 2018 12:23
-
-
Save fabianneve/dbc1a780d89a864d5fde4a53171f487a to your computer and use it in GitHub Desktop.
Insert this script into a script editor (in between a script-tag <script type="text/javascript"> ) to change the default label into a custom one.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//self-executing anonymous function | |
(function () { | |
// String overrides | |
function DiscussionListViewStringOverride() { | |
Strings.STS.L_SPDiscHeroLinkAltText = "New Label"; //change "New Label" into your desired one, eg. "Create News" | |
Strings.STS.L_SPDiscHeroLinkFormat = "New Label"; //change "New Label" into your desired one, eg. "Create News" | |
} | |
DiscussionListViewStringOverride(); | |
ExecuteOrDelayUntilScriptLoaded(DiscussionListViewStringOverride, "strings.js"); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment