mirror of
https://github.com/tonytins/cstdotnet.git
synced 2025-03-22 08:22:18 +00:00
Support for funding
- Issue and pull request templates
This commit is contained in:
parent
0e6ba4f99d
commit
ccb4da5b86
5 changed files with 39 additions and 6 deletions
17
.github/ISSUE_TEMPLATE.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
## Expected Behavior
|
||||||
|
|
||||||
|
|
||||||
|
## Actual Behavior
|
||||||
|
|
||||||
|
|
||||||
|
## Steps to Reproduce the Problem
|
||||||
|
|
||||||
|
1.
|
||||||
|
1.
|
||||||
|
1.
|
||||||
|
|
||||||
|
## Specifications
|
||||||
|
|
||||||
|
- Version:
|
||||||
|
- Platform:
|
||||||
|
- Subsystem:
|
7
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
7
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Fixes
|
||||||
|
|
||||||
|
## Proposed Changes
|
||||||
|
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-
|
2
.github/funding.yml
vendored
Normal file
2
.github/funding.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
ko_fi: tonytins
|
||||||
|
github: tonytins
|
4
.github/workflows/dotnet.yml
vendored
4
.github/workflows/dotnet.yml
vendored
|
@ -2,9 +2,9 @@ name: .NET
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master, develop]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master, develop]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
15
README.md
15
README.md
|
@ -2,11 +2,14 @@
|
||||||
|
|
||||||
[](https://opensource.org/licenses/MIT) [](code_of_conduct.md)
|
[](https://opensource.org/licenses/MIT) [](code_of_conduct.md)
|
||||||
|
|
||||||
Caret-Separated Text (or CST) is a key-value pair format represented by numbers or words as keys and the value is the string enclosed between carets (^) that contains the contents. CST.NET is a library for parsing the CST format.
|
Caret-Separated Text (or CST) is a key-value pair format represented by numbers or words as keys and the value is the string enclosed between carets (^) that contains the contents. Any text which is not enclosed with carets is considered a comment and ignored. Neither strings nor comments may use the caret character.
|
||||||
|
|
||||||
|
CST.NET is a library for parsing the CST format.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
|
#r "nuget:CSTNet,1.0.0"
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using CSTNet;
|
using CSTNet;
|
||||||
|
@ -19,15 +22,19 @@ Console.WriteLine(example);
|
||||||
|
|
||||||
In production, CST files were used in The Sims Online to provide translations. Each translation was split into their respective directories:
|
In production, CST files were used in The Sims Online to provide translations. Each translation was split into their respective directories:
|
||||||
|
|
||||||
- ``uitext/english.dir/hints/toolbar.cst``
|
- ``uitext/english.dir/hints/_154_miscstrings.cst``
|
||||||
- ``uitext/swedish.dir/hints/toolbar.cst``
|
- ``uitext/swedish.dir/hints/_154_miscstrings.cst``
|
||||||
|
|
||||||
As long as the key remained the same, it didn't matter what directory the file was located in.
|
CST.NET only provides the basic parsing functionality.
|
||||||
|
|
||||||
## To-do
|
## To-do
|
||||||
|
|
||||||
- [ ] Support for arguments (e.g. ``%1``)
|
- [ ] Support for arguments (e.g. ``%1``)
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
|
||||||
|
- Reading multiple lines
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue