SPC019903: Remove spaces from resource keys |
SPC019903: Remove spaces from resource keys |
If attributes in SharePoint elements are localized with resources the resource key cannot contains spaces.
TypeName: | RemoveSpacesFromResourceKey |
CheckId: | SPC019903 |
Severity: | CriticalWarning |
Type: | LocalizableProperty |
If attributes in SharePoint elements are localized with resources the resource key must be defined with the following pattern:
$Resources:BaseFileName,ResourceName
The dollar sign ($) indicates that an expression follows. The prefix 'Resources' indicates the type of expression. The suffix after the colon (:) is the expression value to resolve. The first part of the value is the base file name for a resource file. The part that follows the comma is the name of the localized string to retrieve from the file.
No spaces are allowed anywhere in the expression.
Note: You might see resource expressions that end with a semicolon (;). This delimiter is acceptable but is not required by SharePoint Foundation 2010.
Copyright © 2013 RENCORE AB. All Rights Reserved
Disclaimer: The views and opinions expressed in this documentation and in SPCAF are those of the creators and do not necessarily reflect the opinions and recommendations of Microsoft or any member of Microsoft. All trademarks, service marks, collective marks, copyrights, registered names, and marks used or cited by this documentation are the property of their respective owners. SharePoint Code Analysis Framework, Version 4.5.2.7855, see www.spcaf.com for more information |