view src/po/Make_all.mak @ 35039:fbdb6aeca2e2

runtime(java): Improve the recognition of the "style" method declarations Commit: https://github.com/vim/vim/commit/a4c085a3e607bd01d34e1db600b6460fc35fb0a3 Author: Aliaksei Budavei <0x000c70@gmail.com> Date: Wed Apr 24 21:04:25 2024 +0200 runtime(java): Improve the recognition of the "style" method declarations - Request the new regexp engine (v7.3.970) for [:upper:] and [:lower:]. - Recognise declarations of in-line annotated methods. - Recognise declarations of _strictfp_ methods. - Establish partial order for method modifiers as shown in the MethodModifier production; namely, _public_ and friends should be written the leftmost, possibly followed by _abstract_ or _default_, or possibly followed by other modifiers. - Stop looking for parameterisable primitive types (void<?>, int<Object>, etc., are malformed). - Stop looking for arrays of _void_. - Acknowledge the prevailing convention for method names to begin with a small letter and for class/interface names to begin with a capital letter; and, therefore, desist from claiming declarations of enum constants and constructors with javaFuncDef. Rationale: + Constructor is distinct from method: * its (overloaded) name is not arbitrary; * its return type is implicit; * its _throws_ clause depends on indirect vagaries of instance (variable) initialisers; * its invocation makes other constructors of its type hierarchy invoked one by one, concluding with the primordial constructor; * its explicit invocation, via _this_ or _super_, can only appear as the first statement in a constructor (not anymore, see JEP 447); else, its _super_ call cannot appear in constructors of _record_ or _enum_; and neither invocation is allowed for the primordial constructor; * it is not a member of its class, like initialisers, and is never inherited; * it is never _abstract_ or _native_. + Constructor declarations tend to be few in number and merit visual recognition from method declarations. + Enum constants define a fixed set of type instances and more resemble class variable initialisers. Note that the code duplicated for @javaFuncParams is written keeping in mind for g:java_highlight_functions a pending 3rd variant, which would require none of the :syn-cluster added groups. closes: #14620 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 24 Apr 2024 21:15:02 +0200
parents 90a18b7641af
children 04563887d70e
line wrap: on
line source

#
# Common po Makefile, defines the list of languages.
#

LANGUAGES = \
		af \
		ca \
		cs \
		cs.cp1250 \
		da \
		de \
		en_GB \
		eo \
		es \
		fi \
		fr \
		ga \
		hu \
		it \
		ja \
		ja.euc-jp \
		ja.sjis \
		ko \
		ko.UTF-8 \
		lv \
		nb \
		nl \
		no \
		pl \
		pl.UTF-8 \
		pl.cp1250 \
		pt_BR \
		ru \
		ru.cp1251 \
		sk \
		sk.cp1250 \
		sr \
		sv \
		tr \
		uk \
		uk.cp1251 \
		vi \
		zh_CN \
		zh_CN.UTF-8 \
		zh_CN.cp936 \
		zh_TW \
		zh_TW.UTF-8 \


POFILES = \
		af.po \
		ca.po \
		cs.po \
		cs.cp1250.po \
		da.po \
		de.po \
		en_GB.po \
		eo.po \
		es.po \
		fi.po \
		fr.po \
		ga.po \
		hu.po \
		it.po \
		ja.po \
		ja.euc-jp.po \
		ja.sjis.po \
		ko.po \
		ko.UTF-8.po \
		lv.po \
		nb.po \
		nl.po \
		no.po \
		pl.po \
		pl.UTF-8.po \
		pl.cp1250.po \
		pt_BR.po \
		ru.po \
		ru.cp1251.po \
		sk.po \
		sk.cp1250.po \
		sr.po \
		sv.po \
		tr.po \
		uk.po \
		uk.cp1251.po \
		vi.po \
		zh_CN.po \
		zh_CN.UTF-8.po \
		zh_CN.cp936.po \
		zh_TW.po \
		zh_TW.UTF-8.po \


MOFILES = \
		af.mo \
		ca.mo \
		cs.mo \
		da.mo \
		de.mo \
		en_GB.mo \
		eo.mo \
		es.mo \
		fi.mo \
		fr.mo \
		ga.mo \
		hu.mo \
		it.mo \
		ja.mo \
		ko.UTF-8.mo \
		lv.mo \
		nb.mo \
		nl.mo \
		no.mo \
		pl.mo \
		pt_BR.mo \
		ru.mo \
		sk.mo \
		sr.mo \
		sv.mo \
		tr.mo \
		uk.mo \
		vi.mo \
		zh_CN.UTF-8.mo \
		zh_TW.UTF-8.mo \


MOCONVERTED = \
		cs.cp1250.mo \
		ja.euc-jp.mo \
		ja.sjis.mo \
		ko.mo \
		pl.UTF-8.mo \
		pl.cp1250.mo \
		ru.cp1251.mo \
		sk.cp1250.mo \
		uk.cp1251.mo \
		zh_CN.mo \
		zh_CN.cp936.mo \
		zh_TW.mo \


CHECKFILES = \
		af.ck \
		ca.ck \
		cs.ck \
		cs.cp1250.ck \
		da.ck \
		de.ck \
		en_GB.ck \
		eo.ck \
		es.ck \
		fi.ck \
		fr.ck \
		ga.ck \
		hu.ck \
		it.ck \
		ja.ck \
		ja.euc-jp.ck \
		ja.sjis.ck \
		ko.UTF-8.ck \
		ko.ck \
		lv.ck \
		nb.ck \
		nl.ck \
		no.ck \
		pl.UTF-8.ck \
		pl.ck \
		pl.cp1250.ck \
		pt_BR.ck \
		ru.ck \
		ru.cp1251.ck \
		sk.ck \
		sk.cp1250.ck \
		sr.ck \
		sv.ck \
		tr.ck \
		uk.ck \
		uk.cp1251.ck \
		vi.ck \
		zh_CN.UTF-8.ck \
		zh_CN.ck \
		zh_CN.cp936.ck \
		zh_TW.UTF-8.ck \
		zh_TW.ck \

PO_VIM_INPUTLIST = \
	../../runtime/optwin.vim \
	../../runtime/defaults.vim

PO_VIM_JSLIST = \
	optwin.js \
	defaults.js

# Arguments for xgettext to pick up messages to translate from the source code.
XGETTEXT_KEYWORDS = --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 --keyword=PLURAL_MSG:2,4