//
// BEGIN FLOCK GPL
//
// Copyright Flock Inc. 2005-2009
// http://flock.com
//
// This file may be used under the terms of the
// GNU General Public License Version 2 or later (the "GPL"),
// http://www.gnu.org/licenses/gpl.html
//
// Software distributed under the License is distributed on an "AS IS" basis,
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
// for the specific language governing rights and limitations under the
// License.
//
// END FLOCK GPL
//

// See /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Script.h for language IDs.
data 'LPic' (5000) {
  // Default language ID, 0 = English
  $"0000"
  // Number of entries in list
  $"0001"

  // Entry 1
  // Language ID, 0 = English
  $"0000"
  // Resource ID, 0 = STR#/TEXT/styl 5000
  $"0000"
  // Multibyte language, 0 = no
  $"0000"
};

resource 'STR#' (5000, "English") {
  {
    // Language (unused?) = English
    "English",
    // Accept (Agree)
    "Accept",
    // Decline (Disagree)
    "Decline",
    // Print, ellipsis is 0xC9
    "PrintÉ",
    // Save As, ellipsis is 0xC9
    "Save AsÉ",
    // Descriptive text, curly quotes are 0xD2 and 0xD3
    "You are about to install Flock.\n"
    "\n"
    "Please read the license agreement.  If you agree to its terms and accept, click ÒAcceptÓ to access the software.  Otherwise, click ÒDeclineÓ to cancel."
  };
};

// Beware of 1024(?) byte (character?) line length limitation.  Split up long
// lines.
// If straight quotes are used ("), remember to escape them (\").
// Newline is \n, to leave a blank line, use two of them.
// 0xD2 and 0xD3 are curly double-quotes ("), 0xD4 and 0xD5 are curly
//   single quotes ('), 0xD5 is also the apostrophe.
data 'TEXT' (5000, "English") {
  "FLOCK BROWSER END-USER LICENSE AGREEMENT\n"
  "\n"
"The accompanying executable code version of the Flock browser and related documentation (ÒProductÓ) is made available under the terms of this End-User Software License Agreement (ÒAgreementÓ).  IF YOU CLICK ÒACCEPTÓ OR INSTALL OR USE THE PRODUCT, YOU CONSENT TO BE BOUND BY THIS AGREEMENT.  IF YOU DO NOT AGREE TO THE TERMS HEREIN, DO NOT CLICK ÒACCEPTÓ AND DO NOT INSTALL OR USE THIS PRODUCT.  Source code for parts of this Product is available for use, modification and distribution under open source licenses at www.flock.com. \n"
  "\n"
"Flock grants you a non-exclusive license to use the executable code version of the Product.  Flock and its licensors shall retain all intellectual property rights in the Product, except for the rights expressly granted in this Agreement.  You may not remove or alter any trademark, or logo (collectively, ÒMarksÓ), copyright or other proprietary notice on the Product.  This license does not grant you any right to use Marks of Flock or its licensors.  If you breach this Agreement, the above license and your right to use the Product will terminate immediately and without notice, but all other terms of this Agreement will survive termination and continue in effect.  Upon termination, you must destroy all copies of the Product. \n"  
  "\n"
"THIS PRODUCT IS PROVIDED ÒAS ISÓ AND WITHOUT WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY AND NON-INFRINGEMENT.  UNLESS REQUIRED BY LAW, FLOCK WILL NOT BE LIABLE FOR ANY INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE PRODUCT (INCLUDING BUT NOT LIMITED TO DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, LOSS OF DATA AND COMPUTER MALFUNCTION), WHETHER IN AN ACTION BASED IN CONTRACT, TORT OR OTHERWISE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  FLOCKÕS LIABILITY UNDER THIS AGREEMENT IS LIMITED TO THE GREATER OF THE FEES PAID BY YOU UNDER THIS LICENSE, AND US$100. \n"
  "\n"
"This Agreement contains the entire understanding between the parties with respect to the Product, and may only be amended in writing by authorized representatives of both parties.  You may not assign this Agreement or any rights or obligations hereunder without FlockÓs prior written consent.  You may not download, use or otherwise export the Product except in compliance with all applicable laws and regulations.  The Product is a Òcommercial itemÓ under 48 C.F.R. 2.101 and includes Òcommercial computer softwareÓ and Òcommercial computer software documentation,Ó per 48 C.F.R. ¤12.212 (Sept. 1995) and ¤227.7202 (June 1995).  \n"

"Consistent with these sections and 48 C.F.R. 27.405(b)(2) (June 1998), all government users acquire the Product with only the rights set forth herein.  This Agreement will be governed by the laws of California, excluding its conflict of law provisions.  Any dispute under this Agreement shall be decided exclusively by state or federal courts in Santa Clara County, California, and the parties consent to such jurisdiction and venue.  The United Nations Convention on Contracts for the International Sale of Goods shall not apply.  Failure to enforce any provision of this Agreement is not a waiver of future enforcement of that or any other provision.  \n"
};

data 'styl' (5000, "English") {
  // Number of styles following = 3
  $"0001"

  // Style 3.  This is used to display the body.
  // Start character = 151
  $"0000 0000"
  // Height = 16
  $"0010"
  // Ascent = 12
  $"000C"
  // Font family = 1024 (Lucida Grande)
  $"0400"
  // Style bitfield, 0x1=bold 0x2=italic 0x4=underline 0x8=outline
  // 0x10=shadow 0x20=condensed 0x40=extended
  $"00"
  // Style, unused?
  $"02"
  // Size = 12 point
  $"000C"
  // Color, RGB
  $"0000 0000 0000"
};
