Kaydet (Commit) 00522357 authored tarafından Caolán McNamara's avatar Caolán McNamara

set default script text in .ui

and move last javascript string into global strings

Change-Id: I51f0e18e77ab1696d5b70c98698b81ac6122f970
üst 1a622833
......@@ -138,7 +138,6 @@ $(eval $(call gb_SrsTarget_add_files,sw/res,\
sw/source/ui/fldui/fldui.src \
sw/source/ui/fldui/fldvar.src \
sw/source/ui/fldui/inpdlg.src \
sw/source/ui/fldui/javaedit.src \
sw/source/ui/fmtui/tmpdlg.src \
sw/source/ui/frmdlg/column.src \
sw/source/ui/frmdlg/cption.src \
......
......@@ -54,13 +54,15 @@
#define STR_TOP_BASE (RC_GLOBALS_BEGIN + 30)
#define STR_BOTTOM_BASE (RC_GLOBALS_BEGIN + 31)
#define STR_CENTER_BASE (RC_GLOBALS_BEGIN + 32)
#define STR_TOP (RC_GLOBALS_BEGIN + 33)
#define STR_BOTTOM (RC_GLOBALS_BEGIN + 34)
#define STR_CENTER_HORI (RC_GLOBALS_BEGIN + 35)
#define STR_CENTER_VERT (RC_GLOBALS_BEGIN + 36)
#define STR_TOP (RC_GLOBALS_BEGIN + 33)
#define STR_BOTTOM (RC_GLOBALS_BEGIN + 34)
#define STR_CENTER_HORI (RC_GLOBALS_BEGIN + 35)
#define STR_CENTER_VERT (RC_GLOBALS_BEGIN + 36)
#define STR_LOAD_HTML_DOC (RC_GLOBALS_BEGIN + 37)
#define STR_JAVA_EDIT (RC_GLOBALS_BEGIN + 38)
// DIALOGS -----------------------------------------------------------
#define DLG_THESAURUS (RC_GLOBALS_BEGIN + 2)
......
......@@ -224,6 +224,12 @@ String STR_LOAD_HTML_DOC
Text [ en-US ] = "Name and Path of the HTML Document" ;
};
String STR_JAVA_EDIT
{
Text [ en-US ] = "Edit Script" ;
};
InfoBox MSG_ERROR_SEND_MAIL
{
BUTTONS = WB_OK ;
......
......@@ -43,7 +43,7 @@
#include <javaedit.hxx>
#include <fldui.hrc>
#include <javaedit.hrc>
#include <globals.hrc>
using namespace ::com::sun::star;
......
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef _SW_JAVAEDIT_HRC
#define _SW_JAVAEDIT_HRC
#define STR_JAVA_EDIT 17
#endif
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#include "javaedit.hrc"
#include "fldui.hrc"
#include "helpid.h"
String STR_JAVA_EDIT
{
Text [ en-US ] = "Edit Script" ;
};
......@@ -35,6 +35,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char"></property>
<property name="text" translatable="yes">JavaScript</property>
<property name="invisible_char_set">True</property>
</object>
<packing>
......@@ -54,7 +55,6 @@
<property name="halign">start</property>
<property name="use_action_appearance">False</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">text</property>
</object>
......@@ -107,6 +107,7 @@
<property name="halign">start</property>
<property name="use_action_appearance">False</property>
<property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">url</property>
</object>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment