mirror of
https://github.com/rjNemo/rentease.git
synced 2026-06-06 02:36:49 +00:00
16 lines
207 B
Go
16 lines
207 B
Go
package config
|
|
|
|
type Platform string
|
|
|
|
func (p Platform) ToFrench() string {
|
|
switch p {
|
|
case "Other":
|
|
return "Direct"
|
|
default:
|
|
return string(p)
|
|
}
|
|
}
|
|
|
|
type Translatable interface {
|
|
ToFrench() string
|
|
}
|