<?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                           revision="1.0" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
  <displayName>1Start</displayName>
  <description>Settings for the 1Start replacement Start menu by 0101 Inc.</description>
  <resources>
    <stringTable>
      <string id="SUPPORTED_1Start">1Start 1.0 or later</string>
      <string id="Cat_0101">0101</string>
      <string id="Cat_OneStart">1Start</string>

      <string id="PolicyUrl">Remote policy file</string>
      <string id="PolicyUrl_Help">Points 1Start at a policy.json file that is re-read on a schedule: an https URL, or a UNC/local path. The file can set any 1Start setting for everyone, plus "rules" that target users, groups or computers. The last good copy is cached in %ProgramData%\0101\1Start so it still applies offline. Registry policy (this template) always wins over the policy file.

If not configured, 1Start looks for policy.json inside the network source folder, if one is set.</string>

      <string id="SourceFolder">Content source folder</string>
      <string id="SourceFolder_Help">Network folder (\\server\share\StartMenu) whose shortcuts, links and sub-folders become the menu. It is mirrored to the local folder (default %ProgramData%\0101\1Start\Content) so the menu works offline; only changed files are copied. Users see only the sub-folders their account can read.</string>

      <string id="Branding">Branding</string>
      <string id="Branding_Help">Organisation name and logo shown in the menu header, the accent colour (#RRGGBB), the heading above the section list (for example "Grades" or "Departments"), and the help-desk line shown to users who have no apps assigned. Leave any field blank to keep the default. The logo is a full path or a file name inside the content folder.</string>

      <string id="AllowWindowsStart">Allow the Windows Start menu</string>
      <string id="AllowWindowsStart_Help">Enabled: users can still reach the built-in Windows Start menu (Ctrl+Esc and a "Windows Start" link). Disabled: every Windows Start link is removed, Ctrl+Esc is swallowed, and the built-in menu is replaced by 1Start whenever it appears. Recommended: Disabled for student devices.</string>

      <string id="AllowPowerActions">Allow Sleep, Restart and Shut down</string>
      <string id="AllowPowerActions_Help">Disabled hides Sleep, Restart and Shut down from the power flyout and the Classic layout. Lock and Sign out are always available.</string>

      <string id="AllowOpenContentFolder">Allow "Open content folder"</string>
      <string id="AllowOpenContentFolder_Help">Disabled hides the "Open content folder" links, which open File Explorer at the menu's content folder. Recommended: Disabled for student devices.</string>

      <string id="AllowLayoutSwitch">Allow switching layouts</string>
      <string id="AllowLayoutSwitch_Help">Disabled pins the layout set by the Layout policy (or the local config) and hides the layout switcher.</string>

      <string id="ShowTrayIcon">Show the tray icon</string>
      <string id="ShowTrayIcon_Help">Disabled hides the notification-area icon. Only honoured when an admin code is set, so there is always a way into the settings (Ctrl+Shift+Alt+X).</string>

      <string id="SeedSampleContent">Create demo shortcuts when the content folder is empty</string>
      <string id="SeedSampleContent_Help">Enabled creates sample sections and links the first time the menu runs against an empty local folder. Disable for production devices.</string>

      <string id="ExitCodeSha256">Admin code (SHA-256)</string>
      <string id="ExitCodeSha256_Help">SHA-256 hex hash of the code required to exit 1Start or open its Settings area. Generate it with:
powershell -c "[BitConverter]::ToString([Security.Cryptography.SHA256]::HashData([Text.Encoding]::UTF8.GetBytes('1234'))).Replace('-','')"</string>

      <string id="Layout">Menu layout</string>
      <string id="Layout_Help">Sidebar: section rail on the left and app cards on the right (default). Modern: Windows 11 style tiles. Classic: Windows 7 style two-column list. Combine with "Allow switching layouts" Disabled to pin it.</string>
      <string id="Layout_Sidebar">Sidebar (sections and app cards)</string>
      <string id="Layout_Modern">Modern (Windows 11 style)</string>
      <string id="Layout_Classic">Classic (Windows 7 style)</string>

      <string id="Cat_Taskbar">Taskbar</string>
      <string id="AllowShutDown">Show Shut down in the menu</string>
      <string id="AllowRestart">Show Restart in the menu</string>
      <string id="AllowSleep">Show Sleep in the menu</string>
      <string id="AllowSignOut">Show Sign out in the menu</string>
      <string id="AllowLock">Show Lock in the menu</string>
      <string id="PowerItem_Help">Disabled removes this action from 1Start's power flyout (and the Classic layout's Shut down button). Shut down, Restart and Sleep are also hidden when "Allow Sleep, Restart and Shut down" is Disabled. To remove the same actions from Windows' own screens (Ctrl+Alt+Del, Alt+F4, Win+L), see "Hide Windows power options" and "Disable Lock workstation" under Taskbar.</string>

      <string id="TaskbarSearch">Taskbar search</string>
      <string id="TaskbarSearch_Help">How the search control appears on the taskbar. Applied live for the signed-in user; put back when 1Start exits cleanly.</string>
      <string id="TaskbarSearch_Hidden">Hidden</string>
      <string id="TaskbarSearch_Icon">Icon only</string>
      <string id="TaskbarSearch_Box">Search box</string>
      <string id="TaskbarSearch_Label">Icon and label</string>
      <string id="TaskbarAlignment">Taskbar alignment</string>
      <string id="TaskbarAlignment_Help">Left or centred taskbar buttons. 1Start positions its menu accordingly.</string>
      <string id="TaskbarAlignment_Left">Left</string>
      <string id="TaskbarAlignment_Center">Center</string>
      <string id="TaskbarTaskView">Show the Task View button</string>
      <string id="TaskbarWidgets">Show the Widgets button</string>
      <string id="TaskbarWidgets_Help">Enabled shows, Disabled hides the Widgets button. On Windows 11 24H2 the per-user value is protected, so 1Start also asks the 1Start Agent to set the machine-wide "Allow widgets" policy, which then applies to every user of the PC.</string>
      <string id="TaskbarCopilot">Show the Copilot button</string>
      <string id="TaskbarChat">Show the Chat (Teams) button</string>
      <string id="TaskbarAutoHide">Automatically hide the taskbar</string>
      <string id="TaskbarLocked">Lock the taskbar</string>
      <string id="TaskbarLive_Help">Applied live for the signed-in user through the same setting the Windows Settings app uses. Put back when 1Start exits cleanly (unless "Restore taskbar on exit" is off in the config). Not configured leaves the user's choice alone.</string>
      <string id="BlockedWinShortcuts">Blocked Win+key shortcuts</string>
      <string id="BlockedWinShortcuts_Help">Comma-separated keys that are swallowed while the Windows key is held, e.g. "R, E, X, I, S, Tab, A, N". Letters, digits, F1-F24, Tab, Space, Home, End, arrows, Pause and PrintScreen are understood. Shifted variants (Win+Shift+S) are blocked with the base key. Applies instantly through 1Start's keyboard hook.</string>
      <string id="TaskbarPins">Pinned taskbar apps</string>
      <string id="TaskbarPins_Help">Semicolon-separated list of .lnk or .exe paths, web addresses, or Store app IDs (containing "!"). Replaces the user's pins at the next sign-in through Windows' layout policy, applied by the 1Start Agent. "none" removes all pins. Not configured leaves pins alone.</string>

      <string id="HideClock">Hide the clock</string>
      <string id="HideNotificationArea">Hide the whole notification area</string>
      <string id="HideNetworkIcon">Hide the network icon</string>
      <string id="HideVolumeIcon">Hide the volume icon</string>
      <string id="HideBatteryIcon">Hide the battery icon</string>
      <string id="DisableTaskbarContextMenu">Disable the taskbar right-click menu</string>
      <string id="DisableTaskbarSettings">Disable the Taskbar settings page</string>
      <string id="DisableRunDialog">Disable the Run dialog (Win+R)</string>
      <string id="DisableTaskbarNotifications">Disable taskbar notifications</string>
      <string id="DisableLockWorkstation">Disable Lock workstation (Win+L, Ctrl+Alt+Del)</string>
      <string id="TaskbarAgent_Help">A standard Windows Explorer policy. Standard users cannot write these values themselves, so 1Start hands them to the "1Start Agent" scheduled task (installed by the 1Start installer, runs as SYSTEM) which writes them into the signed-in user's registry and, by default, restarts Explorer so they take effect at once. Without the agent they apply only when 1Start runs as an administrator, at the next sign-in.</string>
      <string id="HideWindowsPowerOptions">Hide Windows power options (NoClose)</string>
      <string id="HideWindowsPowerOptions_Help">Removes Shut down, Restart and Sleep from Windows' own Start menu, Ctrl+Alt+Del screen and the Alt+F4 dialog for this user. Pair with the "Show ... in the menu" policies above to decide what 1Start itself offers. Applied by the 1Start Agent.</string>
      <string id="RestartExplorerForPolicy">Restart Explorer when policy values change</string>
      <string id="RestartExplorerForPolicy_Help">Enabled (default): the agent restarts the user's Explorer after writing changed Windows policy values so the taskbar reflects them immediately. Disabled: they take effect at the next sign-in.</string>
    </stringTable>

    <presentationTable>
      <presentation id="PolicyUrl">
        <textBox refId="PolicyUrl_Text"><label>Policy file URL or path:</label></textBox>
        <decimalTextBox refId="PolicyRefreshMinutes_Dec" defaultValue="5">Re-read every (minutes):</decimalTextBox>
      </presentation>
      <presentation id="SourceFolder">
        <textBox refId="SourceFolder_Text"><label>Network source folder:</label></textBox>
        <textBox refId="RootFolder_Text"><label>Local folder (blank = %ProgramData%\0101\1Start\Content):</label></textBox>
        <decimalTextBox refId="SyncIntervalMinutes_Dec" defaultValue="10">Check for changes every (minutes):</decimalTextBox>
      </presentation>
      <presentation id="Branding">
        <textBox refId="OrganizationName_Text"><label>Organisation name:</label></textBox>
        <textBox refId="OrganizationLogo_Text"><label>Logo image path:</label></textBox>
        <textBox refId="AccentColor_Text"><label>Accent colour (#RRGGBB):</label></textBox>
        <textBox refId="SectionsLabel_Text"><label>Section list heading:</label></textBox>
        <textBox refId="SupportContact_Text"><label>Help-desk line:</label></textBox>
      </presentation>
      <presentation id="ExitCodeSha256">
        <textBox refId="ExitCodeSha256_Text"><label>SHA-256 of the admin code:</label></textBox>
      </presentation>
      <presentation id="Layout">
        <dropdownList refId="Layout_Enum" defaultItem="0">Layout:</dropdownList>
      </presentation>
      <presentation id="TaskbarSearch">
        <dropdownList refId="TaskbarSearch_Enum" defaultItem="0">Search control:</dropdownList>
      </presentation>
      <presentation id="TaskbarAlignment">
        <dropdownList refId="TaskbarAlignment_Enum" defaultItem="1">Alignment:</dropdownList>
      </presentation>
      <presentation id="BlockedWinShortcuts">
        <textBox refId="BlockedWinShortcuts_Text"><label>Keys (comma-separated), e.g. R, E, X, I, S, Tab:</label></textBox>
      </presentation>
      <presentation id="TaskbarPins">
        <textBox refId="TaskbarPins_Text"><label>Pins (semicolon-separated paths, URLs or app IDs; "none" = no pins):</label></textBox>
      </presentation>
    </presentationTable>
  </resources>
</policyDefinitionResources>
