Skip to content

Commit bca5d20

Browse files
authored
Fix SharedResource warnings (#19910)
1 parent 860d795 commit bca5d20

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aspnetcore/fundamentals/localization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The code above demonstrates each of the two factory create methods.
5050

5151
You can partition your localized strings by controller, area, or have just one container. In the sample app, a dummy class named `SharedResource` is used for shared resources.
5252

53-
[!code-csharp[](localization/sample/3.x/Localization/Resources/SharedResource.cs)]
53+
[!code-csharp[](localization/sample/3.x/Localization/SharedResource.cs)]
5454

5555
Some developers use the `Startup` class to contain global or shared strings. In the sample below, the `InfoController` and the `SharedResource` localizers are used:
5656

@@ -404,7 +404,7 @@ The code above demonstrates each of the two factory create methods.
404404

405405
You can partition your localized strings by controller, area, or have just one container. In the sample app, a dummy class named `SharedResource` is used for shared resources.
406406

407-
[!code-csharp[](localization/sample/3.x/Localization/Resources/SharedResource.cs)]
407+
[!code-csharp[](localization/sample/3.x/Localization/SharedResource.cs)]
408408

409409
Some developers use the `Startup` class to contain global or shared strings. In the sample below, the `InfoController` and the `SharedResource` localizers are used:
410410

@@ -759,7 +759,7 @@ The code above demonstrates each of the two factory create methods.
759759

760760
You can partition your localized strings by controller, area, or have just one container. In the sample app, a dummy class named `SharedResource` is used for shared resources.
761761

762-
[!code-csharp[](localization/sample/3.x/Localization/Resources/SharedResource.cs)]
762+
[!code-csharp[](localization/sample/3.x/Localization/SharedResource.cs)]
763763

764764
Some developers use the `Startup` class to contain global or shared strings. In the sample below, the `InfoController` and the `SharedResource` localizers are used:
765765

0 commit comments

Comments
 (0)