private String getTranslatedString() {
		if (codeUnit instanceof Data data && StringDataInstance.isString(data)) {
			StringDataInstance sdi = StringDataInstance.getStringDataInstance(data);
			if (sdi.hasTranslatedValue()) {
				// show the translated value
				return sdi.getStringRepresentation(sdi.isShowTranslation());
			}
		}
		return null;
	}
Returns the number of comments that can be added before reaching the maximum number of
comments
@return the number of comments
Ghidra/Features/Base/src/main/java/ghidra/app/util/EolComments.java