This repository has been archived by the owner on Aug 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
192ae99
commit f39eb44
Showing
5 changed files
with
60 additions
and
5 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
Localizable.strings | ||
r2-navigator-swift | ||
|
||
Created by Mickaël Menu on 14.06.19. | ||
|
||
Copyright 2019 Readium Foundation. All rights reserved. | ||
Use of this source code is governed by a BSD-style license which is detailed | ||
in the LICENSE file present in the project repository where this source code is maintained. | ||
*/ | ||
|
||
"R2Navigator.NavigatorError.copyForbidden" = "You exceeded the amount of characters allowed to be copied."; |
17 changes: 17 additions & 0 deletions
17
r2-navigator-swift/Toolkit/R2NavigatorLocalizedString.swift
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// R2NavigatorLocalizedString.swift | ||
// r2-navigator-swift | ||
// | ||
// Created by Mickaël Menu on 14.06.19. | ||
// | ||
// Copyright 2019 Readium Foundation. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license which is detailed | ||
// in the LICENSE file present in the project repository where this source code is maintained. | ||
// | ||
|
||
import Foundation | ||
import R2Shared | ||
|
||
func R2NavigatorLocalizedString(_ key: String, _ values: CVarArg...) -> String { | ||
return R2LocalizedString("R2Navigator.\(key)", in: "org.readium.r2-navigator-swift", values) | ||
} |