Initial community commit
This commit is contained in:
30
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.plural.md
vendored
Normal file
30
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/string.plural.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
Returns a plural version of the provided string.
|
||||
|
||||
```lua
|
||||
pl = string.plural("str")
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`str` is the string to be made plural.
|
||||
|
||||
|
||||
### Return Value ###
|
||||
|
||||
A plural version of the provided string.
|
||||
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
|
||||
### Examples ###
|
||||
|
||||
```lua
|
||||
-- returns "projects"
|
||||
pl = string.plural("project")
|
||||
|
||||
-- returns "stories"
|
||||
pl = string.plural("story")
|
||||
```
|
||||
Reference in New Issue
Block a user