mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-19 08:51:06 +00:00
fc02d3c6f7
* update go text, include text/display * [feature] Set instance langs, show post lang on frontend * go fmt * WebGet * set language for whole article, don't use FA icon * mention instance languages + other optional config vars * little tweak * put languages in config properly * warn log language parse * change some naming around * tidy up validate a bit * lint * rename LanguageTmpl in template
12 lines
323 B
Go
12 lines
323 B
Go
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build go1.10
|
|
|
|
package bidirule
|
|
|
|
func (t *Transformer) isFinal() bool {
|
|
return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial
|
|
}
|