[UPDATE]
In der Klasse ccm-cms/src/com/arsdigita/cms/ui/authoring/TextAssetBody.java die FormProcessException in der Zeile 408 umgebaut und cms.ui.authoring.html_file_missing_body_tag den Properties hinzugefügt. git-svn-id: https://svn.libreccm.org/ccm/trunk@3177 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b1941b689c
commit
94838d1347
|
|
@ -1105,3 +1105,4 @@ cms.dataqueryexistslistener.error=Error on validating the data query
|
|||
cms.ui.authoring.invalid_file_type=Files with invalide type connot be loaded into the article body
|
||||
cms.ui.authoring.couldnt_convert_missing_inso=Could not convert to html format because interMedia INSO filter is not installed
|
||||
cms.ui.authoring.couldnt_convert_inso_failed=Could not convert to html format because interMedia INSO filter conversion failed
|
||||
cms.ui.authoring.html_file_missing_body_tags=The file (which should be type HTML) is missing the <body> or </body> tag.
|
||||
|
|
|
|||
|
|
@ -1099,3 +1099,4 @@ cms.dataqueryexistslistener.error=Fehler beim Best\u00e4tigen der Datenabfrage
|
|||
cms.ui.authoring.invalid_file_type=Dateien mit ung\u00fcltigem Typ k\u00f6nnen nicht in den Artikel geladen werden
|
||||
cms.ui.authoring.couldnt_convert_missing_inso=Konnte nicht ins html Format umgewandelt werden, da der interMedia INSO Filter nicht installiert ist
|
||||
cms.ui.authoring.couldnt_convert_inso_failed=Konnte nicht ins html Format umgewandelt werden, da die interMedia INSO Umwandlung fehlschlug
|
||||
cms.ui.authoring.html_file_missing_body_tags=Der Datei (vom Type HTML) fehlt der <body> oder </body> Tag
|
||||
|
|
|
|||
|
|
@ -143,3 +143,4 @@ cms.dataqueryexistslistener.error=
|
|||
cms.ui.authoring.invalid_file_type=
|
||||
cms.ui.authoring.couldnt_convert_missing_inso=
|
||||
cms.ui.authoring.couldnt_convert_inso_failed=
|
||||
cms.ui.authoring.html_file_missing_body_tags=
|
||||
|
|
|
|||
|
|
@ -615,3 +615,4 @@ cms.dataqueryexistslistener.error=Erreur sur la validation de la requ\u00eate de
|
|||
cms.ui.authoring.invalid_file_type=Fichiers de type invalide connot \u00eatre charg\u00e9s dans le corps de l'article
|
||||
cms.ui.authoring.couldnt_convert_missing_inso=Impossible de convertir au format HTML car le filtre interMedia INSO n'est pas install\u00e9
|
||||
cms.ui.authoring.couldnt_convert_inso_failed=Impossible de convertir au format HTML car la conversion de filtre interMedia INSO a \u00e9chou\u00e9
|
||||
cms.ui.authoring.html_file_missing_body_tags=Le fichier (qui devrait \u00eatre de type HTML) est absent de la <body> ou </ body>
|
||||
|
|
|
|||
|
|
@ -405,10 +405,7 @@ public abstract class TextAssetBody extends SecurityPropertyEditor
|
|||
int bodyStart_v = lc.indexOf(">", bodyStart);
|
||||
int bodyEnd = lc.indexOf("</body>", bodyStart_v);
|
||||
if (bodyStart == -1 || bodyEnd == -1) {
|
||||
final String errMsg =
|
||||
"The file (which should be type "
|
||||
+ "HTML) is missing the <body> or </body> tag.";
|
||||
throw new FormProcessException(errMsg);
|
||||
throw new FormProcessException(GlobalizationUtil.globalize("cms.ui.authoring.html_file_missing_body_tags"));
|
||||
}
|
||||
return htmlText.substring(bodyStart_v + 1, bodyEnd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue