Skip to content

Instantly share code, notes, and snippets.

@cwparsons
Created January 14, 2014 20:23
Show Gist options
  • Save cwparsons/8425001 to your computer and use it in GitHub Desktop.
Save cwparsons/8425001 to your computer and use it in GitHub Desktop.
Using JS Link to override out of the box strings in SharePoint 2013
(function() {
// String overrides
function stringOverrides() {
Strings.STS.L_SPDiscHeroLinkFormat = "Create new discussion";
Strings.STS_L.SPDiscSortMyPosts = "Mine";
}
ExecuteOrDelayUntilScriptLoaded(stringOverrides, "initstrings.js");
ExecuteOrDelayUntilScriptLoaded(stringOverrides, "strings.js");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment